modelFlowJoin

Joins two gas flows

Extends from Icons.Gas.FlowJoin.

Information

This component allows to join two separate flows into one. The model is based on mass and energy balance equations, without any mass or energy buildup, and without any pressure drop between the inlet and the outlets.

Since stream connectors are used in the library, this component is actually not necessary to handle a three-way connection. It can be used for a finer tuning of the simplified model for initialization using homotopy, in particularly hard-to-initialize systems, and it is included in the library for backwards compatibility.

Modelling options

If rev_inlet1, rev_inlet2 or rev_outlet is true, the respective flows reversal is allowed. If at least ona among these parameters is false, it is possible to set checkFlowDirection.

If checkFlowDirection is true, when the flow reversal happen where it is not allowed, the error message is showed.

Parameters

TypeNameDefaultDescription
Medium.MassFlowRatewzero1e-9Small flowrate to avoid singularity in computing the outlet enthalpy and composition
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
Booleanrev_inlet1allowFlowReversalAllow flow reversal at inlet1
Booleanrev_inlet2allowFlowReversalAllow flow reversal at inlet2
Booleanrev_outletallowFlowReversalAllow flow reversal at outlet
BooleancheckFlowDirectionfalseCheck flow direction

Connectors

TypeNameDefaultDescription
FlangeAinlet1
FlangeAinlet2
FlangeBoutlet

Components

TypeNameDefaultDescription
ThermoPower.SystemsystemSystem wide properties

Contents

NameDescription
Medium

Revisions