
modelPartialConnection1Pipe
Partial model for connecting an agent to a one-pipe distribution network
Information
Partial model to be used for connecting an agent (e.g. energy transfer station)
to a one-pipe distribution network.
Two instances of a replaceable partial model are used to represent the pipes:
-
One representing the main distribution pipe immediately upstream the connection.
-
The other one representing both the supply and return lines of the connection.
When replacing that model with a pipe model computing the pressure drop,
one must double the length so that both the supply and return lines are
accounted for.
Parameters
| Type | Name | Default | Description |
| Boolean | show_entFlo | false | Set to true to output enthalpy flow rate difference |
| Boolean | show_TOut | false | Set to true to output temperature at connection outlet |
| Modelica.Units.SI.MassFlowRate | mDis_flow_nominal | | Nominal mass flow rate in the distribution line |
| Modelica.Units.SI.MassFlowRate | mCon_flow_nominal | | Nominal mass flow rate in the connection line |
| Assumptions |
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Dynamics › Conservation equations |
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Advanced › Dynamics |
| Modelica.Fluid.Types.Dynamics | massDynamics | energyDynamics | Type of mass balance: dynamic (3 initialization options) or steady state, must be steady state if energyDynamics is steady state |
| Dynamics › Nominal condition |
| Modelica.Units.SI.Time | tau | 10 | Time constant at nominal flow for dynamic energy and momentum balance |
Contents
| Name | Description |
Medium | Medium model |
Model_pipDis | |
Model_pipCon | |
Revisions
-
March 3, 2022, by Michael Wetter:
Removed massDynamics.
This is for
issue 1542.
-
February 21, 2020, by Antoine Gautier:
First implementation.