modelPumpsPrimaryDedicated

Validation model for dedicated primary pump component

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

TypeNameDefaultDescription
IntegernHp2Number of heat pumps (excluding polyvalent HPs)
Booleanuse_spePumInifalseSet to true to compute pump speed at initialization, false to use default value
Real[datPumHeaWatHea.nPum]r_NRelative revolution, r_N=N/N_nominal
Real[datPumHeaWatHea.nPum]r_NDeffill(0.85, datPumHeaWatHea.nPum)Default value for relative revolution, r_N=N/N_nominal
Data.ControllerdatCtlController parameters
Data.ControllerdatCtlNoDedController parameters
Data.ControllerdatCtlSepController parameters
Data.ControllerdatCtlHeaController parameters
Data.HeatPumpGroupdatHpReversible AWHP parameters
Buildings.Templates.Components.Data.PumpMultipledatPumPriComPrimary pump parameters
Buildings.Templates.Components.Data.PumpMultipledatPumHeaWatDedicated primary HW pump parameters
Buildings.Templates.Components.Data.PumpMultipledatPumChiWatDedicated primary CHW pump parameters
Buildings.Templates.Components.Data.PumpMultipledatPumHeaWatHeaDedicated primary HW pump parameters – Heating-only system
Buildings.Templates.Components.Data.PumpMultipledatPumHeaWatHdrHeadered primary HW pump parameters
Buildings.Templates.Components.Data.PumpMultipledatPumChiWatHdrHeadered primary CHW pump parameters
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.FixedInitialType of energy balance: dynamic (3 initialization options) or steady state

Connectors

TypeNameDefaultDescription
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPlaPlant control bus
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPla1Plant control bus
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPla2Plant control bus

Components

TypeNameDefaultDescription
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriComPrimary pumps - Heating and cooling system with common constant speed dedicated primary pumps
Fluid.FixedResistances.PressureDrop[nHp]hpComHeat pump HX
Fluid.Sources.Boundary_pTretBoundary condition at return
Controls.OpenLoopctlPlant controller
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriNoDedNo dedicated primary pumps (headered pumps)
Fluid.FixedResistances.PressureDrop[nHp]hpHdrHeat pump HX
Fluid.Sources.Boundary_pTret1Boundary condition at return
Controls.OpenLoopctlNoDedPlant controller
Buildings.Templates.Components.Pumps.MultiplepumHeaWatPriHdrHeadered primary HW pumps
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriSepPrimary pumps - Heating and cooling system with separate constant speed dedicated CHW pumps
Controls.OpenLoopctlSepPlant controller
Fluid.FixedResistances.PressureDrop[nHp]hpSepHeat pump HX
Buildings.Templates.Components.Actuators.Valve[nHp]valHeaWatIsoComPrimary HW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[nHp]valChiWatIsoComPrimary CHW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[nHp]valChiWatIsoHdrPrimary CHW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[nHp]valHeaWatIsoHdrPrimary HW loop isolation valve
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriHeaPrimary pumps - Heating-only system with variable speed dedicated primary pumps
Fluid.Sources.Boundary_pTret3Boundary condition at return
Controls.OpenLoopctlHeaPlant controller
Fluid.FixedResistances.PressureDrop[nHp]hpHeaHeat pump HX
Fluid.FixedResistances.PressureDroppriHeaWatPrimary HW loop
Fluid.Sources.Boundary_pTret2Boundary condition at return
Buildings.Templates.Components.Actuators.Valve[nHp]valHeaWatIsoSepPrimary HW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[nHp]valChiWatIsoSepPrimary CHW loop isolation valve
Buildings.Templates.Components.Pumps.MultiplepumChiWatPriHdrHeadered primary CHW pumps

Contents

NameDescription
Medium

Revisions

  • March 29, 2024, by Antoine Gautier:
    First implementation.