modelPseudoSource
Model to set the outlet state
Extends from ThermofluidStream.Interfaces.SISOFlow (Base Model with basic flow eqautions for SISO).
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 |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| Boolean | considerInertance (from SISOFlow) | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| Utilities.Units.Inertance | L (from SISOFlow) | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect (from SISOFlow) | StateSelect.default | State selection for mass flow rate |
| Boolean | clip_p_out (from SISOFlow) | = false, if dr_corr=0 (correction of inertial pressure difference) | |
| Medium.AbsolutePressure | p_min (from SISOFlow) | dropOfCommons.p_min | Minimum steady-state output pressure |
| Initialization › Mass flow rate | |||
| InitializationMethods | initM_flow (from SISOFlow) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 (from SISOFlow) | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 (from SISOFlow) | 0 | Initial value for derivative of mass flow rate |
| 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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Inlet | inlet (from SISOFlow) | ||
| Outlet | outlet (from SISOFlow) | ||
| 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] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from SISOFlow) | inlet.m_flow | Mass flow rate |
| SI.Pressure | dr_corr (from SISOFlow) | Correction of inertial pressure difference | |
| SI.Pressure | dp (from SISOFlow) | Pressure difference | |
| Medium.AbsolutePressure | p_in (from SISOFlow) | Medium.pressure(inlet.state) | Inlet pressure |
| Medium.SpecificEnthalpy | h_in (from SISOFlow) | Medium.specificEnthalpy(inlet.state) | Inlet specific enthalpy |
| Medium.MassFraction[Medium.nXi] | Xi_in (from SISOFlow) | Medium.massFraction(inlet.state) | Inlet mass fractions |
| Medium.AbsolutePressure | p_out (from SISOFlow) | Outlet pressure | |
| Medium.SpecificEnthalpy | h_out (from SISOFlow) | Outlet specific enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_out (from SISOFlow) | Outlet mass fractions | |
| 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.