modelDistribution1PipePlugFlow_v
Model of a one-pipe distribution network with plug flow pipes in the main line with hydraulic diameter calculated from nominal velocity
Extends from Buildings.DHC.Networks.BaseClasses.PartialDistribution1Pipe (Partial model for one-pipe distribution network).
Information
This model represents a one-pipe distribution network using a connection model with a plug flow pipe model (pressure drop, heat transfer, transport delays) in the main line whose hydraulic diameters are calculated based on nominal velocity at nominal flow rate Buildings.DHC.Networks.Connections.Connection1PipePlugFlow. The same pipe model at the end of the distribution line (after the last connection).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | show_entFlo (from PartialDistribution1Pipe) | false | Set to true to output enthalpy flow rate difference at each connection |
| Boolean | show_TOut (from PartialDistribution1Pipe) | false | Set to true to output temperature at connection outlet |
| 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 | dIns | 0.05 | Thickness of pipe insulation, used to compute R |
| Modelica.Units.SI.ThermalConductivity | kIns | 0.028 | Heat conductivity of pipe insulation, used to compute R |
| Modelica.Units.SI.Velocity | v_nominal | 1.5 | Velocity at m_flow_nominal (used to compute default value for hydraulic diameter dh) |
| Modelica.Units.SI.Height | roughness | 2.5e-5 | Average height of surface asperities (default: smooth steel pipe) |
| Modelica.Units.SI.SpecificHeatCapacity | cPip | 2300 | Specific heat of pipe wall material. 2300 for PE, 500 for steel |
| Modelica.Units.SI.Density | rhoPip | 930 | Density of pipe wall material. 930 for PE, 8000 for steel |
| Modelica.Units.SI.Length | thickness | 0.0035 | Pipe wall thickness |
| General | |||
| Integer | nCon (from PartialDistribution2Medium) | Number of connections | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialDistribution2Medium) | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| General › Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | mDis_flow_nominal (from PartialDistribution1Pipe) | Nominal mass flow rate in the distribution line | |
| Modelica.Units.SI.MassFlowRate[nCon] | mCon_flow_nominal (from PartialDistribution1Pipe) | Nominal mass flow rate in each connection line | |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics (from PartialDistribution1Pipe) | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Dynamics › Nominal condition | |||
| Modelica.Units.SI.Time | tau (from PartialDistribution1Pipe) | 10 | Time constant at nominal flow for dynamic energy and momentum balance |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PartialConnection1Pipe[nCon] | con (from PartialDistribution1Pipe) | Connection to agent | |
| Model_pipDis | pipEnd (from PartialDistribution1Pipe) | Pipe representing the end of the distribution line (after last connection) |
Revisions
-
March 15, 2024, by David Blum:
Renamed. This is for issue 3712. -
December 10, 2023, by Ettore Zanetti:
First implementation.