modelHeatRecoveryChiller

Heat recovery chiller for sidestream integration

Extends from Buildings.Fluid.Interfaces.PartialFourPortInterface (Partial model with four ports and declaration of quantities that are used by many models).

Information

Model of a heat recovery chiller with constant speed CHW and HW pumps. The model is intended to represent the sidestream integration of a HRC into a heating and cooling plant. In such a configuration, the condenser is connected to the HW return and the evaporator is connected to the CHW return.

Control points

The following input and output points are available.

Parameters

TypeNameDefaultDescription
Buildings.Templates.Components.Data.PumpSingledatPumChiWatHRC CHW pump parameters
Buildings.Templates.Components.Data.PumpSingledatPumHeaWatHRC HW pump parameters
Buildings.Templates.Components.Data.ChillerdatHrcHRC parameters
Modelica.Units.SI.MassFlowRatemChiWat_flow_nominalhrc.mChiWat_flow_nominalDesign CHW mass flow rate
Modelica.Units.SI.MassFlowRatemCon_flow_nominalhrc.mCon_flow_nominalDesign condenser cooling fluid mass flow rate
Modelica.Units.SI.HeatFlowRateQChiWat_flow_nominalhrc.QChiWat_flow_nominalDesign cooling heat flow rate
Modelica.Units.SI.PressureDifferencedpChiWat_nominalhrc.dpChiWat_nominalDesign CHW pressure drop
Modelica.Units.SI.PressureDifferencedpCon_nominalhrc.dpCon_nominalDesign condenser cooling fluid pressure drop
Modelica.Units.SI.TemperatureTChiWatSup_nominalhrc.TChiWatSup_nominalDesign CHW supply temperature
Modelica.Units.SI.TemperatureTChiWatRet_nominalhrc.TChiWatRet_nominalDesign CHW return temperature
Modelica.Units.SI.HeatFlowRateQCon_flow_nominalhrc.QCon_flow_nominalDesign condenser heat flow rate
Modelica.Units.SI.TemperatureTConEnt_nominalhrc.TConEnt_nominalDesign condenser entering fluid temperature
Modelica.Units.SI.TemperatureTConLvg_nominalhrc.TConLvg_nominalDesign condenser leaving fluid temperature
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
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
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
Advanced › Diagnostics
Booleanshow_T (from PartialFourPortInterface)false= true, if actual temperature at port is computed
Dynamics › Nominal condition
Modelica.Units.SI.TimetauHrc30HRC – Time constant at nominal flow, used if energy or mass balance is dynamic
Modelica.Units.SI.TimetauPum1Pump – Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state

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)
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPlant control 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
Buildings.Templates.Components.Chillers.CompressionhrcHeat recovery chiller
Buildings.Templates.Components.Pumps.SinglepumChiWatHRC CHW pump
Buildings.Templates.Components.Pumps.SinglepumHeaWatHRC HW pump

Contents

NameDescription
MediumChiWat
MediumHeaWat

Revisions

  • April 18, 2025, by Antoine Gautier:
    Refactored with load-dependent 2D table data heat recovery chiller model.
    This is for #4152.
  • May 31, 2024, by Antoine Gautier:
    First implementation.