modelDistribution1Pipe_R
Extends from Buildings.DHC.Networks.BaseClasses.PartialDistribution1Pipe.
Information
This is a model of a one-pipe distribution network using a connection model with pipes in the main line whose hydraulic diameters are calculated at initialization based on the pressure drop per pipe length at nominal flow rate Buildings.DHC.Networks.Connections.Connection1Pipe_R. The same pipe model is also used at the end of the distribution line (after the last connection) only on the supply side.
Modeling considerations
Note that dhDis needs to be vectorized, even if the same value
is computed for each array element in case of a one-pipe network.
This is because the pipe diameter is computed at initialization by the model
Buildings.DHC.Networks.Pipes.PipeAutosize
which is instantiated for each connection.
So the initialization system of equations would be overdetermined if using
a parameter binding with a scalar variable.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dp_length_nominal | 250 | Pressure drop per pipe length at nominal flow rate |
| Modelica.Units.SI.Length[nCon] | lDis | Length of the distribution pipe before each connection | |
| Modelica.Units.SI.Length | lEnd | Length of the end of the distribution line (after last connection) | |
| Modelica.Units.SI.Length[nCon] | dhDis | Hydraulic diameter of the distribution pipe before each connection | |
| Modelica.Units.SI.Length | dhEnd | Hydraulic diameter of of the end of the distribution line (after last connection) |
Revisions
-
March 15, 2024, by David Blum:
Renamed. This is for issue 3712. -
December 20, 2023, by Ettore Zanetti:
This is for issue 3431. -
February 23, 2021, by Antoine Gautier:
First implementation.