modelPartialConnection2Pipe2Medium
Partial model for connecting an
agent to a two-pipe distribution network with two medium declarations
Information
Partial model to be used for connecting an agent (e.g. an energy transfer station) to a two-pipe distribution network featuring different supply and return fluids (e.g. steam and liquid water).
Six instances of a replaceable partial model are used to represent the pipes:
- Two representing the main distribution supply and return pipes immediately upstream of the connection.
- Two representing the main distribution supply and return pipes immediately downstream of the connection.
- The other two representing the branch connection supply and return pipes immediately upstream and downstream of the connection, respectively.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General › Nominal condition | |||
| 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 › Equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Dynamics › Nominal condition | |||
| Modelica.Units.SI.Time | tau | 10 | Time constant at nominal flow for dynamic energy and momentum balance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_aDisSup | Distribution supply inlet port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bDisSup | Distribution supply outlet port | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aDisRet | Distribution return inlet port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bDisRet | Distribution return outlet port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bCon | Connection supply port | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aCon | Connection return port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Model_pipDisSup | pipDisSup | Distribution supply pipe | |
| Model_pipDisRet | pipDisRet | Distribution return pipe | |
| Buildings.Fluid.FixedResistances.Junction | junConSup | Junction with connection supply | |
| Buildings.Fluid.FixedResistances.Junction | junConRet | Junction with connection return |
Contents
| Name | Description |
|---|---|
| Medium model for supply fluid | |
| Medium model for return fluid | |
Revisions
-
March 28, 2022, by Kathryn Hinkelman:
RemovedmassDynamics.
This is for issue 1542. -
March 2, 2022, by Antoine Gautier and Kathryn Hinkelman:
First implementation.