modelPipeManifoldFixedResistance
Pipe manifold for a heat exchanger connection
Extends from PartialPipeManifold (Partial pipe manifold for a heat exchanger).
Information
Pipe manifold with a fixed flow resistance.
This model is composed of a pressure drop calculation, and
a flow distributor. The flow distributor distributes the
mass flow rate equally to each instance of port_b,
without having to compute a pressure drop in each flow leg.
Note: It is important that there is an equal pressure drop in each flow leg between this model, and the model that collects the flows. Otherwise, no solution may exist, and therefore the simulation may stop with an error.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPipPar (from PartialDuctPipeManifold) | Number of parallel pipes in each register | |
| Boolean | use_dh | false | Set to true to specify hydraulic diameter |
| Modelica.Units.SI.Length | dh | 0.025 | Hydraulic diameter for each pipe |
| Real | ReC | 4000 | Reynolds number where transition to turbulence starts |
| Real | deltaM | 0.3 | Fraction of nominal mass flow rate where transition to turbulent occurs |
| Real | n | 2 | Flow exponent, n=1 for laminar, n=2 for turbulent |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialDuctPipeManifold) | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Initialization | |||
| Modelica.Units.SI.MassFlowRate | mStart_flow_a (from PartialDuctPipeManifold) | Guess value for mass flow rate at port_a | |
| Nominal Condition | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Mass flow rate at port_a | |
| Modelica.Units.SI.PressureDifference | dp_nominal | Pressure drop | |
| Advanced | |||
| Boolean | linearized | false | = true, use linear relation between m_flow and dp for any flow rate |
| Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialDuctPipeManifold) | Fluid connector a for medium (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from PartialPipeManifold) | Fluid connector b for medium (positive design flow direction is from port_a to port_b) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.FixedResistances.PressureDrop | fixRes | Fixed resistance for each duct |
Revisions
-
June 17, 2026, by Michael Wetter:
Updated implementation to allow a flow coefficientnthat is different from2. This allows use of the model for not fully turbulent flow.
This is for Buildings, #4620. -
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference. This is for #404. -
June 29, 2014, by Michael Wetter:
Added model that distributes the mass flow rate equally to each instance ofport_b. -
September 10, 2008, by Michael Wetter:
Added additional parameters. -
August 22, 2008, by Michael Wetter:
Added start value for resistance mass flow rate. -
April 14, 2008, by Michael Wetter:
First implementation.