
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
| Type | Name | Default | Description |
| Integer | nPorts (from PartialFlowSource) | 0 | Number of ports |
| Boolean | use_m_flow_in (from MassFlowSource_T) | false | Get the mass flow rate from the input connector |
| Boolean | use_T_in (from MassFlowSource_T) | false | Get the temperature from the input connector |
| Boolean | use_X_in (from MassFlowSource_T) | false | Get the composition from the input connector |
| Boolean | use_C_in (from MassFlowSource_T) | false | Get the trace substances from the input connector |
| Medium.MassFlowRate | m_flow (from MassFlowSource_T) | 0 | Fixed mass flow rate going out of the fluid port |
| Medium.Temperature | T (from MassFlowSource_T) | Medium.T_default | Fixed value of temperature |
| Medium.MassFraction[Medium.nX] | X (from MassFlowSource_T) | Medium.X_default | Fixed value of composition |
| Medium.ExtraProperty[Medium.nC] | C (from MassFlowSource_T) | Medium.C_default | Fixed values of trace substances |
| Initialization › fluid_1 |
| Modelica.SIunits.MassFlowRate | m_flow_init | -0.01 | |
| Modelica.SIunits.Pressure | p_init | 20*101.3*1000 | |
| Modelica.SIunits.Temperature | T_init | 400.0 | |
| Modelica.SIunits.SpecificEnthalpy | h_init | T_init*1000 | |