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.

  • 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

TypeNameDefaultDescription
Booleanuse_spePumInifalseSet to true to compute pump speed at initialization, false to use default value
Real[pumPriHea.nPum]r_NRelative revolution, r_N=N/N_nominal
Real[pumPriHea.nPum]r_NDeffill(0.85, pumPriHea.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.PumpSingle[pumPriCom.nHp]datPumSinCast multiple pump record into single pump record array
Buildings.Templates.Components.Data.PumpSingle[pumPriHea.nHp]datPumHeaWatHeaSinCast multiple pump record into single pump record array
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[pumPriCom.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[pumPriCom.nHp]hpHdrHeat pump HX
Fluid.Sources.Boundary_pTret1Boundary condition at return
Controls.OpenLoopctlNoDedPlant controller
Buildings.Templates.Components.Pumps.MultiplepumPriHdrHeadered primary pumps
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriSepPrimary pumps - Heating and cooling system with separate constant speed dedicated CHW pumps
Fluid.Sources.Boundary_pTret2Boundary condition at return
Controls.OpenLoopctlSepPlant controller
Fluid.FixedResistances.PressureDrop[pumPriCom.nHp]hpSepHeat pump HX
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valHeaWatIsoComPrimary HW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valChiWatIsoComPrimary CHW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valChiWatIsoHdrPrimary CHW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valHeaWatIsoHdrPrimary HW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valHeaWatIsoSepPrimary HW loop isolation valve
Buildings.Templates.Components.Actuators.Valve[datHp.nHp]valChiWatIsoSepPrimary CHW 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[pumPriCom.nHp]hpHeaHeat pump HX
Fluid.FixedResistances.PressureDroppriHeaWatPrimary HW loop

Contents

NameDescription
Medium

Revisions

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