modelBoundaryRealGas_hxV_flow_stp

A real gas boundary defining enthalpy, molar composition and volume flow at STP (1.013 bar, 273.15 K)

Extends from TransiEnt.Basics.Icons.GasSource (Icon for gas sources).

Information

1. Purpose of model

Boundary for real gases with volume flow at STP, specific enthalpy 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: volume flow rate in m3/s

Modelica RealInput: mole fraction in mol/mol

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_V_flow_nfalseTrue, if volume flow under normal conditions defined by variable input
Booleanvariable_hfalseTrue, if enthalpy defined by variable input
Booleanvariable_xfalseTrue, if composition defined by variable input
Constant Boundaries
SI.VolumeFlowRateV_flow_n_const0Constant volume flow rate under normal conditions (negative sign for outflowing)
SI.SpecificEnthalpyh_const8e5Constant specific enthalpy of source
SI.MoleFraction[medium.nc - 1]x_constzeros(medium.nc - 1)Constant molar composition
Nominal Values
SI.Pressurep_nom1e5Nominal flange pressure
SI.MassFlowRatem_flow_nom0Nominal flange mass flow (zero refers to ideal boundary)

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPort
TransiEnt.Basics.Interfaces.General.VolumeFlowRateInV_flow_nV_flow_n_inVariable volume flow rate under normal conditions
TransiEnt.Basics.Interfaces.General.SpecificEnthalpyInhh_inVariable specific enthalpy
TransiEnt.Basics.Interfaces.General.MoleFractionIn[medium.nc - 1]xx_inVariable molar compositions
Modelica.Blocks.Interfaces.RealOutputH_NCV
Modelica.Blocks.Interfaces.RealOutputH_GCV

Components

TypeNameDefaultDescription
SI.Massm
SI.MolarMassM_i
SI.MolarMassM
TransiEnt.SimCentersimCenter
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
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