modelConnection1Pipe_R
Model for connecting an agent to the DHC system
Extends from Buildings.DHC.Networks.BaseClasses.PartialConnection1Pipe (Partial model for connecting an agent to a one-pipe distribution network).
Information
This model represents the supply and return lines to connect an agent (e.g., an energy transfer station) to a one-pipe main distribution system. The instances of the pipe model are autosized based on the pressure drop per pipe length at nominal flow rate based on the model Buildings.DHC.Networks.Pipes.PipeAutosize for the distribution line. The connection to the building as the length is typically relatively short so a losssless pipe is considered.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | show_entFlo (from PartialConnection1Pipe) | false | Set to true to output enthalpy flow rate difference |
| Boolean | show_TOut (from PartialConnection1Pipe) | false | Set to true to output temperature at connection outlet |
| Modelica.Units.SI.MassFlowRate | mDis_flow_nominal (from PartialConnection1Pipe) | Nominal mass flow rate in the distribution line | |
| Modelica.Units.SI.MassFlowRate | mCon_flow_nominal (from PartialConnection1Pipe) | Nominal mass flow rate in the connection line | |
| Real | dp_length_nominal | 250 | Pressure drop per pipe length at nominal flow rate |
| Modelica.Units.SI.Length | lDis | Length of the distribution pipe before the connection | |
| Modelica.Units.SI.Length | dhDis | Hydraulic diameter of the distribution pipe | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialConnection1Pipe) | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics (from PartialConnection1Pipe) | Modelica.Fluid.Types.Dynamics.FixedInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Advanced › Dynamics | |||
| Modelica.Fluid.Types.Dynamics | massDynamics (from PartialConnection1Pipe) | 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 (from PartialConnection1Pipe) | 10 | Time constant at nominal flow for dynamic energy and momentum balance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_aDis (from PartialConnection1Pipe) | Distribution inlet port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bDis (from PartialConnection1Pipe) | Distribution outlet port | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aCon (from PartialConnection1Pipe) | Connection return port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bCon (from PartialConnection1Pipe) | Connection supply port | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | mCon_flow (from PartialConnection1Pipe) | Connection supply mass flow rate (measured) | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | dH_flow (from PartialConnection1Pipe) | Difference in enthalpy flow rate between connection supply and return | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | mByp_flow (from PartialConnection1Pipe) | Bypass mass flow rate | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | TOut (from PartialConnection1Pipe) | Temperature in distribution line at connection outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Fluid.FixedResistances.Junction | junConSup (from PartialConnection1Pipe) | Junction with connection supply | |
| Fluid.FixedResistances.Junction | junConRet (from PartialConnection1Pipe) | Junction with connection return | |
| Model_pipDis | pipDis (from PartialConnection1Pipe) | Distribution pipe | |
| Model_pipCon | pipCon (from PartialConnection1Pipe) | Connection pipe | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloCon (from PartialConnection1Pipe) | Connection supply mass flow rate (measured) | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloByp (from PartialConnection1Pipe) | Bypass mass flow rate (measured) | |
| DifferenceEnthalpyFlowRate | senDifEntFlo (from PartialConnection1Pipe) | Difference in enthalpy flow rate | |
| Fluid.Sensors.TemperatureTwoPort | senTOut (from PartialConnection1Pipe) | Temperature in distribution line at connection outlet |
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.