modelMassFlowSource_T

same model as MassFlowSource_T in MSL. Initialization parameters are added.

Extends from Modelica.Fluid.Sources.MassFlowSource_T (Ideal flow source that produces a prescribed mass flow with prescribed temperature, mass fraction and trace substances).

Parameters

TypeNameDefaultDescription
IntegernPorts (from PartialFlowSource)0Number of ports
Booleanuse_m_flow_in (from MassFlowSource_T)falseGet the mass flow rate from the input connector
Booleanuse_T_in (from MassFlowSource_T)falseGet the temperature from the input connector
Booleanuse_X_in (from MassFlowSource_T)falseGet the composition from the input connector
Booleanuse_C_in (from MassFlowSource_T)falseGet the trace substances from the input connector
Medium.MassFlowRatem_flow (from MassFlowSource_T)0Fixed mass flow rate going out of the fluid port
Medium.TemperatureT (from MassFlowSource_T)Medium.T_defaultFixed value of temperature
Medium.MassFraction[Medium.nX]X (from MassFlowSource_T)Medium.X_defaultFixed value of composition
Medium.ExtraProperty[Medium.nC]C (from MassFlowSource_T)Medium.C_defaultFixed values of trace substances
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow_init-0.01
Modelica.SIunits.Pressurep_init20*101.3*1000
Modelica.SIunits.TemperatureT_init400.0
Modelica.SIunits.SpecificEnthalpyh_initT_init*1000

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_b[nPorts]ports (from PartialFlowSource)
Modelica.Blocks.Interfaces.RealInputm_flow_in (from MassFlowSource_T)Prescribed mass flow rate
Modelica.Blocks.Interfaces.RealInputT_in (from MassFlowSource_T)Prescribed fluid temperature
Modelica.Blocks.Interfaces.RealInput[Medium.nX]X_in (from MassFlowSource_T)Prescribed fluid composition
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_in (from MassFlowSource_T)Prescribed boundary trace substances

Components

TypeNameDefaultDescription
Medium.BasePropertiesmedium (from PartialFlowSource)Medium in the source