modelBoundaryRealGas_pTx

A real gas boundary defining pressure, temperature, molar composition

Extends from TransiEnt.Basics.Icons.GasSink (Icon for gas sinks).

Information

1. Purpose of model

Boundary for real gases with pressure, temperature and mole fraction input.

2. Level of detail, physical effects considered, and physical insight

(Purely technical component without physical modeling.)

3. Limits of validity

(Purely technical component without physical modeling.)

4. Interfaces

Gas

IdealGasEnthPortIn

Modelica RealInput: pressure in Pa

Modelica RealInput: mole fraction in mol/mol

Modelica RealInput: temperature in K

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Created by Lisa Andresen (andresen@tuhh.de), Aug 2015

Parameters

TypeNameDefaultDescription
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel1Medium to be used
BooleancalculateMassfalseTrue if mass in boundary shall be calculated
BooleancalculateH_GCVfalseTrue if energy related to GCV shall be calculated
BooleancalculateH_NCVfalseTrue if energy related to NCV shall be calculated
Define Variable Boundaries
Booleanvariable_pfalseTrue, if pressure defined by variable input
Booleanvariable_TfalseTrue, if temperature defined by variable input
Booleanvariable_xfalseTrue, if composition defined by variable input
Constant Boundaries
SI.AbsolutePressurep_constsimCenter.p_amb_const + simCenter.p_eff_2Constant pressure of source
SI.TemperatureT_constsimCenter.T_groundConstant temperature of source
SI.MoleFraction[medium.nc - 1]x_constzeros(medium.nc - 1)Constant molar composition
Nominal Values
SI.PressureDelta_p0Flange pressure drop at nominal mass flow (zero refers to ideal boundary)
SI.MassFlowRatem_flow_nom0Nominal flange mass flow (zero refers to ideal boundary)

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPort
TransiEnt.Basics.Interfaces.General.PressureInpp_inVariable absolute pressure
TransiEnt.Basics.Interfaces.General.TemperatureInTT_inVariable temperature
TransiEnt.Basics.Interfaces.General.MoleFractionIn[medium.nc - 1]xx_inVariable molar composition
Modelica.Blocks.Interfaces.RealOutputH_GCV
Modelica.Blocks.Interfaces.RealOutputH_NCV

Components

TypeNameDefaultDescription
SI.Massm
SI.MolarMassM_i
SI.MolarMassM
TransiEnt.SimCentersimCenter
Modelica.Blocks.Sources.RealExpression[medium.nc - 1]xi_actual
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Sources.Constantzero
Modelica.Blocks.Sources.RealExpressionMassFlow
Modelica.Blocks.Sources.RealExpression[medium.nc - 1]xi_actual2
Modelica.Blocks.Math.Productproduct1
Modelica.Blocks.Continuous.Integratorintegrator1
Modelica.Blocks.Sources.Constantzero1
Modelica.Blocks.Sources.RealExpressionMassflow2