modelBoundaryRealGas_phxi

A real gas boundary defining enthalpy, mass composition and mass flow

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

Information

1. Purpose of model

Boundary for real gases with pressure, specific enthalpy and mass 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: mass fraction in kg/kg

Modelica RealInput: specific enthalpy in kJ/kg

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_hfalseTrue, if enthalpy defined by variable input
Booleanvariable_xifalseTrue, if composition defined by variable input
BooleanverbosefalseShow initial gas compostion in log
Constant Boundaries
SI.AbsolutePressurep_constsimCenter.p_amb_const + simCenter.p_eff_2Constant absolute pressure
SI.SpecificEnthalpyh_const-1.8e3Constant specific enthalpy of source
SI.MassFraction[medium.nc - 1]xi_constmedium.xi_defaultConstant mass 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.SpecificEnthalpyInhh_inVariable specific enthalpy
TransiEnt.Basics.Interfaces.General.MassFractionIn[medium.nc - 1]xixi_inVariable mass composition
Modelica.Blocks.Interfaces.RealOutputH_GCV
Modelica.Blocks.Interfaces.RealOutputH_NCV

Components

TypeNameDefaultDescription
SI.Massm
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