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
| Type | Name | Default | Description |
|---|---|---|---|
| Pressure | |||
| ValueSpecification | pSpec | ThermofluidStream.Types.ValueSpecification.Fixed | Specifies whether the outlet pressure is fixed or prescribed |
| Medium.AbsolutePressure | p_out_fixed | Medium.p_default | Fixed outlet pressure |
| Thermal | |||
| ThermalSpecification | thermalSpec | ThermofluidStream.Types.ThermalSpecification.Temperature | Thermal quantity used to define the outlet state |
| ValueSpecification | thermalValueSpec | ThermofluidStream.Types.ValueSpecification.Fixed | Specifies whether the outlet thermal quantity is fixed or prescribed |
| Medium.Temperature | T_out_fixed | Medium.T_default | Fixed outlet temperature |
| Medium.SpecificEnthalpy | h_out_fixed | Medium.h_default | Fixed outlet specific enthalpy |
| Mass fractions | |||
| ValueSpecification | XiSpec | ThermofluidStream.Types.ValueSpecification.Fixed | Specifies whether the outlet mass fractions are fixed or prescribed |
| Medium.MassFraction[Medium.nXi] | Xi_out_fixed | Medium.X_default[1:Medium.nXi] | Fixed outlet mass fractions |
| Layout › Display parameters | |||
| Boolean | showPressure | true | = true to show the fixed outlet pressure value p_out_fixed |
| Boolean | showThermalSpecification | true | = true to show the fixed thermal outlet value (either T_out_fixed or h_out_fixed) |
| Boolean | showMassFractions | false | = true to show the fixed mass fraction values Xi_out_fixed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | p_out_prescribed | Prescribed outlet pressure [Pa] | |
| Modelica.Blocks.Interfaces.RealInput | T_out_prescribed | Outlet temperature input connector [K] | |
| Modelica.Blocks.Interfaces.RealInput | h_out_prescribed | Outlet specific enthalpy input connector [J/kg] | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nXi] | Xi_out_prescribed | Outlet mass fractions connector [kg/kg] | |
| SI.TemperatureDifference | dT | Temperature difference | |
| SI.SpecificEnthalpy | dh | Difference in specific enthalpy | |
| Medium.Temperature | T_in | Medium.temperature(inlet.state) | Inlet temperature |
| Medium.Temperature | T_out | Outlet temperature |
Revisions
-
2026-08, by Silvan Keim (silvan.keim@dlr.de):
Improved icon. -
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.