modelOneRoomRadiatorHeatPumpControl
Helper model for the control of the system
Information
Helper control model for the example Buildings.Fluid.HeatPumps.ModularReversible.Examples.BaseClasses.PartialOneRoomRadiator The control enables a PI control of the heat pumps compressor speed for both heating and cooling. Depending on a hysteresis, the heating or cooling mode is selected. If the radiator supply temperature drops below a critical value, the heat pump will turn to heating mode. This prohibits possible freezing or water condensation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | witCoo | true | =true to simulate cooling behaviour |
| Modelica.Units.SI.Temperature | TRooSetHea | 293.15 | Room set temperature for heating |
| Modelica.Units.SI.Temperature | TRooSetCoo | 296.15 | Room set temperature for cooling |
| Modelica.Units.SI.Temperature | TRadMinSup | 290.15 | Minimal radiator supply temperature to avoid condensation effects |
| Modelica.Units.SI.TemperatureDifference | dTHysRoo | 2 | Temperature hysteresis for room control |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | TRooMea | Room measurement temperature | |
| Modelica.Blocks.Interfaces.RealInput | TRadSup | Radiator supply temperature | |
| Modelica.Blocks.Interfaces.RealOutput | ySet | Heat pump set speed | |
| Modelica.Blocks.Interfaces.BooleanOutput | hea | Heat pump in normal mode |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Hysteresis | hysHea | Hysteresis controller for heating | |
| Modelica.Blocks.Logical.Hysteresis | hysCoo | Hysteresis controller for cooling | |
| Modelica.Blocks.Sources.BooleanConstant | conFal | No cooling if witCoo=false | |
| Modelica.Blocks.Logical.Not | heaIsOn | If lower than hysteresis, heating demand | |
| Modelica.Blocks.Logical.Switch | swiHeaCooYSet | Switch ySet for heating and cooling | |
| Modelica.Blocks.Continuous.LimPID | PIDCoo | PI control for cooling, inverse | |
| Modelica.Blocks.Continuous.LimPID | PIDHea | PI control for heating | |
| Modelica.Blocks.Sources.Constant | constTSetRooHea | Room set point temperature for heating | |
| Modelica.Blocks.Sources.Constant | constTSetRooCoo | Room set point temperature for cooling | |
| Modelica.Blocks.Sources.Constant | constYSetZer | ySet equals zero | |
| Modelica.Blocks.Logical.Switch | swiYSet | If no demand, switch heat pump off | |
| Modelica.Blocks.Logical.Switch | swiSecForCoo | If in cooling mode, heat pump can't operate below condensing temperature of 15 °C | |
| Modelica.Blocks.Logical.Hysteresis | hysSecCoo | Hysteresis for avoiding temperatures below 15 °C when cooling | |
| Modelica.Blocks.Sources.BooleanConstant | conTru | No cooling if witCoo=false, then no safety is necessary | |
| Modelica.Blocks.Logical.Or | heaOrCooIsOn | Heating or cooling is on | |
| Modelica.Blocks.Logical.Or | cooValOrHea | Cooling safety control is used only when the device is not heating | |
| Modelica.Blocks.Routing.BooleanPassThrough | booPasThrCoo | Used for reset of PID |
Revisions
-
July 15, 2024 by Fabian Wuellhorst:
Adjust hysteresis bandwidth (see issue IBPSA #1908) -
October 2, 2022 by Fabian Wuellhorst:
First implementation (see issue #1576)