modelSourceMdot
Flowrate source for fluid flows
Extends from Greenhouses.Icons.Water.SourceW.
Information
Model SourceMdot represents an ideal mass flow sources, with prescribed enthalpy of the fluid flowing from the model to the port (i.e. out of the model).
Modelling options
In the General tab the following option is available:
The mass flow and temperature or enthalpy can be set as parameters or defined by the connectors.
Note that boundary mass flow and enthalpy are imposed by the model only if the fluid is flowing out of the model. If flow reversal happens (i.e. mass flow flowing into SourceMdot) then the boundary pressure is imposed by the model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | Mdot_0 | 0 | Mass flowrate if no connector |
| Modelica.Units.SI.Pressure | p | 101325 | Pressure |
| Boolean | UseT | true | Use temperature as input instead of enthalpy |
| Modelica.Units.SI.Temperature | T_0 | 298.15 | Temperature if no connector |
| Modelica.Units.SI.SpecificEnthalpy | h_0 | 0 | Enthalpy if no connector |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | in_Mdot | ||
| Modelica.Blocks.Interfaces.RealInput | in_h | ||
| Modelica.Blocks.Interfaces.RealInput | in_T | ||
| Modelica.Fluid.Interfaces.FluidPort_b | flangeB |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificEnthalpy | h | specific enthalpy |
Contents
| Name | Description |
|---|---|