blockCtrMix
Controller for mixed and injection circuits
Information
Simple controller for admix and injection circuit. The controlled variable is the outflow temperature T_fwrd_out and controlled by a PID controller. The pump is always on and has a constant frequency.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useExternalTset | false | If True, set temperature can be given externally |
| Modelica.Units.SI.Temperature | TflowSet | 289.15 | Flow temperature set point of consumer |
| Real | k | 0.025 | Gain of controller |
| Modelica.Units.SI.Time | Ti | 130 | Time constant of Integrator block |
| Modelica.Units.SI.Time | Td | 4 | Time constant of Derivative block |
| Modelica.Units.NonSI.AngularVelocity_rpm | rpm_pump | 2000 | Rpm of the Pump |
| Boolean | reverseAction | true | Set to true if heating system, and false for cooling system |
| PID | |||
| Modelica.Blocks.Types.Init | initType | .Modelica.Blocks.Types.Init.InitialState | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Real | xi_start | 0 | Initial or guess value value for integrator output (= integrator state) |
| Real | xd_start | 0 | Initial or guess value for state of derivative block |
| Real | y_start | 0 | Initial value of output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | Tset | Connector of second Real input signal | |
| AixLib.Controls.Continuous.LimPID | PID | ||
| Modelica.Blocks.Sources.Constant | constRpmPump | ||
| Modelica.Blocks.Sources.Constant | constTflowSet | ||
| Modelica.Blocks.Sources.BooleanConstant | booleanConstant | ||
| BaseClasses.HydraulicBus | hydraulicBus |
Revisions
- January 22, 2019, by Alexander Kümpel:
External T_set added. - October 25, 2017, by Alexander Kümpel:
First implementation.