modelGasSinkP

Pressure sink for gas flows

Information

This is a model for a fluid boundary condition with fixed

  • pressure
  • 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 Xi_start, whose default value is Medium.reference_X .

If R is set to zero, the pressure sink is ideal; otherwise, the inlet pressure increases proportionally to the outgoing flowrate.

If the p_In connector is wired, then the source pressure is given by the corresponding signal, otherwise it is fixed to p_start.

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

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

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.Pressurep_start101325Pressure
SiemensPower.Units.TemperatureT_start300Temperature for reverse flow
Booleanuse_p_Infalse
Booleanuse_T_Infalse

Connectors

TypeNameDefaultDescription
SiemensPower.Interfaces.portGasInportGas
Modelica.Blocks.Interfaces.RealInputp_In
Modelica.Blocks.Interfaces.RealInputT_In

Components

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

Revisions

  • December 2006, added to SiemensPower by Haiko Steuer
  • August 26, 2005 by Jonas Eborn:
    First release.