modelPumpsPrimaryDedicatedPolyvalent

Validation model for dedicated primary pump component with polyvalent heat pumps

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model validates the model Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicated for the following plant configurations.

  • Heat pumps with a single dedicated primary pump serving both CHW and HW circuits, polyvalent units with constant speed dedicated primary pumps: component pumPriCom.
  • Plant with headered constant speed primary pumps: component pumPriHdr.
  • Plant with separate constant speed dedicated HW and CHW pumps: component pumPriSep.

In each configuration, two identical heat pumps and two identical polyvalent units are represented by fixed flow resistances (components hp*, phpCon* and phpEva*).

The model uses open loop controls and the simulation allows verifying that design flow is obtained in each loop and each unit when the pumps are enabled.

In the configurations with headered pumps, or 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 valHeaWatIso* and valChiWatIso*. This adjustment is done programmatically using the function Buildings.Templates.Utilities.computeBalancingPressureDrop.

Parameters

TypeNameDefaultDescription
IntegernHp2Number of heat pumps (excluding polyvalent HPs)
IntegernPhp2Number of polyvalent heat pumps
Data.ControllerdatCtlController parameters
Data.ControllerdatCtlNoDedController parameters
Data.ControllerdatCtlSepController parameters
Data.HeatPumpGroupdatHpPhpParameters for reversible and polyvalent heat pumps
Buildings.Templates.Components.Data.PumpMultipledatPumPriComPrimary pump parameters – Configuration with common HW/CHW pump for HP
Buildings.Templates.Components.Data.PumpMultipledatPumHeaWatDedicated primary HW pump parameters – HP and polyvalent HPs
Buildings.Templates.Components.Data.PumpMultipledatPumChiWatDedicated primary CHW pump parameters – HP and polyvalent HPs
Buildings.Templates.Components.Data.PumpMultipledatPumHeaWatHdrHeadered primary HW pump parameters – HP and polyvalent HPs
Buildings.Templates.Components.Data.PumpMultipledatPumChiWatHdrHeadered primary CHW pump parameters – HP and polyvalent HPs
Buildings.Templates.Components.Data.PumpMultipledatPumChiWatPhpDedicated primary CHW pump parameters – Polyvalent heat pumps
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.BusbusPla2Plant control bus
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPlaPlant control bus
Buildings.Templates.Plants.HeatPumps.Interfaces.BusbusPla1Plant control bus

Components

TypeNameDefaultDescription
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriComPrimary pumps – Heat pumps 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
Controls.OpenLoopctlNoDedPlant controller
Buildings.Templates.Components.Pumps.MultiplepumHeaWatPriHdrHeadered primary HW pumps
Buildings.Templates.Plants.HeatPumps.Components.PumpsPrimaryDedicatedpumPriSepPrimary pumps – Heat pumps with separate constant speed dedicated CHW pumps
Fluid.Sources.Boundary_pTret2Boundary condition at return
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 + nPhp]valChiWatIsoHdrCHW isolation valve
Buildings.Templates.Components.Actuators.Valve[nHp + nPhp]valHeaWatIsoHdrHW isolation valve
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
Fluid.FixedResistances.PressureDrop[nPhp]phpConSepPolyvalent HP condenser
Fluid.FixedResistances.PressureDrop[nPhp]phpEvaSepPolyvalent HP evaporator
Fluid.FixedResistances.PressureDrop[nPhp]phpConHdrPolyvalent HP condenser
Fluid.FixedResistances.PressureDrop[nPhp]phpEvaHdrPolyvalent HP evaporator
Fluid.FixedResistances.PressureDrop[nPhp]phpConComPolyvalent HP condenser
Fluid.FixedResistances.PressureDrop[nPhp]phpEvaComPolyvalent HP evaporator
Fluid.Sources.Boundary_pTret3Boundary condition at return
Fluid.Sources.Boundary_pTret4Boundary condition at return
Fluid.Sources.Boundary_pTret7Boundary condition at return
Fluid.Sources.Boundary_pTret8Boundary condition at return
Fluid.Sources.Boundary_pTret1Boundary condition at return
Fluid.Sources.Boundary_pTret5Boundary condition at return

Contents

NameDescription
Medium

Revisions

  • July 10, 2026, by Antoine Gautier:
    First implementation.