modelMultipleToMultiple

Multiple inlet ports, multiple outlet ports

Information

This is a model of a many-to-many fluid connector with an optional control volume, and an optional mixing port (common leg). It is typically used to connect parallel pumps with parallel chillers or boilers. Selecting a mixing port allows modeling a headered pumping arrangement. Without any mixing port, a dedicated pumping arrangement is modeled.

Parameters

TypeNameDefaultDescription
Integericon_xinl-100Minimum x-coordinate of inlet connection lines
Integericon_xout100Maximum x-coordinate of outlet connection lines
Integericon_offset0Offset in y-direction between inlet and outlet in icon layer
Integericon_dy100Distance in y-direction between each branch in icon layer
Buildings.Templates.Components.Types.IntegrationPointicon_pipeBuildings.Templates.Components.Types.IntegrationPoint.SupplyPipe symbol
Configuration
IntegernPorts_aNumber of inlet ports
IntegernPorts_bnPorts_aNumber of outlet ports
Booleanhave_comLegfalseSet to true for common leg between inlet and outlet ports (headered connection)
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate
Dynamics › Nominal condition
Modelica.Units.SI.Timetau10Time constant at nominal flow
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (ports_a -> ports_b)
Advanced › Diagnostics
Booleanshow_TfalseSet to true if actual temperature at port is computed

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_a]ports_aFluid connector a (positive design flow direction is from ports_a to ports_b)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_b]ports_bFluid connectors b (positive design flow direction is from ports_a to ports_b)
Modelica.Fluid.Interfaces.FluidPort_aport_aComLegCommon leg port - Case with common leg

Components

TypeNameDefaultDescription
PassThroughFluid[nPorts_a]pasDedDedicated fluid pass-through if dedicated arrangement
Medium.ThermodynamicState[nPorts_a]sta_aMedium.setState_phX(ports_a.p, noEvent(actualStream(ports_a.h_outflow)), noEvent(actualStream(ports_a.Xi_outflow)))Medium properties in ports_a
Medium.ThermodynamicState[nPorts_b]sta_bMedium.setState_phX(ports_b.p, noEvent(actualStream(ports_b.h_outflow)), noEvent(actualStream(ports_b.Xi_outflow)))Medium properties in ports_b
Fluid.Delays.DelayFirstOrderdelFluid volume to break algebraic loop - Case with common leg
PassThroughFluidpasSteInlFluid pass-through in lieu of control volume - Case with common leg
PassThroughFluidpasSteOutFluid pass-through in lieu of control volume - Case with common leg

Contents

NameDescription
MediumMedium in the component

Revisions

  • November 18, 2022, by Antoine Gautier:
    First implementation.