modelValvesIsolationPolyvalent
Validation model for isolation valve 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.ValvesIsolation for two configurations, each with two identical AWHP and two identical polyvalent units.
-
AWHP with isolation valves at both the inlet and outlet, polyvalent units
without isolation valves: component
valIsoCom. -
AWHP with isolation valves at the inlet only, polyvalent units with
isolation valves at the outlet only: component
valIsoSep.
Open-loop controls are used throughout. The simulation allows verifying that the design flow rate is achieved in each unit when the isolation valves are open and/or the primary pumps are on.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Types.Controller | typCtl | Buildings.Templates.Plants.HeatPumps.Types.Controller.OpenLoop | |
| Integer | nHp | 2 | Number of heat pumps (excluding polyvalent units) |
| Integer | nPhp | 2 | Number of polyvalent heat pumps |
| Data.Controller | datCtl | Controller parameters | |
| Data.Controller | datCtlSep | Controller parameters | |
| Data.HeatPumpGroup | datHpPhp | Parameters for reversible and polyvalent heat pumps | |
| 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 | busPla1 | Plant controller | |
| Buildings.Templates.Components.Interfaces.Bus[nHp] | busHp | HP control bus | |
| Buildings.Templates.Components.Interfaces.Bus[nPhp] | busPhp | Polyvalent HP control bus | |
| Buildings.Templates.Plants.HeatPumps.Interfaces.Bus | busPla | Plant controller | |
| Buildings.Templates.Components.Interfaces.Bus | busPumHeaWatPri | Primary HW pump control bus | |
| Buildings.Templates.Components.Interfaces.Bus | busPumChiWatPri | Primary CHW pump control bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Components.ValvesIsolation | valIsoCom | Isolation valves – Heat pumps with common dedicated primary HW and CHW pumps, polyvalent HPs with dedicated primary pumps | |
| Fluid.Sources.Boundary_pT | supChiWat | Boundary condition at CHW supply | |
| Fluid.Sources.Boundary_pT | supHeaWat | Boundary condition at HW supply | |
| Controls.OpenLoop | ctl | Plant controller | |
| Buildings.Templates.Plants.HeatPumps.Components.ValvesIsolation | valIsoSep | Isolation valves - Plant with separate dedicated primary HW and CHW pumps | |
| Controls.OpenLoop | ctlSep | Plant controller | |
| Fluid.Movers.BaseClasses.IdealSource[nHp] | pumChiHeaWatPriHp | Ideal pressure rise representing AWHP primary CHW/HW pump | |
| Buildings.Controls.OBC.CDL.Reals.Switch[nHp] | swi | Switch pressure rise depending on operating mode | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[2,nHp] | conDp | ||
| Buildings.Controls.OBC.CDL.Reals.Switch[nPhp] | swiDpShcCon | Switch pressure rise depending on operating mode | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[2,nPhp] | conDp1 | ||
| Fluid.Movers.BaseClasses.IdealSource[nPhp] | pumHeaWatPriPhp | Ideal pressure rise representing polyvalent HP primary HW pump | |
| Buildings.Controls.OBC.CDL.Reals.Switch[nPhp] | swiDpShcCon1 | Switch pressure rise depending on operating mode | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[2,nPhp] | conDp2 | ||
| Fluid.Movers.BaseClasses.IdealSource[nPhp] | pumChiWatPriPhp | Ideal pressure rise representing polyvalent HP primary CHW pump | |
| Fluid.Sources.Boundary_pT | supHeaWat1 | Boundary condition at HW supply | |
| Fluid.Movers.Preconfigured.SpeedControlled_y[nHp + nPhp] | pumChiWatPri | Primary CHW pump | |
| Fluid.Movers.Preconfigured.SpeedControlled_y[nHp + nPhp] | pumHeaWatPri | Primary HW pump | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[nHp + nPhp] | yPumHeaWatPri | Primary HW pump speed command | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[nHp + nPhp] | yPumChiWatPri | Primary CHW pump speed command | |
| Fluid.FixedResistances.PressureDrop[nHp] | hpSep | Heat pump HX with zero fluid resistance: pressure drop computed in valve component |
Contents
| Name | Description |
|---|---|
Revisions
-
July 10, 2026, by Antoine Gautier:
First implementation.