modelTableData2DLoadDepSHC

Grey-box model for multipipe heat pumps

Extends from Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.PartialReversibleRefrigerantMachine (Model for reversible heat pumps and chillers with a refrigerant cycle).

Information

This is a model for simultaneous heating and cooling (SHC) air-to-water heat pumps (also referred to as 4-pipe polyvalent units or "Type A" in Eurovent, 2025), where the capacity and power are interpolated from manufacturer data along the source and sink temperature and the part load ratio (PLR).1

All kinds of capacity-modulation processes are supported, such as VFD-driven compressors, multiple on-off compressors, and single compressor cycling.

The model supports modeling both modular (nUni > 1) and single-unit (nUni = 1) systems. When modeling modular systems, the staging logic for multiple modules is included, but the HW and CHW isolation valves are not. However, the model includes the calculation of the flow characteristic of an equivalent actuator model to simplify the modeling of isolation valves. The model also provides control variables for these valves, or for primary pumps that are not controlled based on Δp. See Section "Implementation details" for further explanations.

The model includes ideal controls that solve for the HW or CHW supply or return temperature setpoint within the capacity limit. The Boolean parameter use_TLoaLvgForCtl is used for toggling between supply or return temperature control. The default setting use_TLoaLvgForCtl = true corresponds to supply temperature control.

For a comprehensive description of the algorithm and underlying assumptions, please refer to the documentation of Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.TableData2DLoadDepSHC. This documentation also explains the required format for the performance data file.

Footnotes

1 The part load ratio is used as a proxy variable for the actual capacity modulation observable. A discrete observable such as the number of operating compressors for systems with multiple on/off compressors is converted into a continuous PLR value and the model only approximates the system performance on a time average.

Control signals

The following input signals are available.

  • Heating on/off command: onHea (Boolean, scalar)
  • Cooling on/off command: onCoo (Boolean, scalar)
  • HW temperature setpoint: THwSet (real, scalar)
    This is either the supply or return temperature setpoint depending on the value of use_TLoaLvgForCtl.
  • CHW temperature setpoint: TChwSet (real, scalar)
    This is either the supply or return temperature setpoint depending on the value of use_TLoaLvgForCtl.

The following output signals are available.

  • HW isolation valve commanded position: yValHwIso (real, scalar)
    This is a real scalar signal (not a Boolean vector) that is provided to control a single instance of Buildings.Fluid.Actuators.Valves.TwoWayPolynomial as an equivalent for the modules' HW isolation valves, see Section "Implementation details".
  • CHW isolation valve commanded position: yValChwIso (real, scalar)
    This is a real scalar signal (not a Boolean vector) that is provided to control a single instance of Buildings.Fluid.Actuators.Valves.TwoWayPolynomial as an equivalent for the modules' CHW isolation valves, see Section "Implementation details".
  • HW isolation valve or primary pump command: y1HwValIsoPumPri (Boolean, 1D-array of dimension nUni)
    This variable is provided to control a parallel arrangement of either HW isolation valves (two-position) or primary pumps, see Section "Implementation details".
  • CHW isolation valve or primary pump command: y1ChwValIsoPumPri (Boolean, 1D-array of dimension nUni)
    This variable is provided to control a parallel arrangement of either CHW isolation valves (two-position) or primary pumps, see Section "Implementation details".

Implementation details

Modular systems are typically installed with HW and CHW isolation valves for each module. The model does not include these valves. Furthermore, the model aggregates all modules into an equivalent heating or cooling system. For integration into a plant model, the recommended approach consists of using a single instance of Buildings.Fluid.Actuators.Valves.TwoWayPolynomial to represent the parallel network of HW isolation valves in series with the modules' condenser barrels, and another instance to represent the parallel network of CHW isolation valves in series with the modules' evaporator barrels. The heat pump model must then be configured with use_preDro = false to inhibit the heat exchanger pressure drop calculation.

The actuator model can be parameterized with the flow characteristic chaValHwIso (resp. chaValChwIso) which is calculated by the current model to ensure that a fractional opening of 1 / i results in a mass flow rate of mCon_flow_nominal / i (resp. mEva_flow_nominal / i) when the model is subjected to a differential pressure of dpHw_nominal on the HW side (resp. dpChw_nominal on the CHW side). The flow characteristic is calculated under the assumption that the heat pump heat exchanger flow resistance is lumped with the actuator flow resistance, which yields the following expression for the characteristic:

