diff --git a/IBPSA/Fluid/HeatPumps/ModularReversible/Controls/Safety/Data/Generic.mo b/IBPSA/Fluid/HeatPumps/ModularReversible/Controls/Safety/Data/Generic.mo index 15df85ee00..66fbcc164d 100644 --- a/IBPSA/Fluid/HeatPumps/ModularReversible/Controls/Safety/Data/Generic.mo +++ b/IBPSA/Fluid/HeatPumps/ModularReversible/Controls/Safety/Data/Generic.mo @@ -7,6 +7,11 @@ record Generic "Generic record definition for safety control blocks" parameter Modelica.Units.SI.Time minOnTime "Mimimum on-time" annotation (Dialog(group= "On/Off Control", enable=use_minOnTime)); + parameter Real ySetRed(unit="1") + "Reduced relative compressor speed to allow longer on-time" + annotation ( + Dialog(group="On/Off Control", + enable=use_minOnTime)); parameter Boolean use_minOffTime "=false to ignore minimum off time" annotation (Dialog(group="On/Off Control"), @@ -21,11 +26,7 @@ record Generic "Generic record definition for safety control blocks" parameter Integer maxCycRat "Maximum cycle rate" annotation (Dialog(group="On/Off Control", enable=use_maxCycRat)); - parameter Real ySetRed(unit="1") - "Reduced relative compressor speed to allow longer on-time" - annotation ( - Dialog(group="On/Off Control", - enable=use_minOnTime)); + parameter Boolean onOffMea_start=true "Start value for the on-off signal of the device, true for on" annotation ( diff --git a/IBPSA/Fluid/HeatPumps/ModularReversible/Examples/AirToWater2D_OneRoomRadiator.mo b/IBPSA/Fluid/HeatPumps/ModularReversible/Examples/AirToWater2D_OneRoomRadiator.mo index a03b6a0674..7ee93245fd 100644 --- a/IBPSA/Fluid/HeatPumps/ModularReversible/Examples/AirToWater2D_OneRoomRadiator.mo +++ b/IBPSA/Fluid/HeatPumps/ModularReversible/Examples/AirToWater2D_OneRoomRadiator.mo @@ -7,9 +7,12 @@ model AirToWater2D_OneRoomRadiator mCon_flow_nominal=heaPum.mCon_flow_nominal, sin(nPorts=1, redeclare package Medium = MediumAir), booToReaPumEva(realTrue=heaPum.mEva_flow_nominal), - pumHeaPumSou(redeclare package Medium = MediumAir), + pumHeaPumSou( + dp_nominal=heaPum.dpEva_nominal, + redeclare package Medium = MediumAir), sou(use_T_in=true, - redeclare package Medium = MediumAir)); + redeclare package Medium = MediumAir), + pumHeaPum(dp_nominal=heaPum.dpCon_nominal)); IBPSA.Fluid.HeatPumps.ModularReversible.AirToWaterTableData2D heaPum( @@ -21,7 +24,6 @@ model AirToWater2D_OneRoomRadiator dpCon_nominal(displayUnit="Pa") = 2000, dpEva_nominal(displayUnit="Pa") = 200, energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, - QCoo_flow_nominal=-20000, TConHea_nominal=rad.TRad_nominal, TEvaHea_nominal=283.15, TConCoo_nominal=oneRooRadHeaPumCtr.TRadMinSup, @@ -35,7 +37,8 @@ model AirToWater2D_OneRoomRadiator redeclare IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Data.Wuellhorst2021 safCtrPar( - use_minOnTime=false, + use_minOnTime=true, + minOnTime=300, use_minOffTime=true, minOffTime=300, use_maxCycRat=true)) "Reversible heat pump based on 2D table data" @@ -95,6 +98,11 @@ equation

", revisions=" ")); end Acknowledgements;