modelChillerHeatRecoveryGroup

Validation of heat recovery chiller group model

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model validates Buildings.DHC.Plants.Combined.Subsystems.ChillerHeatRecoveryGroup in a configuration with two HRCs.

Parameters

TypeNameDefaultDescription
IntegernChiHea2Number of HRCs operating at design conditions
CHW loop and cooling-only chillers
Fluid.Chillers.Data.ElectricReformulatedEIR.ReformEIRChiller_Carrier_19XR_1403kW_7_09COP_VSDdatChiller parameters (each unit)

Components

TypeNameDefaultDescription
Buildings.DHC.Plants.Combined.Subsystems.ChillerHeatRecoveryGroupchiChiller group
Fluid.Sources.Boundary_pTbouChiWatPressure boundary condition for CHW
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTabley1Chiller On/Off command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTabley1CooCooling mode switchover command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTabley1HeaCooDirect heat recovery switchover command
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nChiHea]TChiWatSetSupply temperature setpoint
Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[chi.nUni]booToReaConvert DO to AO
Fluid.Sensors.TemperatureTwoPortTHeaWatSupHW supply temperature
Fluid.Sensors.MassFlowRatefloHeaWatHW flow
Fluid.Sensors.MassFlowRatefloChiWatCHW flow
Fluid.Sensors.TemperatureTwoPortTChiWatSupCHW supply temperature
Buildings.Controls.OBC.CDL.Logical.Or[nChiHea]cooOrDirReturn true if cooling OR direct HR
Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[nChiHea]yValConSwiHRC condenser switchover valve commanded position
Buildings.Controls.OBC.CDL.Logical.Not[nChiHea]heaReturn true if heating
Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger[nChiHea]booToIntConvert
Buildings.Controls.OBC.CDL.Integers.MultiSumnumHeaNumber of HRC connected to HW loop
Buildings.Controls.OBC.CDL.Integers.Less[nChiHea]intLesReturn true if switchover valve to be open
Buildings.Controls.OBC.CDL.Integers.Sources.Constant[nChiHea]idxHRC index
Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicatorrepReplicate
Buildings.Controls.OBC.CDL.Logical.Or[nChiHea]mulReturn true if cooling OR direct HR
Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[nChiHea]yValEvaSwiHRC evaporator switchover valve commanded position
Buildings.Controls.OBC.CDL.Logical.Not[nChiHea]heaAndCasReturn true if cascading heating
Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger[nChiHea]booToInt1Convert
Buildings.Controls.OBC.CDL.Integers.MultiSumnumHeaAndCasNumber of HRC in cascading heating
Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicatorrep1Replicate
Buildings.Controls.OBC.CDL.Integers.Less[nChiHea]intLes1Return true if switchover valve to be open
Buildings.Controls.OBC.CDL.Logical.Or[nChiHea]mul1Return true if cooling OR direct HR
Buildings.Controls.OBC.CDL.Reals.Switch[nChiHea]TChiHeaSupSetSwitch supply temperature setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nChiHea]THeaWatSetSupply temperature setpoint
Buildings.DHC.Plants.Combined.Subsystems.MultiplePumpsSpeedpumChiWatCHW pumps
Buildings.Controls.OBC.CDL.Logical.MultiOry1PumConWatConStart pump if any HRC in cascading cooling
Buildings.DHC.Plants.Combined.Subsystems.MultiplePumpsSpeedpumHeaWatHW pumps
Buildings.Controls.OBC.CDL.Logical.And[nChiHea]onAndHeaReturn true if On and heating
Buildings.Controls.OBC.CDL.Logical.MultiOry1PumHeaWatStart pump if any HRC On and in heating
Buildings.DHC.Plants.Combined.Subsystems.MultiplePumpsSpeedpumConWatConCW pumps serving condenser barrels
Buildings.DHC.Plants.Combined.Subsystems.MultiplePumpsSpeedpumConWatEvaCW pumps serving evaporator barrels
Buildings.Controls.OBC.CDL.Integers.GreaterEqualThresholdy1PumConWatEvaReturn true if CW to be operating
Buildings.Controls.OBC.CDL.Logical.MultiOry1PumChiWatStart pump if any HRC in cooling or direct HR mode
Fluid.HeatExchangers.SensibleCooler_TdisHeaWatDistribution system approximated by prescribed temperature
Fluid.HeatExchangers.Heater_TdisConWatEvaDistribution system approximated by prescribed temperature
Fluid.HeatExchangers.SensibleCooler_TdisConWatConDistribution system approximated by prescribed temperature
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTHeaWatRetReturn temperature
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTConWatConSupSupply temperature
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTConWatEvaSupSupply temperature
Fluid.HeatExchangers.Heater_TdisChiWatDistribution system approximated by prescribed temperature
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTChiWatRetReturn temperature
Fluid.Sources.Boundary_pTbouHeaWatPressure boundary condition for HW

Contents

NameDescription
Medium

Revisions

  • March 31, 2026, by Michael Wetter:
    Corrected assignment of nominal mass flow rate.
    See #2100.
  • February 24, 2023, by Antoine Gautier:
    First implementation.