modelSISOFlow
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
Interface class for all components with an Inlet and an Outlet and a massflow without a mass storage between.
This class already implements the equations that are common for such components, namly the conservation of mass, the intertance equation, as well as the clipping of p_out to p_min.
If p_out should be lower the p_min, the remaining pressure drop is added on the difference in inertial pressure r, basically accelerating or decelerating the massflow.
The component offers different initialization methods for the massflow, as well as several parameters used in the equations above.
The clipping of the massflow can be turned off (this should be done by the modeler as a final modificator while extending to hide this option from the enduser).
considerInertance
For the parameter considerInertance, refer to Idealized.UsersGuide.InertanceNeglect.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Advanced | |||
| Boolean | considerInertance | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| Utilities.Units.Inertance | L | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect | StateSelect.default | State selection for mass flow rate |
| Boolean | clip_p_out | = false, if dr_corr=0 (correction of inertial pressure difference) | |
| Medium.AbsolutePressure | p_min | dropOfCommons.p_min | Minimum steady-state output pressure |
| Initialization › Mass flow rate | |||
| InitializationMethods | initM_flow | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 | 0 | Initial value for derivative of mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Inlet | inlet | ||
| Outlet | outlet | ||
| SI.MassFlowRate | m_flow | inlet.m_flow | Mass flow rate |
| SI.Pressure | dr_corr | Correction of inertial pressure difference | |
| SI.Pressure | dp | Pressure difference | |
| Medium.AbsolutePressure | p_in | Medium.pressure(inlet.state) | Inlet pressure |
| Medium.SpecificEnthalpy | h_in | Medium.specificEnthalpy(inlet.state) | Inlet specific enthalpy |
| Medium.MassFraction[Medium.nXi] | Xi_in | Medium.massFraction(inlet.state) | Inlet mass fractions |
| Medium.AbsolutePressure | p_out | Outlet pressure | |
| Medium.SpecificEnthalpy | h_out | Outlet specific enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_out | Outlet mass fractions |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |