modelSISOBiFlow

Base Model with basic flow eqautions for SISO

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus (Extend this to use 'dropOfCommons', 'instanceName', 'displayInstanceName' and 'displayParameters').

Information

Interface class for all components with one fore and one rear port 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).

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
Utilities.Units.InertanceLdropOfCommons.LInertance
StateSelectm_flowStateSelectStateSelect.defaultState select for mass flow rate
Booleanclip_p_outIf true, set dr_corr to zero
Medium.AbsolutePressurep_mindropOfCommons.p_minMinimal steady-state output pressure
Initialization
InitializationMethodsinitM_flowThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_00Initial value for mass flow rate
Utilities.Units.MassFlowAccelerationm_acceleration_00Initial value for der(m_flow)
Advanced › Regularization
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regRegularization threshold of mass flow rate

Connectors

TypeNameDefaultDescription
Forefore
Rearrear

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flowrear.m_flowMass flow rate
SI.Pressuredp_fore
SI.Pressuredp_rear
SI.Pressuredr_corr_fore
SI.Pressuredr_corr_rear
SI.Pressuredr_corr

Contents

NameDescription
MediumMedium model