
modelMultipleToSingle
Multiple inlet port, single outlet ports
Information
This is a model of a many-to-one fluid connector with an
optional control volume.
It is typically used to represent an outlet manifold or
multiple junctions converging into a single pipe.
Parameters
| Type | Name | Default | Description |
| Integer | icon_offset | 0 | Offset in y-direction between inlet and outlet in icon layer |
| Integer | icon_dy | 100 | Distance in y-direction between each branch in icon layer |
| Buildings.Templates.Components.Types.IntegrationPoint | icon_pipe | Buildings.Templates.Components.Types.IntegrationPoint.None | Pipe symbol |
| Configuration |
| Integer | nPorts | | Number of ports |
| Nominal condition |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | | Nominal mass flow rate |
| Dynamics › Nominal condition |
| Modelica.Units.SI.Time | tau | 10 | Time constant at nominal flow |
| Dynamics › Conservation equations |
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Assumptions |
| Boolean | allowFlowReversal | true | Set to true to allow flow reversal, false restricts to design direction (ports_a -> port_b) |
| Advanced › Diagnostics |
| Boolean | show_T | false | Set to true if actual temperature at port is computed |
Components
| Type | Name | Default | Description |
| Fluid.Delays.DelayFirstOrder | del | | Fluid volume to break algebraic loop |
| PassThroughFluid | pasSte | | Fluid pass-through in lieu of control volume |
| Medium.ThermodynamicState[nPorts] | sta_a | Medium.setState_phX(ports_a.p, noEvent(actualStream(ports_a.h_outflow)), noEvent(actualStream(ports_a.Xi_outflow))) | Medium properties in ports_a |
| Medium.ThermodynamicState | sta_b | Medium.setState_phX(port_b.p, noEvent(actualStream(port_b.h_outflow)), noEvent(actualStream(port_b.Xi_outflow))) | Medium properties in port_b |
Contents
| Name | Description |
Medium | Medium in the component |
Revisions
-
November 18, 2022, by Antoine Gautier:
First implementation.