modelThroughMassFlow
Prescribes the flow rate across the component
Extends from Icons.Water.SourceW.
Information
This component prescribes the flow rate passing through it. The change of specific enthalpy due to the pressure difference between the inlet and the outlet is ignored; useModelling options
If w0Fix is set to true, the flowrate is given by the parameter w0; otherwise, the in_w0 connector must be wired, providing the (possibly varying) flowrate value.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.MassFlowRate | w0 | 0 | Nominal mass flow rate |
| 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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeA | inlet | ||
| FlangeB | outlet | ||
| Modelica.Blocks.Interfaces.RealInput | in_w0 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.System | system | System wide properties | |
| Medium.MassFlowRate | w | Mass flow rate |
Contents
| Name | Description |
|---|---|
Revisions
- 18 Mar 2005
by Francesco Casella:
First release.