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.
-
Heating and cooling system with common constant speed dedicated primary pumps:
component
pumPriCom. -
Heating and cooling system with headered constant speed primary pumps:
component
pumPriHdr. -
Heating and cooling system with separate constant speed dedicated HW and CHW pumps:
component
pumPriSep. -
Heating-only system 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 configurations with common constant speed dedicated primary pumps or
headered constant speed primary pumps, this requires adjusting the
design pressure drop of the balancing valves which are modeled by fixed flow
resistances in the isolation valve components
valHeaWatIso* and valChiWatIso*.
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 |
|---|---|---|---|
| Boolean | use_spePumIni | false | Set to true to compute pump speed at initialization, false to use default value |
| Real[pumPriHea.nPum] | r_N | Relative revolution, r_N=N/N_nominal | |
| Real[pumPriHea.nPum] | r_NDef | fill(0.85, pumPriHea.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.PumpSingle[pumPriCom.nHp] | datPumSin | Cast multiple pump record into single pump record array | |
| Buildings.Templates.Components.Data.PumpSingle[pumPriHea.nHp] | datPumHeaWatHeaSin | Cast multiple pump record into single pump record array | |
| 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[pumPriCom.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[pumPriCom.nHp] | hpHdr | Heat pump HX | |
| Fluid.Sources.Boundary_pT | ret1 | Boundary condition at return | |
| Controls.OpenLoop | ctlNoDed | Plant controller | |
| Buildings.Templates.Components.Pumps.Multiple | pumPriHdr | Headered primary pumps | |
| Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated | pumPriSep | Primary pumps - Heating and cooling system with separate constant speed dedicated CHW pumps | |
| Fluid.Sources.Boundary_pT | ret2 | Boundary condition at return | |
| Controls.OpenLoop | ctlSep | Plant controller | |
| Fluid.FixedResistances.PressureDrop[pumPriCom.nHp] | hpSep | Heat pump HX | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valHeaWatIsoCom | Primary HW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valChiWatIsoCom | Primary CHW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valChiWatIsoHdr | Primary CHW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valHeaWatIsoHdr | Primary HW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valHeaWatIsoSep | Primary HW loop isolation valve | |
| Buildings.Templates.Components.Actuators.Valve[datHp.nHp] | valChiWatIsoSep | Primary CHW 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[pumPriCom.nHp] | hpHea | Heat pump HX | |
| Fluid.FixedResistances.PressureDrop | priHeaWat | Primary HW loop |
Contents
| Name | Description |
|---|---|
Revisions
-
March 29, 2024, by Antoine Gautier:
First implementation.