φ(y) = (y2 * dpValIso_nominal / (dpValIso_nominal + dp<Hw|Chw>_nominal * (1 - y2)))1/2,

where y = 1 / i is the fractional opening of the equivalent actuator when a number of i modules are enabled on the HW or CHW side, and dpValIso_nominal is the isolation valve pressure drop at design flow.

Note that at least one HW isolation valve (resp. CHW isolation valve) must be open when the heat pump is in SHC or heating-only mode (resp. SHC or cooling-only mode), irrespective of any modules being staged on. This is a requirement for proper load calculation in the staging logic. This requirement is taken into account in the calculation of the control variables for the equivalent actuator yValHwIso and yValChwIso.

This approach is illustrated in the example models Buildings.Fluid.HeatPumps.ModularReversible.Examples.TableData2DLoadDepSHC1Only and Buildings.Fluid.HeatPumps.ModularReversible.Examples.TableData2DLoadDepSHC1And2 that showcase the use of this heat pump model in conjunction with equivalent actuator models in a primary-only and constant primary-secondary plant model.

Alternatively, the model also provides the Boolean array connectors y1HwValIsoPumPri[nUni] and y1ChwValIsoPumPri[nUni] that can be used to control an explicit parallel arrangement of isolation valves or primary pumps. These variables use the same requirement as above and their first element is true based on the system operating mode command, irrespective of any modules being staged on.

References

Parameters

