modelPumpsPrimaryDedicated
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model validates the model Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated for the following configurations.
-
Reversible heat pumps with a single dedicated primary pump serving both
CHW and HW circuits: component
pumPriCom. -
Reversible heat pumps with headered constant speed primary pumps:
component
pumPriHdr. -
Reversible heat pumps with separate constant speed dedicated HW and CHW
pumps: component
pumPriSep. -
Heating-only heat pumps with variable speed dedicated primary pumps:
component
pumPriHea.
In each configuration, two identical heat pumps are represented by fixed
flow resistances (components hp*).
The model uses open loop controls and the simulation allows verifying that design flow is obtained in each loop and each heat pump when the pumps are enabled.
In the configuration with a single dedicated primary pump serving both CHW
and HW circuits, this requires adjusting the design pressure drop of the
balancing valves which are modeled by fixed flow resistances in the
isolation valve components valHeaWatIsoCom and
valChiWatIsoCom. This adjustment is done programmatically using
the function
Buildings.Templates.Utilities.computeBalancingPressureDrop.
Similarly, in the configuration with variable speed pumps
pumPriHea, the design head of the pumps is voluntarily chosen
higher than necessary and the required pump speed needed to provide the
design HP flow is computed at initialization by solving for a balancing
valve pressure drop of zero. Note that this requires solving a numerical
Jacobian at initialization. Although this is handled well by various
Modelica tools, the parameter use_spePumIni allows switching to
a default value in this validation model for better integration into the
continuous integration test workflow.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nHp | 2 | Number of heat pumps (excluding polyvalent HPs) |
| Boolean | use_spePumIni | false | Set to true to compute pump speed at initialization, false to use default value |
| Real[datPumHeaWatHea.nPum] | r_N | Relative revolution, r_N=N/N_nominal | |
| Real[datPumHeaWatHea.nPum] | r_NDef | fill(0.85, datPumHeaWatHea.nPum) | Default value for relative revolution, r_N=N/N_nominal |
| Data.Controller | datCtl | Controller parameters | |
| Data.Controller | datCtlNoDed | Controller parameters | |
| Data.Controller | datCtlSep | Controller parameters | |
| Data.Controller | datCtlHea | Controller parameters | |
| Data.HeatPumpGroup | datHp | Reversible AWHP parameters | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumPriCom | Primary pump parameters | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumHeaWat | Dedicated primary HW pump parameters | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumChiWat | Dedicated primary CHW pump parameters | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumHeaWatHea | Dedicated primary HW pump parameters – Heating-only system | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumHeaWatHdr | Headered primary HW pump parameters | |
| Buildings.Templates.Components.Data.PumpMultiple | datPumChiWatHdr | Headered primary CHW pump 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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Interfaces.Bus | busPla | Plant control bus | |
| Buildings.Templates.Plants.HeatPumps.Interfaces.Bus | busPla1 | Plant control bus | |
| Buildings.Templates.Plants.HeatPumps.Interfaces.Bus | busPla2 | Plant control bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated | pumPriCom | Primary pumps - Heating and cooling system with common constant speed dedicated primary pumps | |
| Fluid.FixedResistances.PressureDrop[nHp] | hpCom | Heat pump HX | |
| Fluid.Sources.Boundary_pT | ret | Boundary condition at return | |
| Controls.OpenLoop | ctl | Plant controller | |
| Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated | pumPriNoDed | No dedicated primary pumps (headered pumps) | |
| Fluid.FixedResistances.PressureDrop[nHp] | hpHdr | Heat pump HX | |
| Fluid.Sources.Boundary_pT | ret1 | Boundary condition at return | |
| Controls.OpenLoop | ctlNoDed | Plant controller | |
| Buildings.Templates.Components.Pumps.Multiple | pumHeaWatPriHdr | Headered primary HW pumps | |
| Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated | pumPriSep | Primary pumps - Heating and cooling system with separate constant speed dedicated CHW pumps | |
| Controls.OpenLoop | ctlSep | Plant controller | |
| Fluid.FixedResistances.PressureDrop[nHp] | hpSep | Heat pump HX | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valHeaWatIsoCom | Primary HW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valChiWatIsoCom | Primary CHW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valChiWatIsoHdr | Primary CHW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valHeaWatIsoHdr | Primary HW loop isolation valve | |
| Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated | pumPriHea | Primary pumps - Heating-only system with variable speed dedicated primary pumps | |
| Fluid.Sources.Boundary_pT | ret3 | Boundary condition at return | |
| Controls.OpenLoop | ctlHea | Plant controller | |
| Fluid.FixedResistances.PressureDrop[nHp] | hpHea | Heat pump HX | |
| Fluid.FixedResistances.PressureDrop | priHeaWat | Primary HW loop | |
| Fluid.Sources.Boundary_pT | ret2 | Boundary condition at return | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valHeaWatIsoSep | Primary HW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[nHp] | valChiWatIsoSep | Primary CHW loop isolation valve | |
| Buildings.Templates.Components.Pumps.Multiple | pumChiWatPriHdr | Headered primary CHW pumps |
Contents
| Name | Description |
|---|---|
Revisions
-
March 29, 2024, by Antoine Gautier:
First implementation.