modelFlowDistributionPumpControl
Validation of the pump head computation in FlowDistribution
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model validates the pump head computation algorithm implemented in Buildings.DHC.Loads.BaseClasses.FlowDistribution by comparing that model with an explicit modeling of the distribution network, the distribution pump and the terminal units.
Two configurations are tested, both with variable-flow distribution.
-
Constant speed pump (components
*CstSpe): the pump rides its curve as the terminal units modulate the flow rate. -
Constant Δp (components
*CstDp): the pump speed is modulated by a PI loop tracking a Δp setpoint at a remote location in the circuit, upstream of the last terminal unit.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | filNam | "modelica://Buildings/Resources/Data/DHC/Loads/Examples/SwissResidential_20190916.mos" | File name with thermal loads as time series |
| Integer | nLoa | 5 | Number of served loads |
| Modelica.Units.SI.PressureDifference | dpSet | max(terUniHea.dpSou_nominal) | Pressure difference set point |
| Modelica.Units.SI.MassFlowRate[nLoa] | mCon_flow_nominal | terUniHea.mHeaWat_flow_nominal*facMul | Nominal mass flow rate in each connection line |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | sum(mCon_flow_nominal) | Nominal mass flow rate in the distribution line |
| Modelica.Units.SI.PressureDifference | dp_nominal | max(terUniHea.dpSou_nominal) + 2*nLoa*5000 | Nominal pressure drop in the distribution line |
| Scaling | |||
| Real | facMul | 10 | Scaling factor for terminal units |
| Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | mLoaHea_flow_nominal | 1 | Load side mass flow rate at nominal conditions in heating mode |
| Modelica.Units.SI.Temperature | T_aHeaWat_nominal | 273.15 + 40 | Heating water inlet temperature at nominal conditions |
| Modelica.Units.SI.Temperature | T_bHeaWat_nominal | T_aHeaWat_nominal - 5 | Heating water outlet temperature at nominal conditions |
| Modelica.Units.SI.Temperature | T_aLoaHea_nominal | 273.15 + 20 | Load side inlet temperature at nominal conditions in heating mode |
| Modelica.Units.SI.HeatFlowRate | QHea_flow_nominal | Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space heating load", filNam = Modelica.Utilities.Files.loadResource(filNam))/facMul | Design heating heat flow rate (>=0) |
| Dynamics › Nominal condition | |||
| Modelica.Units.SI.Time | tau | 120 | Time constant of fluid temperature variation at nominal flow rate |
Components
Contents
| Name | Description |
|---|---|
| Source side medium | |
| Load side medium |
Revisions
-
April 10, 2026, by Antoine Gautier:
Replaced the Δp-controlled pump with a speed-controlled pump. This is for #4534. -
August 30, 2022, by Hongxiang Fu:
Swapped the pump models for preconfigured versions and removed the pump curve recordper. This is for #3099. -
February 21, 2020, by Antoine Gautier:
First implementation.