modelTableData2DLoadDep
Validation model for heat pump component with ideal controls
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model illustrates the use of Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep in a configuration in which water-to-water heat pump components are exposed to a constant differential pressure and a varying return temperature on the load side.
The heat pump components are configured to represent either a non-reversible
heat pump (component hpNrv) or a reversible heat pump
(component hp) that switches between cooling and heating mode.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | THeaWatRet_nominal | hp.TConHea_nominal - hp.dTCon_nominal | |
| Modelica.Units.SI.Temperature | TChiWatRet_nominal | hp.TConCoo_nominal + hp.dTEva_nominal | |
| Data.TableData2DLoadDep.GenericHeatPump | datHea | Heat pump performance data | |
| Buildings.Fluid.Chillers.ModularReversible.Data.TableData2DLoadDep.Generic | datCoo | Chiller performance data | |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TChiWatSupSet | CHWST setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | THeaWatSupSet | HW supply temperature setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Sin | THeaWatRet | HW return temperature value | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable | y1 | Heat pump enable and heating mode command | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Sin | TChiWatRet | CHW return temperature value | |
| Fluid.Sources.Boundary_pT | inlHp | Boundary conditions of CHW/HW at HP inlet | |
| Buildings.Controls.OBC.CDL.Reals.Switch | TRetAct | Active return temperature | |
| Buildings.Controls.OBC.CDL.Reals.Switch | pInl_rel | Active inlet gauge pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pHeaWatInl | HW inlet pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pChiWatInl | CHW inlet pressure | |
| Fluid.Sensors.TemperatureTwoPort | TRet | Return temperature | |
| Fluid.Sensors.TemperatureTwoPort | TSup | Supply temperature | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | TAmbHea | Ambient fluid supply temperature value | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | TAmbCoo | Ambient-side fluid supply temperature value | |
| Buildings.Controls.OBC.CDL.Reals.Switch | TAmbAct | Active ambient-side fluid supply temperature | |
| Buildings.Controls.OBC.CDL.Reals.Switch | pInl_rel1 | Active inlet gauge pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pAmbInlHea | Ambient fluid inlet pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pAmbInlCoo | Ambient-side fluid inlet pressure | |
| Fluid.Sources.Boundary_pT | inlHpAmb | Boundary conditions of ambient-side fluid at HP inlet | |
| Fluid.Sources.Boundary_pT | retAmb | Boundary conditions of ambient-side fluid at HP outlet | |
| Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep | hp | Heat pump | |
| Sources.Boundary_pT | sup | Boundary condition at distribution system supply | |
| Sources.Boundary_pT | inlHp1 | Boundary conditions of CHW/HW at HP inlet | |
| Sensors.TemperatureTwoPort | TRet1 | Return temperature | |
| Sensors.TemperatureTwoPort | TSup1 | Supply temperature | |
| Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep | hpNrv | Non reversible heat pump | |
| Sources.Boundary_pT | inlHpAmb1 | Boundary conditions of ambient-side fluid at HP inlet |
Contents
| Name | Description |
|---|---|
Revisions
-
March 23, 2026, by Antoine Gautier:
Refactored with two separate connectors for HW and CHW temperature setpoints.
This is for #4507. -
July 1, 2025, by Antoine Gautier:
First implementation.