modelBoundaryRealGas_Txim_flow

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

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

Information

1. Purpose of model

Boundary for real gases with mass flow, temperature 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: mass flow rate in kg/s

Modelica RealInput: mass fraction in kg/kg

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_m_flowfalseTrue, if mass flow defined by variable input
Booleanvariable_TfalseTrue, if temperature defined by variable input
Booleanvariable_xifalseTrue, if composition defined by variable input
BooleanverbosefalseShow initial gas compostion in log
Constant Boundaries
SI.MassFlowRatem_flow_const0Constant mass flow rate (negative sign for source)
SI.TemperatureT_constsimCenter.T_groundConstant temperature of source
SI.MassFraction[medium.nc - 1]xi_constmedium.xi_defaultConstant 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.MassFlowRateInm_flowm_flow_inVariable mass flow rate
TransiEnt.Basics.Interfaces.General.TemperatureInTT_inVariable temperature
TransiEnt.Basics.Interfaces.General.MassFractionIn[medium.nc - 1]xixi_inVariable mass composition
Modelica.Blocks.Interfaces.RealOutputH_GCV
Modelica.Blocks.Interfaces.RealOutputH_NCV

Components

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