modelHeatPumps
Validation model for heat pump component
Extends from Modelica.Icons.Example.
Information
This model validates the models Buildings.Templates.Components.HeatPumps.AirToWater and Buildings.Templates.Components.HeatPumps.WaterToWater in a configuration in which the heat pump components are exposed to a constant differential pressure and a varying return temperature.
The AWHP model is configured to represent either a non-reversible
heat pump (suffix Nrv) or a reversible heat pump
that switches between cooling and heating mode.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Components.Data.HeatPump | datHpAwNrv | Non-reversible AWHP parameters | |
| Buildings.Templates.Components.Data.HeatPump | datHpAw | Reversible AWHP parameters | |
| Data.HeatPump | datHpWw | Reversible WWHP parameters | |
| 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.Templates.Components.HeatPumps.AirToWater | hpAw | Reversible AWHP | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Sin | THeaWatRet | HW return temperature value | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable | y1 | Heat pump Enable signal | |
| Fluid.Sensors.TemperatureTwoPort | TSup | Supply temperature | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable | y1Hea | Heat pump heating mode signal | |
| Fluid.Sources.Boundary_pT | sup | Boundary condition at distribution system supply | |
| 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 gaupe pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pHeaWatInl | HW inlet pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pChiWatInl | CHW inlet pressure | |
| BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | ||
| Fluid.Sensors.TemperatureTwoPort | TRet | Return temperature | |
| Buildings.Templates.Components.HeatPumps.AirToWater | hpAwNrv | Non reversible AWHP | |
| Fluid.Sensors.TemperatureTwoPort | TRet1 | Return temperature | |
| Fluid.Sensors.TemperatureTwoPort | TSup1 | Supply temperature | |
| Buildings.Templates.Components.HeatPumps.WaterToWater | hpWw | Reversible WWHP - CHW/HW and source fluid pressure drops computed externally | |
| Fluid.Sensors.TemperatureTwoPort | TRet2 | Return temperature | |
| Fluid.Sensors.TemperatureTwoPort | TSup2 | Supply temperature | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | TSouHea | Source fluid supply temperature value | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | TSouCoo | Source fluid supply temperature value | |
| Buildings.Controls.OBC.CDL.Reals.Switch | TSouAct | Active source fluid supply temperature | |
| Buildings.Controls.OBC.CDL.Reals.Switch | pInl_rel1 | Active inlet gaupe pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pSouInlHea | Source fluid inlet pressure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | pSouInlCoo | Source fluid inlet pressure | |
| Fluid.Sources.Boundary_pT | inlHpSou | Boundary conditions or source side fluid at HP inlet | |
| Fluid.Sources.Boundary_pT | retSou | Boundary condition at source system return | |
| Fluid.FixedResistances.PressureDrop | res | CHW/HW pressure drop computed externally | |
| Fluid.FixedResistances.PressureDrop | resSou | Source fluid pressure drop computed externally |
Contents
| Name | Description |
|---|---|
| Medium |
Revisions
-
August 21, 2025, by Antoine Gautier:
Refactored with load-dependent 2D table data heat pump model.
This is for #4152. -
March 29, 2024, by Antoine Gautier:
First implementation.