TypeNameDefaultDescription
Booleanuse_rev (from PartialReversibleRefrigerantMachine)true=true if the chiller or heat pump is reversible
Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Data.Wuellhorst2021safCtrPar (from PartialReversibleRefrigerantMachine)
Modelica.Units.SI.DensityrhoCon (from PartialReversibleRefrigerantMachine)MediumCon.density(staCon_nominal)Condenser medium density
Modelica.Units.SI.SpecificHeatCapacitycpCon (from PartialReversibleRefrigerantMachine)MediumCon.specificHeatCapacityCp(staCon_nominal)Condenser medium specific heat capacity
Modelica.Units.SI.DensityrhoEva (from PartialReversibleRefrigerantMachine)MediumEva.density(staEva_nominal)Evaporator medium density
Modelica.Units.SI.SpecificHeatCapacitycpEva (from PartialReversibleRefrigerantMachine)MediumEva.specificHeatCapacityCp(staEva_nominal)Evaporator medium specific heat capacity
Buildings.Fluid.HeatPumps.ModularReversible.Types.HeatPumptypBuildings.Fluid.HeatPumps.ModularReversible.Types.HeatPump.AirToWaterSystem type
IntegernUni1Number of modules
Booleanuse_TLoaLvgForCtltrueSet to true for leaving temperature control, false for entering temperature control
Booleanuse_preDrotrueSet to true to model HW/CHW pressure drop, false for external calculation by valve component
Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDepSHC.Genericdat
Modelica.Units.SI.PowerP_min0Remaining power when system is enabled with all compressors cycled off
RealscaFacHearefCyc.refCycHeaPumHea.calQUseP.scaFacHeaScaling factor for interpolated heat flow rate and power - Heating mode
RealscaFacCoorefCyc.refCycHeaPumHea.calQUseP.scaFacCooScaling factor for interpolated heat flow rate and power - Cooling mode
Assumptions
BooleanallowFlowReversal1 (from PartialFourPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal for medium 1
BooleanallowFlowReversal2 (from PartialFourPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal for medium 2
BooleanallowFlowReversalAmbtrue= false to simplify equations, assuming, but not enforcing, no flow reversal for ambient-side medium
Nominal condition
Modelica.Units.SI.MassFlowRatem1_flow_nominal (from PartialFourPortInterface)Nominal mass flow rate
Modelica.Units.SI.MassFlowRatem2_flow_nominal (from PartialFourPortInterface)Nominal mass flow rate
Modelica.Units.SI.HeatFlowRatePEle_nominal (from PartialReversibleRefrigerantMachine)Nominal electrical power consumption
Modelica.Units.SI.PressureDifferencedpHw_nominaldat.dpCon_nominal*scaFacHea^2HW pressure drop - Only modeled in component if use_preDro=true
Modelica.Units.SI.PressureDifferencedpChw_nominaldat.dpEva_nominal*scaFacCoo^2CHW pressure drop - Only modeled in component if use_preDro=true
Modelica.Units.SI.HeatFlowRateQHea_flow_nominalHeating heat flow rate - All modules
Modelica.Units.SI.TemperatureTConHea_nominalHW temperature: leaving if dat.use_TConOutForTab=true, entering otherwise
Modelica.Units.SI.TemperatureTEvaHea_nominalEvaporator heating fluid temperature: leaving if dat.use_TAmbOutForTab=true, entering otherwise
Advanced
Medium1.MassFlowRatem1_flow_small (from PartialFourPortInterface)1E-4*abs(m1_flow_nominal)Small mass flow rate for regularization of zero flow
Medium2.MassFlowRatem2_flow_small (from PartialFourPortInterface)1E-4*abs(m2_flow_nominal)Small mass flow rate for regularization of zero flow
BooleanallowDifferentDeviceIdentifiers (from PartialReversibleRefrigerantMachine)falseif use_rev=true, device data for cooling and heating need to entered. Set allowDifferentDeviceIdentifiers=true to allow different device identifiers devIde
BooleancalEff (from PartialReversibleRefrigerantMachine)true=false to disable efficiency calculation, may speed up the simulation
ReallimWarSca (from PartialReversibleRefrigerantMachine)0.05Allowed difference in scaling '|scaFacHea - scaFacCoo| / scaFacHea', if exceeded, a warning will be issued
RealdpValIso_nominalBuildings.Templates.Data.Defaults.dpValIsoHW/CHW isolation valve pressure drop at nominal flow rate
Buildings.Fluid.Actuators.Valves.Data.GenericchaValHwIsoBuildings.Fluid.Actuators.Valves.Data.Generic(y = {i/nUni for i in 0:nUni}, phi = {sqrt((i/nUni)^2*dpValIso_nominal/(dpValIso_nominal + dpHw_nominal*(1 - (i/nUni)^2))) for i in 0:nUni})Equivalent HW isolation valve flow characteristic
Buildings.Fluid.Actuators.Valves.Data.GenericchaValChwIsoBuildings.Fluid.Actuators.Valves.Data.Generic(y = {i/nUni for i in 0:nUni}, phi = {sqrt((i/nUni)^2*dpValIso_nominal/(dpValIso_nominal + dpChw_nominal*(1 - (i/nUni)^2))) for i in 0:nUni})Equivalent CHW isolation valve flow characteristic
Advanced › Diagnostics
Booleanshow_T (from PartialFourPortInterface)false= true, if actual temperature at port is computed
RealySet_small (from PartialReversibleRefrigerantMachine)0.01Threshold for relative speed for the device to be considered on
Safety control
Booleanuse_intSafCtr (from PartialReversibleRefrigerantMachine)true=true to enable internal safety control
Condenser › Dynamics
Modelica.Units.SI.TimetauCon (from PartialReversibleRefrigerantMachine)30Condenser heat transfer time constant at nominal flow
Nominal condition - Pressure losses
Modelica.Units.SI.TemperatureDifferencedTCon_nominal (from PartialReversibleRefrigerantMachine)Nominal temperature difference in condenser medium, used to calculate mass flow rate
Modelica.Units.SI.MassFlowRatemCon_flow_nominal (from PartialReversibleRefrigerantMachine)Nominal mass flow rate of the condenser medium
Modelica.Units.SI.PressureDifferencedpCon_nominal (from PartialReversibleRefrigerantMachine)Pressure drop at nominal mass flow rate
Modelica.Units.SI.TemperatureDifferencedTEva_nominal (from PartialReversibleRefrigerantMachine)Nominal temperature difference in evaporator medium, used to calculate mass flow rate
Modelica.Units.SI.MassFlowRatemEva_flow_nominal (from PartialReversibleRefrigerantMachine)Nominal mass flow rate of the evaporator medium
Modelica.Units.SI.PressureDifferencedpEva_nominal (from PartialReversibleRefrigerantMachine)Pressure drop at nominal mass flow rate
Condenser › Flow resistance
RealdeltaMCon (from PartialReversibleRefrigerantMachine)0.1Fraction of nominal mass flow rate where transition to turbulent occurs
RealnCon (from PartialReversibleRefrigerantMachine)2Flow exponent, n=1 for laminar, n=2 for turbulent
Condenser › Heat Losses
Booleanuse_conCap (from PartialReversibleRefrigerantMachine)true=true if using capacitor model for condenser heat loss estimation
Modelica.Units.SI.HeatCapacityCCon (from PartialReversibleRefrigerantMachine)0Heat capacity of the condenser
Modelica.Units.SI.ThermalConductanceGConOut (from PartialReversibleRefrigerantMachine)0Outer thermal conductance for condenser heat loss calculations
Modelica.Units.SI.ThermalConductanceGConIns (from PartialReversibleRefrigerantMachine)0Inner thermal conductance for condenser heat loss calculations
Evaporator › Dynamics
Modelica.Units.SI.TimetauEva (from PartialReversibleRefrigerantMachine)30Evaporator heat transfer time constant at nominal flow
Evaporator › Flow resistance
RealdeltaMEva (from PartialReversibleRefrigerantMachine)0.1Fraction of nominal mass flow rate where transition to turbulent occurs
RealnEva (from PartialReversibleRefrigerantMachine)2Flow exponent, n=1 for laminar, n=2 for turbulent
Evaporator › Heat Losses
Booleanuse_evaCap (from PartialReversibleRefrigerantMachine)true=true if using capacitor model for evaporator heat loss estimation
Modelica.Units.SI.HeatCapacityCEva (from PartialReversibleRefrigerantMachine)0Heat capacity of the evaporator
Modelica.Units.SI.ThermalConductanceGEvaOut (from PartialReversibleRefrigerantMachine)0Outer thermal conductance for evaporator heat loss calculations
Modelica.Units.SI.ThermalConductanceGEvaIns (from PartialReversibleRefrigerantMachine)0Inner thermal conductance for evaporator heat loss calculations
Assumptions › Evaporator
BooleanallowFlowReversalEva (from PartialReversibleRefrigerantMachine)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Assumptions › Condenser
BooleanallowFlowReversalCon (from PartialReversibleRefrigerantMachine)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Initialization › Parameters
Modelica.Blocks.Types.InitinitType (from PartialReversibleRefrigerantMachine)Modelica.Blocks.Types.Init.InitialStateType of initialization for refrigerant cycle dynamics (InitialState and InitialOutput are identical)
Initialization › Condenser
Modelica.Media.Interfaces.Types.AbsolutePressurepCon_start (from PartialReversibleRefrigerantMachine)MediumCon.p_defaultStart value of pressure
Modelica.Media.Interfaces.Types.TemperatureTCon_start (from PartialReversibleRefrigerantMachine)MediumCon.T_defaultStart value of temperature
Modelica.Units.SI.TemperatureTConCap_start (from PartialReversibleRefrigerantMachine)MediumCon.T_defaultInitial temperature of heat capacity of condenser
Modelica.Media.Interfaces.Types.MassFraction[MediumCon.nX]XCon_start (from PartialReversibleRefrigerantMachine)MediumCon.X_defaultStart value of mass fractions m_i/m
Initialization › Evaporator
Modelica.Media.Interfaces.Types.AbsolutePressurepEva_start (from PartialReversibleRefrigerantMachine)MediumEva.p_defaultStart value of pressure
Modelica.Media.Interfaces.Types.TemperatureTEva_start (from PartialReversibleRefrigerantMachine)MediumEva.T_defaultStart value of temperature
Modelica.Units.SI.TemperatureTEvaCap_start (from PartialReversibleRefrigerantMachine)MediumEva.T_defaultInitial temperature of heat capacity at evaporator
Modelica.Media.Interfaces.Types.MassFraction[MediumEva.nX]XEva_start (from PartialReversibleRefrigerantMachine)MediumEva.X_defaultStart value of mass fractions m_i/m
Dynamics › Equation
Modelica.Fluid.Types.DynamicsenergyDynamics (from PartialReversibleRefrigerantMachine)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state (only affects fluid-models)
Advanced › Flow resistance
Booleanfrom_dp (from PartialReversibleRefrigerantMachine)false= true, use m_flow = f(dp) else dp = f(m_flow)
Booleanlinearized (from PartialReversibleRefrigerantMachine)false= true, use linear relation between m_flow and dp for any flow rate
Nominal condition - Cooling
Modelica.Units.SI.HeatFlowRateQCoo_flow_nominalCooling heat flow rate - All modules
Modelica.Units.SI.TemperatureTConCoo_nominalCHW temperature: leaving if dat.use_TEvaOutForTab=true, entering otherwise
Modelica.Units.SI.TemperatureTEvaCoo_nominalCondenser cooling fluid temperature: leaving if dat.use_TAmbOutForTab=true, entering otherwise
Nominal condition - SHC
Modelica.Units.SI.HeatFlowRateQHeaShc_flow_nominalHeating heat flow rate - All modules
Modelica.Units.SI.HeatFlowRateQCooShc_flow_nominalCooling heat flow rate - All modules
Advanced › Staging logic
RealdtRun300Minimum stage runtime
RealdtMea120Load averaging time window
RealSPLR0.9Staging part load ratio
Advanced › Safeties
Modelica.Units.SI.TemperatureDifferencedTSaf2Maximum temperature deviation from setpoint before limiting demand for safety (>0)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a1 (from PartialFourPort)Fluid connector a1 (positive design flow direction is from port_a1 to port_b1)
Modelica.Fluid.Interfaces.FluidPort_bport_b1 (from PartialFourPort)Fluid connector b1 (positive design flow direction is from port_a1 to port_b1)
Modelica.Fluid.Interfaces.FluidPort_aport_a2 (from PartialFourPort)Fluid connector a2 (positive design flow direction is from port_a2 to port_b2)
Modelica.Fluid.Interfaces.FluidPort_bport_b2 (from PartialFourPort)Fluid connector b2 (positive design flow direction is from port_a2 to port_b2)
Modelica.Blocks.Interfaces.RealInputySet (from PartialReversibleRefrigerantMachine)Relative compressor speed between 0 and 1
Modelica.Blocks.Interfaces.RealInputTEvaAmb (from PartialReversibleRefrigerantMachine)Ambient temperature on the evaporator side
Modelica.Blocks.Interfaces.RealInputTConAmb (from PartialReversibleRefrigerantMachine)Ambient temperature on the condenser side
Modelica.Blocks.Interfaces.RealOutputQCon_flow (from PartialReversibleRefrigerantMachine)Actual heating heat flow rate added to fluid 1
Modelica.Blocks.Interfaces.RealOutputP (from PartialReversibleRefrigerantMachine)Electric power consumed by compressor
Modelica.Blocks.Interfaces.RealOutputQEva_flow (from PartialReversibleRefrigerantMachine)Actual cooling heat flow rate removed from fluid 2
Modelica.Blocks.Interfaces.RealOutputEER (from PartialReversibleRefrigerantMachine)Energy efficieny ratio
Modelica.Blocks.Interfaces.RealOutputCOP (from PartialReversibleRefrigerantMachine)Coefficient of performance
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputonHeaHeating on/off command
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHwSetHW temperature setpoint - Supply or return depending on use_TLoaLvgForCtl
Buildings.Controls.OBC.CDL.Interfaces.RealInputTChwSetCHW temperature setpoint - Supply or return depending on use_TLoaLvgForCtl
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputonCooCooling on/off command
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputnUniHeaNumber of modules in heating mode
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputnUniCooNumber of modules in cooling mode
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputnUniShcNumber of modules in SHC mode (may be cycling into single mode)
Modelica.Blocks.Interfaces.RealOutputyValHwIsoEquivalent HW isolation valve command
Modelica.Blocks.Interfaces.RealOutputyValChwIsoEquivalent CHW isolation valve command
Modelica.Blocks.Interfaces.BooleanOutput[nUni]y1HwValIsoPumPriHW isolation valve or primary pump command
Modelica.Blocks.Interfaces.BooleanOutput[nUni]y1ChwValIsoPumPriCHW isolation valve or primary pump command
BoundaryConditions.WeatherData.BusweaBusWeather bus

Components

TypeNameDefaultDescription
Medium1.MassFlowRatem1_flow (from PartialFourPortInterface)port_a1.m_flowMass flow rate from port_a1 to port_b1 (m1_flow > 0 is design flow direction)
Modelica.Units.SI.PressureDifferencedp1 (from PartialFourPortInterface)port_a1.p - port_b1.pPressure difference between port_a1 and port_b1
Medium2.MassFlowRatem2_flow (from PartialFourPortInterface)port_a2.m_flowMass flow rate from port_a2 to port_b2 (m2_flow > 0 is design flow direction)
Modelica.Units.SI.PressureDifferencedp2 (from PartialFourPortInterface)port_a2.p - port_b2.pPressure difference between port_a2 and port_b2
Medium1.ThermodynamicStatesta_a1 (from PartialFourPortInterface)if allowFlowReversal1 then Medium1.setState_phX(port_a1.p, noEvent(actualStream(port_a1.h_outflow)), noEvent(actualStream(port_a1.Xi_outflow))) else Medium1.setState_phX(port_a1.p, inStream(port_a1.h_outflow), inStream(port_a1.Xi_outflow))Medium properties in port_a1
Medium1.ThermodynamicStatesta_b1 (from PartialFourPortInterface)if allowFlowReversal1 then Medium1.setState_phX(port_b1.p, noEvent(actualStream(port_b1.h_outflow)), noEvent(actualStream(port_b1.Xi_outflow))) else Medium1.setState_phX(port_b1.p, port_b1.h_outflow, port_b1.Xi_outflow)Medium properties in port_b1
Medium2.ThermodynamicStatesta_a2 (from PartialFourPortInterface)if allowFlowReversal2 then Medium2.setState_phX(port_a2.p, noEvent(actualStream(port_a2.h_outflow)), noEvent(actualStream(port_a2.Xi_outflow))) else Medium2.setState_phX(port_a2.p, inStream(port_a2.h_outflow), inStream(port_a2.Xi_outflow))Medium properties in port_a2
Medium2.ThermodynamicStatesta_b2 (from PartialFourPortInterface)if allowFlowReversal2 then Medium2.setState_phX(port_b2.p, noEvent(actualStream(port_b2.h_outflow)), noEvent(actualStream(port_b2.Xi_outflow))) else Medium2.setState_phX(port_b2.p, port_b2.h_outflow, port_b2.Xi_outflow)Medium properties in port_b2
PartialModularRefrigerantCyclerefCyc (from PartialReversibleRefrigerantMachine)
Modelica.Units.SI.HeatFlowRateQ1_flow (from PartialReversibleRefrigerantMachine)QCon_flowHeat transferred into the medium 1
Modelica.Units.SI.HeatFlowRateQ2_flow (from PartialReversibleRefrigerantMachine)QEva_flowHeat transferred into the medium 2
Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.EvaporatorCondenserWithCapacitycon (from PartialReversibleRefrigerantMachine)Heat exchanger model for the condenser
Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.EvaporatorCondenserWithCapacityeva (from PartialReversibleRefrigerantMachine)Heat exchanger model for the evaporator
Buildings.HeatTransfer.Sources.PrescribedTemperaturevarTOutEva (from PartialReversibleRefrigerantMachine)Forces heat losses according to ambient temperature
Buildings.HeatTransfer.Sources.PrescribedTemperaturevarTOutCon (from PartialReversibleRefrigerantMachine)Forces heat losses according to ambient temperature
Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.SafetysafCtr (from PartialReversibleRefrigerantMachine)Safety control models
Buildings.Fluid.Sensors.MassFlowRatemEva_flow (from PartialReversibleRefrigerantMachine)Mass flow sensor at the evaporator
Buildings.Fluid.Sensors.MassFlowRatemCon_flow (from PartialReversibleRefrigerantMachine)Mass flow sensor at the condenser
RefrigerantCycleInertiarefCycIneCon (from PartialReversibleRefrigerantMachine)Inertia model for condenser side
RefrigerantCycleInertiarefCycIneEva (from PartialReversibleRefrigerantMachine)Inertia model for evaporator side
Modelica.Blocks.Sources.RealExpressionsenTConIn (from PartialReversibleRefrigerantMachine)Real expression for condenser inlet temperature
Modelica.Blocks.Sources.RealExpressionsenTEvaIn (from PartialReversibleRefrigerantMachine)Real expression for evaporator inlet temperature
Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.CalculateEfficiencyeff (from PartialReversibleRefrigerantMachine)Calculate efficiencies of device
Templates.Plants.Controls.Utilities.PlaceholderRealTAmbInAmbient-side fluid inlet temperature
Modelica.Blocks.Sources.BooleanConstantconHeaPlaceholder signal
Modelica.Blocks.Sources.RealExpressioncalYValHwIsoCalculate equivalent HW isolation valve command
Modelica.Blocks.Sources.RealExpressioncalYValChwIsoCalculate equivalent CHW isolation valve command
Modelica.Blocks.Sources.BooleanExpression[nUni]calY1ValHwIsoCalculate HW isolation valve command
Modelica.Blocks.Sources.BooleanExpression[nUni]calY1ValChwIsoCalculate CHW isolation valve command

Contents

NameDescription
RefrigerantCycleHeatPumpHeatingRefrigerant cycle module for the heating mode
RefrigerantCycleHeatPumpCoolingRefrigerant cycle module for the cooling mode

Revisions

  • March 23, 2026, by Antoine Gautier:
    Refactored with two separate connectors for heating and cooling on/off commands.
    This is for #4507.
  • July 1, 2025, by Antoine Gautier:
    First implementation.