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:

  • UseT: if true uses the temperature as an input instead of using enthalpy

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

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRateMdot_00Mass flowrate if no connector
Modelica.Units.SI.Pressurep101325Pressure
BooleanUseTtrueUse temperature as input instead of enthalpy
Modelica.Units.SI.TemperatureT_0298.15Temperature if no connector
Modelica.Units.SI.SpecificEnthalpyh_00Enthalpy if no connector

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputin_Mdot
Modelica.Blocks.Interfaces.RealInputin_h
Modelica.Blocks.Interfaces.RealInputin_T
Modelica.Fluid.Interfaces.FluidPort_bflangeB

Components

TypeNameDefaultDescription
Modelica.Units.SI.SpecificEnthalpyhspecific enthalpy

Contents

NameDescription
Medium