modelTableData2DLoadDepSHC
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model validates the load calculation and staging logic of the block
Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.TableData2DLoadDepSHC.
The two available control options are tested:
the component hpSup uses supply temperature control,
while the component hpRet uses return temperature control.
The model represents a three-module system operating in constant
simultaneous heating and cooling mode with the on/off command
always true.
The validation is carried out by computing the tracked temperature using the heat flow rate calculated by the block, and feeding back this variable as input to the heat pump model. It is then expected that the tracked temperature matches the setpoint, under the constraints of step-by-step staging and minimum stage runtime. Note that a filtered value of the tracked temperature is used to avoid creating an algebraic loop.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Nominal condition | |||
| Modelica.Units.SI.Temperature | THwSup_nominal | 323.15 | HW supply temperature |
| Modelica.Units.SI.Temperature | THwRet_nominal | 315.15 | HW return temperature |
| Modelica.Units.SI.Temperature | TChwSup_nominal | 280.15 | CHW supply temperature |
| Modelica.Units.SI.Temperature | TChwRet_nominal | 285.15 | CHW return temperature |
| Modelica.Units.SI.MassFlowRate | mHw_flow_nominal | QHea_flow_nominal/(THwSup_nominal - THwRet_nominal)/Buildings.Media.Water.cp_const | HW mass flow rate |
| Modelica.Units.SI.MassFlowRate | mChw_flow_nominal | QCoo_flow_nominal/(TChwSup_nominal - TChwRet_nominal)/Buildings.Media.Water.cp_const | CHW mass flow rate |
| Nominal condition - Heating mode | |||
| Modelica.Units.SI.Temperature | TAmbHea_nominal | 268.15 | OA temperature |
| Modelica.Units.SI.HeatFlowRate | QHea_flow_nominal | 58E3 | Heating heat flow rate - Heating mode |
| Modelica.Units.SI.HeatFlowRate | QHeaShc_flow_nominal | 85E3 | Heating heat flow rate - SHC mode |
| Nominal condition - Cooling mode | |||
| Modelica.Units.SI.Temperature | TAmbCoo_nominal | 308.15 | Ambient side fluid temperature — Entering or leaving depending on use_TAmbOutForTab |
| Modelica.Units.SI.HeatFlowRate | QCoo_flow_nominal | -73E3 | Cooling heat flow rate - Cooling mode |
| Modelica.Units.SI.HeatFlowRate | QCooShc_flow_nominal | -65E3 | Cooling heat flow rate - SHC mode |
Components
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.