modelSourceMassFlow
Flowrate source for water/steam flows
Extends from Icons.Water.SourceW.
Information
Modelling options
If G is set to zero, the flowrate source is ideal; otherwise, the outgoing flowrate decreases proportionally to the outlet pressure.
If use_T is false, the specific enthalpy is prescribed, otherwise the temperature is prescribed.
The mass flow rate, specific enthalpy and temperature can be supplied from external inputs by setting to true the corresponding use_in_XX parameter and connecting an external signal to the input connector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.MassFlowRate | w0 | 0 | Nominal mass flowrate |
| Medium.AbsolutePressure | p0 | 1e5 | Nominal pressure |
| Units.HydraulicConductance | G | 0 | Hydraulic conductance |
| Boolean | use_T | false | Use the temperature if true, otherwise use specific enthalpy |
| Medium.Temperature | T | 298.15 | Nominal temperature |
| Medium.SpecificEnthalpy | h | 1e5 | Nominal specific enthalpy |
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction |
| External inputs | |||
| Boolean | use_in_w0 | false | Use connector input for the mass flow |
| Boolean | use_in_T | false | Use connector input for the temperature |
| Boolean | use_in_h | false | Use connector input for the specific enthalpy |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeB | flange | ||
| Modelica.Blocks.Interfaces.RealInput | in_w0 | Externally supplied mass flow rate | |
| Modelica.Blocks.Interfaces.RealInput | in_T | Externally supplied temperature | |
| Modelica.Blocks.Interfaces.RealInput | in_h | Externally supplied specific enthalpy |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.System | system | System wide properties | |
| Medium.MassFlowRate | w | Mass flow rate |
Contents
| Name | Description |
|---|---|
Revisions
- 09 Oct 2017
by Francesco Casella:
Restructured and added temperature input. - 1 Oct 2003
by Francesco Casella:
First release.