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

TypeNameDefaultDescription
BooleanwitCootrue=true to simulate cooling behaviour
Modelica.Units.SI.TemperatureTRooSetHea293.15Room set temperature for heating
Modelica.Units.SI.TemperatureTRooSetCoo296.15Room set temperature for cooling
Modelica.Units.SI.TemperatureTRadMinSup290.15Minimal radiator supply temperature to avoid condensation effects
Modelica.Units.SI.TemperatureDifferencedTHysRoo2Temperature hysteresis for room control

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTRooMeaRoom measurement temperature
Modelica.Blocks.Interfaces.RealInputTRadSupRadiator supply temperature
Modelica.Blocks.Interfaces.RealOutputySetHeat pump set speed
Modelica.Blocks.Interfaces.BooleanOutputheaHeat pump in normal mode

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.HysteresishysHeaHysteresis controller for heating
Modelica.Blocks.Logical.HysteresishysCooHysteresis controller for cooling
Modelica.Blocks.Sources.BooleanConstantconFalNo cooling if witCoo=false
Modelica.Blocks.Logical.NotheaIsOnIf lower than hysteresis, heating demand
Modelica.Blocks.Logical.SwitchswiHeaCooYSetSwitch ySet for heating and cooling
Modelica.Blocks.Continuous.LimPIDPIDCooPI control for cooling, inverse
Modelica.Blocks.Continuous.LimPIDPIDHeaPI control for heating
Modelica.Blocks.Sources.ConstantconstTSetRooHeaRoom set point temperature for heating
Modelica.Blocks.Sources.ConstantconstTSetRooCooRoom set point temperature for cooling
Modelica.Blocks.Sources.ConstantconstYSetZerySet equals zero
Modelica.Blocks.Logical.SwitchswiYSetIf no demand, switch heat pump off
Modelica.Blocks.Logical.SwitchswiSecForCooIf in cooling mode, heat pump can't operate below condensing temperature of 15 °C
Modelica.Blocks.Logical.HysteresishysSecCooHysteresis for avoiding temperatures below 15 °C when cooling
Modelica.Blocks.Sources.BooleanConstantconTruNo cooling if witCoo=false, then no safety is necessary
Modelica.Blocks.Logical.OrheaOrCooIsOnHeating or cooling is on
Modelica.Blocks.Logical.OrcooValOrHeaCooling safety control is used only when the device is not heating
Modelica.Blocks.Routing.BooleanPassThroughbooPasThrCooUsed 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)