modelBoundaryRear

Generic Boundary model (may act as source or sink)

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.

Information

A undirected boundary that can act as source and sink, depending on the rest of the system. The Boundary_rear has to be connected to the rear end of your model and therefore has a fore port.

At positive massflow the fore port acts as an outlet and therefore the boundary_rear is a source.

Parameters

TypeNameDefaultDescription
BooleandisplayPdisplayPressure and not pressureFromInput
BooleandisplayTdisplayTemperature and not temperatureFromInput and not setEnthalpy
StringdisplayPos1if displayP then "p = %p0_par" elseif displayT then "T = %T0_par" elseif displayInertance then "L = %L" else ""
StringdisplayPos2if displayP and displayT then "T = %T0_par" elseif displayInertance and (displayP or displayT) then "L = %L" else ""
StringdisplayPos3if displayP and displayT and displayInertance then "L = %L" else ""
Pressure
BooleanpressureFromInputfalse= true, if pressure input connector is enabled
Medium.AbsolutePressurep0_parMedium.p_defaultPressure set value
Temperature
BooleantemperatureFromInputfalse= true, if temperature input connector is enabled
Medium.TemperatureT0_parMedium.T_defaultTemperature set value
Mass fractions
BooleanxiFromInputfalse= true, if mass fractions input connector is enabled
Medium.MassFraction[Medium.nXi]Xi0_parMedium.X_default[1:Medium.nXi]Mass fraction set value
Specific enthalpy
BooleansetEnthalpyfalse= true, if specific enthalpy is set, (= false to set temperature)
BooleanenthalpyFromInputfalse= true, if specific enthalpy input connector is enabled
Medium.SpecificEnthalpyh0_parMedium.h_defaultSpecific enthalpy set value
Advanced
Utilities.Units.InertanceLdropOfCommons.LInertance
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regRegularization threshold of mass flow rate
Layout › Display parameters
BooleandisplayPressuretrue= true, if pressure p0_par is displayed
BooleandisplayTemperaturetrue= true, if temperature T0_par is displayed
BooleandisplayInertancefalse= true, if inertance L is displayed

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputp0_varPressure input connector [Pa]
Modelica.Blocks.Interfaces.RealInputT0_varTemperature input connector [K]
Modelica.Blocks.Interfaces.RealInputh0_varSpecific enthalpy input connector [J/kg]
Modelica.Blocks.Interfaces.RealInput[Medium.nXi]xi_varMass fractions input connector [kg/kg]
Interfaces.Forefore

Contents

NameDescription
MediumMedium model