modelJunction

Partial junction

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus (Extend this to use 'dropOfCommons', 'instanceName', 'displayInstanceName' and 'displayParameters').

Information

Base model for ideal junction that should be used when the mass flow rate is specified at one or both inlets.

The model is locally underdetermined (one equation missing) and therefore must be connected to an overdetermined component (e.g., MassFlowRate) to ensure that the overall system is not underdetermined.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
SpecificationfreeThermofluidStream.Idealized.Topology.Types.FreeJunctionInlet.AFree inlet
StringnamegetInstanceName()
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
SI.MassFlowRatem_flow_epsdropOfCommons.m_flow_regRegularization threshold for small mass flows
BooleanconsiderInertancedropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
ThermofluidStream.Utilities.Units.InertanceLdropOfCommons.LInertance of each inlet/outlet
Warnings
AssertionLevelassertionLevelAssertionLevel.warningAssertion level
RealrelTol_dp_AB1e-3Relative tolerance for inlet pressure difference pA, pB

Connectors

TypeNameDefaultDescription
ThermofluidStream.Interfaces.OutletoutletOutlet

Components

TypeNameDefaultDescription
RealisDPWithinTol= 1.0 if pressure difference is within tolerance, = -1.0 if tolerance is exceeded
Medium.ThermodynamicStatestateAInlet A state
Medium.ThermodynamicStatestateBInlet B state
SI.MassFlowRatem_flowAMass flow rate inlet A
SI.MassFlowRatem_flowBMass flow rate inlet B
SI.MassFlowRatem_flowA_regabs(m_flowA) + m_flow_epsRegularized mass flow rate
SI.MassFlowRatem_flowB_regabs(m_flowB) + m_flow_epsRegularized mass flow rate
Realdp_AB_relRelative difference in pressure at junction inlets
Medium.SpecificEnthalpyh_mixOutlet specific enthalpy
Medium.AbsolutePressurep_mixOutlet (steady mass-flow) pressure
SI.Pressurer_mixOutlet inertial pressure
Medium.MassFraction[Medium.nXi]Xi_mixOutlet mass fractions

Contents

NameDescription
MediumMedium model

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.