modelMultiPort

Multiply a port; useful if multiple connections shall be made to a port exposing a state

Information

This model is useful if multiple connections shall be made to a port of a volume model exposing a state, like a pipe with ModelStructure av_vb. The mixing is shifted into the volume connected to port_a and the result is propagated back to each ports_b.

If multiple connections were directly made to the volume, then ideal mixing would take place in the connection set, outside the volume. This is normally not intended.

Parameters

TypeNameDefaultDescription
IntegernPorts_b0Number of outlet ports (mass is distributed evenly between the outlet ports

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_b]ports_b

Components

TypeNameDefaultDescription
Medium.MassFraction[nPorts_b,Medium.nXi]ports_b_Xi_inStreaminStream mass fractions at ports_b
Medium.ExtraProperty[nPorts_b,Medium.nC]ports_b_C_inStreaminStream extra properties at ports_b

Contents

NameDescription
positiveMax
Medium