modelSinkW

Flowrate sink for gas flows

Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions), Icons.Gas.SourceW.

Information

The actual gas used in the component is determined by the replaceable GasModel model. In the case of multiple component, variable composition gases, the nominal gas composition is given by Xnom, whose default value is Medium.reference_X .

If G is set to zero, the flowrate source is ideal; otherwise, the incoming flowrate increases proportionally to the outlet pressure.

If the in_w0 connector is wired, then the source massflowrate is given by the corresponding signal, otherwise it is fixed to w0.

If the in_T connector is wired, then the source temperature is given by the corresponding signal, otherwise it is fixed to T.

If the in_X connector is wired, then the source massfraction is given by the corresponding signal, otherwise it is fixed to Xnom.

Parameters

TypeNameDefaultDescription
Medium.AbsolutePressurep0101325Nominal pressure
Medium.TemperatureT300Nominal Temperature
Medium.MassFraction[Medium.nX]XnomMedium.reference_XNominal gas composition
Medium.MassFlowRatew00Nominal mass flowrate
Units.HydraulicConductanceG0Hydraulic Conductance
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputin_w0
Modelica.Blocks.Interfaces.RealInputin_T
Modelica.Blocks.Interfaces.RealInput[Medium.nX]in_X
FlangeAflange

Components

TypeNameDefaultDescription
Medium.BasePropertiesgas
ThermoPower.SystemsystemSystem wide properties
Medium.MassFlowRatew

Contents

NameDescription
Medium

Revisions

  • 19 Nov 2004 by Francesco Casella:
    Removed w0fix and Tfix and Xfix; the connection of external signals is now detected automatically.

  • Adapted to Modelica.Media
  • 1 Oct 2003 by Francesco Casella:
    First release.