modelMixingUnit

Stirred tank reactor as controller plant with standard interfaces
Diagram of MixingUnit

Extends from Templates.Internal.PlantTemplate_SISO (SISO plant template).

Information

Model of idealized stirred tank reactor, see MixingUnit1 for more details. It is intended for replacement of a plant instance in general model of controller.

Parameters

TypeNameDefaultDescription
BooleanadditionalMeasurableOutputs (from PlantTemplate_SISO)trueEnable additional output vector of dimension l
Integerl (from PlantTemplate_SISO)1Number of measurable outputs
Realc00.848Nominal concentration
SI.TemperatureT0308.5Nominal temperature
Reala10.2674Matrix A: Coefficient of element [1,1]
Reala211.815Matrix A: Coefficient of element [2,1]
Reala220.4682Matrix A: Coefficient of element [2,2]
Realb1.5476Matrix B: Coefficient of element [2,1]
Realk01.05e14Constant k0 for gamma
Realeps34.2894Constant eps for gamma
Realx100.42Initial value of state x1 (related concentration of substance A in tank)
Realx10_inv0.6Initial value of state x1 of inverted model
Realx200.01Initial value of state x2 (related temperature in tank)
Realu0-0.021439Initial related temperature of cooling medium [-]
Realc_startc0*(1 - x10)Initial concentration of substance A in tank
Realc_inv_startc0*(1 - x10_inv)Initial concentration of substance A in tank
SI.TemperatureT_startT0*(1 + x20)Initial temperature in tank
SI.TemperatureT_c_startT0*(1 + u0)Initial temperature of cooling medium

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputy (from PlantTemplate_SISO)
Modelica.Blocks.Interfaces.RealInputu (from PlantTemplate_SISO)
Modelica.Blocks.Interfaces.RealOutput[l]ym (from PlantTemplate_SISO)

Components

TypeNameDefaultDescription
MixingUnit1mixingUnit