modelConnection2Pipe_R
Model for connecting an agent to the DHC system
Extends from Buildings.DHC.Networks.BaseClasses.PartialConnection2Pipe (Partial model for connecting an agent to a two-pipe distribution network).
Information
This model represents the supply and return lines to connect an agent (e.g., an energy transfer station) to a two-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 PartialConnection2Pipe) | false | Set to true to output enthalpy flow rate difference |
| Real | dp_length_nominal | 250 | Pressure drop per pipe length at nominal flow rate |
| Modelica.Units.SI.Length | dhDisRet | Hydraulic diameter of the return distribution pipe | |
| Modelica.Units.SI.Length | lDis | Length of the distribution pipe before the connection | |
| Modelica.Units.SI.Length | dhDis | Hydraulic diameter of the distribution pipe | |
| General › Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | mDis_flow_nominal (from PartialConnection2Pipe2Medium) | Nominal mass flow rate in the distribution line | |
| Modelica.Units.SI.MassFlowRate | mCon_flow_nominal (from PartialConnection2Pipe2Medium) | Nominal mass flow rate in the connection line | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialConnection2Pipe2Medium) | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Dynamics › Equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics (from PartialConnection2Pipe2Medium) | 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 PartialConnection2Pipe2Medium) | 10 | Time constant at nominal flow for dynamic energy and momentum balance |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Model_pipDisSup | pipDisSup (from PartialConnection2Pipe2Medium) | Distribution supply pipe | |
| Model_pipDisRet | pipDisRet (from PartialConnection2Pipe2Medium) | Distribution return pipe | |
| Buildings.Fluid.FixedResistances.Junction | junConSup (from PartialConnection2Pipe2Medium) | Junction with connection supply | |
| Buildings.Fluid.FixedResistances.Junction | junConRet (from PartialConnection2Pipe2Medium) | Junction with connection return | |
| Model_pipCon | pipCon (from PartialConnection2Pipe) | Connection pipe | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloCon (from PartialConnection2Pipe) | Connection supply mass flow rate (measured) | |
| Fluid.Sensors.RelativePressure | senRelPre (from PartialConnection2Pipe) | Relative pressure sensor | |
| DifferenceEnthalpyFlowRate | senDifEntFlo (from PartialConnection2Pipe) | Difference in enthalpy flow rate |
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.