modelGasSource

Flowrate source for gas flows

Information

This is a model for a fluid boundary condition with fixed

  • mass flow rate
  • temperature
  • composition

Modelling options

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

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

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

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

Author: Kilian Link SCD
Checked by:
Protection class:
Used Dymola version:
Copyright © 2007 Siemens AG, PG EIP12. All rights reserved.

This model is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. For details see disclaimer

Parameters

TypeNameDefaultDescription
SiemensPower.Units.TemperatureT_start300Temperature
SiemensPower.Units.MassFlowRatem_flow_start0Mass flow rate
Booleanuse_m_flow_setfalse
Booleanuse_T_setfalse
Booleanuse_Xi_setfalse
Advanced
SiemensPower.Units.AbsolutePressurep_start101325Nominal pressure

Connectors

TypeNameDefaultDescription
SiemensPower.Interfaces.portGasOutport
Modelica.Blocks.Interfaces.RealInputm_flow_set
Modelica.Blocks.Interfaces.RealInputT_set

Components

TypeNameDefaultDescription
SiemensPower.Units.Pressurep
SiemensPower.Units.TemperatureT
SiemensPower.Units.SpecificEnthalpyh
SiemensPower.Units.MassFlowRatem_flow

Revisions

  • Feb 2009, modified for stream connectors by Haiko Steuer
  • December 2006, added to SiemensPower by Haiko Steuer
  • August 26, 2005 by Jonas Eborn:
    First release.