modelPseudoSource

Model to set the outlet state

Extends from ThermofluidStream.Interfaces.SISOFlow.

Information

Artificial process to set the outlet state as parameters or as time-varying input signal:

  • Pressure, temperature, mass fractions: (p,T,Xi) or
  • Pressure, specific enthalpy, mass fractions: (p,h,Xi)

See the example Tests.Processes.PseudoSource.

Parameters

TypeNameDefaultDescription
Pressure
ValueSpecificationpSpecThermofluidStream.Types.ValueSpecification.FixedSpecifies whether the outlet pressure is fixed or prescribed
Medium.AbsolutePressurep_out_fixedMedium.p_defaultFixed outlet pressure
Thermal
ThermalSpecificationthermalSpecThermofluidStream.Types.ThermalSpecification.TemperatureThermal quantity used to define the outlet state
ValueSpecificationthermalValueSpecThermofluidStream.Types.ValueSpecification.FixedSpecifies whether the outlet thermal quantity is fixed or prescribed
Medium.TemperatureT_out_fixedMedium.T_defaultFixed outlet temperature
Medium.SpecificEnthalpyh_out_fixedMedium.h_defaultFixed outlet specific enthalpy
Mass fractions
ValueSpecificationXiSpecThermofluidStream.Types.ValueSpecification.FixedSpecifies whether the outlet mass fractions are fixed or prescribed
Medium.MassFraction[Medium.nXi]Xi_out_fixedMedium.X_default[1:Medium.nXi]Fixed outlet mass fractions
Layout › Display parameters
BooleanshowPressuretrue= true to show the fixed outlet pressure value p_out_fixed
BooleanshowThermalSpecificationtrue= true to show the fixed thermal outlet value (either T_out_fixed or h_out_fixed)
BooleanshowMassFractionsfalse= true to show the fixed mass fraction values Xi_out_fixed

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputp_out_prescribedPrescribed outlet pressure [Pa]
Modelica.Blocks.Interfaces.RealInputT_out_prescribedOutlet temperature input connector [K]
Modelica.Blocks.Interfaces.RealInputh_out_prescribedOutlet specific enthalpy input connector [J/kg]
Modelica.Blocks.Interfaces.RealInput[Medium.nXi]Xi_out_prescribedOutlet mass fractions connector [kg/kg]
SI.TemperatureDifferencedTTemperature difference
SI.SpecificEnthalpydhDifference in specific enthalpy
Medium.TemperatureT_inMedium.temperature(inlet.state)Inlet temperature
Medium.TemperatureT_outOutlet temperature

Revisions

  • 2026-08, by Silvan Keim (silvan.keim@dlr.de):
    Improved icon.
  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.