modelMassFlowSource_h
Ideal flow source that produces a prescribed mass flow with prescribed specific enthalpy
Information
Models an ideal flow source, with prescribed values of flow rate, temperature and composition:
- Prescribed mass flow rate.
- Prescribed specific enthalpy.
- Boundary composition (only for multi-substance or trace-substance flow).
If use_m_flow_in is false (default option), the m_flow parameter
is used as boundary pressure, and the m_flow_in input connector is disabled; if use_m_flow_in is true, then the m_flow parameter is ignored, and the value provided by the input connector is used instead.
The same thing goes for the temperature and composition
Note, that boundary temperature, mass fractions and trace substances have only an effect if the mass flow is from the boundary into the port. If mass is flowing from the port into the boundary, the boundary definitions, with exception of boundary flow rate, do not have an effect.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_m_flow_in | false | Get the mass flow rate from the input connector |
| Boolean | use_h_in | false | Get the specific enthalpy from the input connector |
| SiemensPower.Units.MassFlowRate | m_flow_start | 0 | Fixed mass flow rate going out of the fluid port |
| SiemensPower.Units.SpecificEnthalpy | h_start | 4e5 | Fixed value of specific enthalpy |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | m_flow_in | Prescribed mass flow rate | |
| Modelica.Blocks.Interfaces.RealInput | hIn | Prescribed fluid specific enthalpy | |
| Interfaces.FluidPort_b | port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SiemensPower.Units.AbsolutePressure | p | ||
| SiemensPower.Units.SpecificEnthalpy | h | ||
| SiemensPower.Units.MassFlowRate | m_flow |