blockCtrRegBasic
Controller for heating and cooling registers
Information
Simple controller for heating and cooling registers. The controlled variable is the air outflow temperature T_air_out. The pump (if existing in hydraulic circuit) operates at constant frequency and is always on.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useExternalTset | false | If True, set temperature can be given externally |
| Boolean | useExternalTMea | false | If True, measured temperature can be given externally |
| Modelica.Units.SI.Temperature | TflowSet | 293.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 |
| Real | rpm_pump | 2000 | Rpm of the Pump |
| Boolean | reverseAction | true | Set to true if a heating coil, and false if a cooling coil is controlled |
| 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 | PID controller for valve opening | |
| Modelica.Blocks.Sources.Constant | constRpmPump | Constant pump speed | |
| Modelica.Blocks.Sources.Constant | constTflowSet | Constant internal flow temperature setoint, if not external | |
| Modelica.Blocks.Sources.BooleanConstant | booleanConstant | Pump is always on | |
| BaseClasses.RegisterBus | registerBus | Connector bus for register module | |
| Modelica.Blocks.Interfaces.RealInput | TMea | Connector of second Real input signal |
Revisions
- August 1, 2019, by Alexander Kümpel:
Improvement. - October 18, 2018, by Alexander Kümpel:
First implementation.