Buildings.DHC.Plants.Combined.Controls
Package of control blocks for combined plants
Information
This package contains control blocks for combined heating and cooling plants.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
Name | Description |
---|---|
Controller | Plant controller |
ModeCondenserLoop | Condenser loop operating modes |
BaseClasses | Package with base classes |
Buildings.DHC.Plants.Combined.Controls.Controller
Plant controller
Information
This block implements the following control functions.
- Plant heating and cooling staging and HRC operating mode selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPlant.
- CW loop operating mode selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ModeCondenserLoop.
- TES tank cycle flag selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.TankCycle.
- Load balancing, temperature and flow setpoint tracking for chillers and HRCs depending on active operating modes, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ValveCondenserEvaporator.
- Cooling tower pumps and cooling tower fans control, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.CoolingTowerLoop.
- Air-to-water heat pump control, see below.
- CHW, HW, CWE and CWC pumps, see below.
Heat pumps
Heat pumps are enabled whenever Charge Assist mode is active and any CWC pump is enabled. Heat pumps are disabled otherwise.
The supply temperature setpoint is 3 K plus the highest setpoint of the active tank cycle. Note that no limitation of the setpoint value per HP manufacturer specification is taken into account.
CHW, HW, CWE and CWC pumps
The lead pump is enabled based on the logic described in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ValveCondenserEvaporator.
Pumps are staged based on the logic described in Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump.
When any pump is enabled, the pump speed is modulated by a PI controller tracking a differential pressure setpoint at the boundaries of the circuit served by the pump. The control loop is biased to launch from 100 % (maximum speed). All pumps within the same group receive the same speed command signal.
The differential pressure setpoint for the CHW and HW loops is provided as a control input. Ideally, a reset logic based on consumer valve requests should be implemented to adapt those setpoints to the demand. For the sake of simplicity, the differential pressure setpoint for the CWC and CWE loops is a fixed parameter (design pressure drop).
Extends from BaseClasses.PartialController (Interface class for plant controller).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | PLRStaTra | 0.85 | Part load ratio triggering stage transition [1] |
SpecificHeatCapacity | cp_default | Buildings.Utilities.Psychrom... | Specific heat capacity of the fluid [J/(kg.K)] |
CHW loop and cooling-only chillers | |||
Integer | nChi | Number of units operating at design conditions | |
Integer | nPumChiWat | Number of CHW pumps operating at design conditions | |
Temperature | TChiWatSup_nominal | Design (minimum) CHW supply temperature [K] | |
HeatFlowRate | QChiWatChi_flow_nominal | Cooling design heat flow rate of cooling-only chillers (all units) [W] | |
MassFlowRate | mChiWat_flow_nominal | CHW design mass flow rate (all units) [kg/s] | |
PressureDifference | dpChiWatSet_max | Design (maximum) CHW differential pressure setpoint [Pa] | |
MassFlowRate | mChiWatChi_flow_nominal | Chiller CHW design mass flow rate (each unit) [kg/s] | |
MassFlowRate | mChiWatChi_flow_min | Chiller CHW minimum mass flow rate (each unit) [kg/s] | |
MassFlowRate | mConWatChi_flow_nominal | Chiller CW design mass flow rate (each unit) [kg/s] | |
PressureDifference | dpEvaChi_nominal | Chiller evaporator design pressure drop (each unit) [Pa] | |
PressureDifference | dpValEvaChi_nominal | Chiller evaporator isolation valve design pressure drop (each unit) [Pa] | |
TemperatureDifference | dTLifChi_min | Minimum chiller lift at minimum load [K] | |
TemperatureDifference | dTLifChi_nominal | Design chiller lift [K] | |
HW loop and heat recovery chillers | |||
Integer | nChiHea | Number of units operating at design conditions | |
Integer | nPumHeaWat | Number of HW pumps operating at design conditions | |
Temperature | THeaWatSup_nominal | Design (maximum) HW supply temperature [K] | |
HeatFlowRate | QChiWatCasCoo_flow_nominal | Cooling design heat flow rate of HRC in cascading cooling mode (all units) [W] | |
HeatFlowRate | QChiWatCasCoo_flow_nominal_approx | Cooling design heat flow rate of HRC in cascading cooling mode (all units), approximate for scaling [W] | |
HeatFlowRate | QHeaWat_flow_nominal | Heating design heat flow rate (all units) [W] | |
MassFlowRate | mHeaWat_flow_nominal | HW design mass flow rate (all units) [kg/s] | |
PressureDifference | dpHeaWatSet_max | Design (maximum) HW differential pressure setpoint [Pa] | |
MassFlowRate | mChiWatChiHea_flow_nominal | HRC CHW design mass flow rate (each unit) [kg/s] | |
MassFlowRate | mChiWatChiHea_flow_min | HRC CHW minimum mass flow rate (each unit) [kg/s] | |
MassFlowRate | mConWatChiHea_flow_nominal | HRC CW design mass flow rate (each unit) [kg/s] | |
MassFlowRate | mHeaWatChiHea_flow_min | Chiller HW minimum mass flow rate (each unit) [kg/s] | |
PressureDifference | dpEvaChiHea_nominal | Design chiller evaporator pressure drop (each unit) [Pa] | |
PressureDifference | dpValEvaChiHea_nominal | HRC evaporator isolation valve design pressure drop (each unit) [Pa] | |
CW loop, TES tank and heat pumps | |||
Integer | nHeaPum | Number of heat pumps operating at design conditions | |
Integer | nPumConWatCon | Number of CW pumps serving condenser barrels at design conditions | |
Integer | nPumConWatEva | Number of CW pumps serving evaporator barrels at design conditions | |
HeatFlowRate | QHeaPum_flow_nominal | Heating design heat flow rate of heat pumps (all units) [W] | |
MassFlowRate | mConWatCon_flow_nominal | Design total CW mass flow rate through condenser barrels (all units) [kg/s] | |
MassFlowRate | mConWatEva_flow_nominal | Design total CW mass flow rate through evaporator barrels (all units) [kg/s] | |
PressureDifference | dpConWatConSet_max | Design (maximum) CW condenser loop differential pressure setpoint [Pa] | |
PressureDifference | dpConWatEvaSet_max | Design (maximum) CW evaporator loop differential pressure setpoint [Pa] | |
Temperature | TTanSet[2, 2] | Tank temperature setpoints: 2 cycles with 2 setpoints [K] | |
Real | fraUslTan | Useless fraction of TES [1] | |
Real | ratFraChaTanLim[5] | {-0.3,-0.2,-0.15,-0.10,-0.08} | Rate of change of tank charge fraction (over 10, 30, 120, 240, and 360') that triggers Charge Assist (<0) [1/h] |
Cooling tower loop | |||
Integer | nCoo | Number of cooling tower cells operating at design conditions | |
Integer | nPumConWatCoo | Number of CW pumps serving cooling towers at design conditions | |
TemperatureDifference | dTHexCoo_nominal | Design heat exchanger approach [K] | |
Dynamics | |||
Filtered speed | |||
Time | riseTimePum | 30 | Pump rise time of the filter (time to reach 99.6 % of the speed) [s] |
Filtered opening | |||
Time | riseTimeVal | 120 | Pump rise time of the filter (time to reach 99.6 % of the opening) [s] |
Connectors
Type | Name | Description |
---|---|---|
input BooleanInput | u1Coo | Cooling enable signal |
input BooleanInput | u1Hea | Heating enable signal |
input RealInput | TChiWatSupSet | CHW supply temperature setpoint [K] |
input RealInput | THeaWatSupSet | HW supply temperature setpoint [K] |
output RealOutput | yValEvaChi[nChi] | Cooling-only chiller evaporator isolation valve commanded position |
output RealOutput | yValConChi[nChi] | Cooling-only chiller condenser isolation valve commanded position [1] |
output BooleanOutput | y1Chi[nChi] | Cooling-only chiller On/Off command |
output BooleanOutput | y1PumChiWat[nPumChiWat] | CHW pump Start command |
output RealOutput | yPumChiWat | CHW pump speed signal [1] |
output RealOutput | yValEvaChiHea[nChiHea] | HRC evaporator isolation valve commanded position [1] |
output BooleanOutput | y1ChiHea[nChiHea] | HRC On/Off command |
output BooleanOutput | y1CooChiHea[nChiHea] | HRC cooling mode switchover command: true for cooling, false for heating |
output RealOutput | yValConChiHea[nChiHea] | HRC condenser isolation valve commanded position [1] |
output BooleanOutput | y1PumHeaWat[nPumHeaWat] | HW pump Start command |
output RealOutput | yPumHeaWat | HW pump speed signal [1] |
output RealOutput | yValChiWatMinByp | CHW minimum flow bypass valve control signal [1] |
output RealOutput | yValHeaWatMinByp | HW minimum flow bypass valve control signal [1] |
output BooleanOutput | y1PumConWatCon[nPumConWatCon] | CW pump serving condenser barrels Start command |
output RealOutput | yPumConWatCon | CW pump serving condenser barrels Speed command [1] |
output BooleanOutput | y1PumConWatEva[nPumConWatEva] | CW pump serving evaporator barrels Start command |
output RealOutput | yPumConWatEva | CW pump serving evaporator barrels Speed command [1] |
output BooleanOutput | y1HeaPum[nHeaPum] | Heat pump On/Off command |
output RealOutput | THeaPumSet | Heat pump supply temperature setpoint [K] |
output RealOutput | yValBypTan | TES tank bypass valve commanded position [1] |
output BooleanOutput | y1Coo[nCoo] | Cooling tower Start command |
output RealOutput | yCoo | Cooling tower fan speed command [1] |
output BooleanOutput | y1PumConWatCoo[nPumConWatCoo] | Cooling tower pump Start command |
output RealOutput | TChiHeaSet[nChiHea] | HRC supply temperature setpoint [K] |
output BooleanOutput | y1HeaCooChiHea[nChiHea] | HRC direct heat recovery switchover command: true for direct HR, false for cascading |
input RealInput | dpChiWatSet | CHW differential pressure setpoint (for local dp sensor) [Pa] |
input RealInput | dpHeaWatSet | HW differential pressure setpoint (for local dp sensor) [Pa] |
input RealInput | dpChiWat | CHW differential pressure (from local dp sensor) [Pa] |
input RealInput | dpHeaWat | HW differential pressure (from local dp sensor) [Pa] |
input RealInput | mChiWatPri_flow | Primary CHW mass flow rate [kg/s] |
input RealInput | mHeaWatPri_flow | Primary HW mass flow rate [kg/s] |
input RealInput | dpConWatCon | CW condenser loop differential pressure [Pa] |
input RealInput | dpConWatEva | CW evaporator loop differential pressure [Pa] |
input RealInput | mConWatCon_flow | CW condenser loop mass flow rate [kg/s] |
input RealInput | mConWatEva_flow | CW evaporator loop mass flow rate [kg/s] |
input RealInput | TChiWatSup | CHW supply temperature [K] |
input RealInput | TChiWatPriRet | Primary CHW return temperature [K] |
input RealInput | THeaWatPriRet | Primary HW return temperature [K] |
input RealInput | TTan[nTTan] | TES tank temperature [K] |
input RealInput | mConWatHexCoo_flow | CW mass flow rate through secondary (plant) side of HX [kg/s] |
input RealInput | mConWatOutTan_flow | Mass flow rate out of lower port of TES tank (>0 when charging) [kg/s] |
input RealInput | mEvaChi_flow[nChi] | Chiller evaporator barrel mass flow rate [kg/s] |
input RealInput | mConChi_flow[nChi] | Chiller condenser barrel mass flow rate [kg/s] |
input RealInput | mEvaChiHea_flow[nChiHea] | HRC evaporator barrel mass flow rate [kg/s] |
input RealInput | mConChiHea_flow[nChiHea] | HRC condenser barrel mass flow rate [kg/s] |
output RealOutput | yValEvaSwiHea[nChiHea] | HRC evaporator switchover valve commanded position [1] |
output RealOutput | yValConSwiChiHea[nChiHea] | HRC condenser switchover valve commanded position [1] |
input RealInput | TEvaLvgChiHea[nChiHea] | HRC evaporator barrel leaving temperature [K] |
input RealInput | THeaWatSup | HW supply temperature [K] |
output RealOutput | yPumConWatCoo | Cooling tower pump speed command |
input RealInput | TConWatConChiEnt | Chiller and HRC entering CW temperature [K] |
input RealInput | TConWatConChiLvg | Chiller and HRC leaving CW temperature [K] |
input RealInput | TConWatCooSup | Cooling tower loop CW supply temperature [K] |
input RealInput | TConWatCooRet | Cooling tower loop CW return temperature [K] |
input RealInput | TConWatHexCooEnt | HX entering CW temperature [K] |
input RealInput | TConWatHexCooLvg | HX leaving CW temperature [K] |
input RealInput | TConEntChiHea[nChiHea] | HRC condenser barrel entering temperature [K] |
input RealInput | TConLvgChiHea[nChiHea] | HRC condenser barrel leaving temperature [K] |
input RealInput | TConWatEvaEnt | HRC evaporator entering CW temperature [K] |
output RealOutput | yValConWatEvaMix | HRC evaporator CW mixing valve commanded position |
input RealInput | TConWatConRet | Condenser loop CW return temperature [K] |
input RealInput | TConLvgChi[nChi] | Chiller condenser barrel leaving temperature [K] |
output RealOutput | yValConWatByp | CW chiller bypass valve control signal [1] |