modelGas_pT

Gas vapor model with p, T and xi as independent variables

Extends from TILMedia.BaseClasses.PartialGas_pT (Gas vapor model with p, T and xi as independent variables).

Information

The gas model Gas_pT calculates the thermopyhsical property data with given inputs: pressure (p), temperature (T), mass fraction (xi) and the parameter gasType.
The interface and the way of using, is demonstrated in the Testers -> TestGas.


Parameters

TypeNameDefaultDescription
TILMedia.Gas.Types.BaseGasgasType (from PartialGas_pT)
SI.MolarMass[gasType.nc]M_i (from PartialGas_pT)Molar mass of component i
Advanced
TILMedia.Internals.TILMediaExternalObjectgasPointer (from PartialGas_pT)
BooleanstateSelectPreferForInputs (from PartialGas_pT)false=true, StateSelect.prefer is set for input variables
BooleancomputeTransportProperties (from PartialGas_pT)false=true, if transport properties are calculated

Components

TypeNameDefaultDescription
SI.Densityd (from PartialGas_pT)Density
SI.SpecificEnthalpyh (from PartialGas_pT)Specific enthalpy
SI.AbsolutePressurep (from PartialGas_pT)Pressure
SI.SpecificEntropys (from PartialGas_pT)Specific entropy
SI.TemperatureT (from PartialGas_pT)Temperature
SI.MassFraction[gasType.nc - 1]xi (from PartialGas_pT)gasType.xi_defaultMass fraction
SI.MassFraction[if (gasType.nc > 1 and gasType.condensingIndex > 0) then gasType.nc - 2 else 0]xi_dryGas (from PartialGas_pT)Mass fraction
SI.MoleFraction[gasType.nc - 1]x (from PartialGas_pT)Mole fraction
SI.MolarMassM (from PartialGas_pT)Average molar mass
SI.SpecificHeatCapacitycp (from PartialGas_pT)Specific isobaric heat capacity cp
SI.SpecificHeatCapacitycv (from PartialGas_pT)Specific isochoric heat capacity cv
SI.LinearExpansionCoefficientbeta (from PartialGas_pT)Isobaric thermal expansion coefficient
SI.Compressibilitykappa (from PartialGas_pT)Isothermal compressibility
SI.Velocityw (from PartialGas_pT)Speed of sound
SI.DerDensityByEnthalpydrhodh_pxi (from PartialGas_pT)Derivative of density wrt specific enthalpy at constant pressure and mass fraction
SI.DerDensityByPressuredrhodp_hxi (from PartialGas_pT)Derivative of density wrt pressure at specific enthalpy and mass fraction
TILMedia.Internals.Units.DensityDerMassFraction[gasType.nc - 1]drhodxi_ph (from PartialGas_pT)Derivative of density wrt mass fraction of water at constant pressure and specific enthalpy
SI.PartialPressure[gasType.nc]p_i (from PartialGas_pT)Partial pressure
SI.MassFractionxi_gas (from PartialGas_pT)Mass fraction of gasoues condensing component
TILMedia.Internals.Units.RelativeHumidityphi (from PartialGas_pT)Relative humidity
SI.PartialPressurep_s (from PartialGas_pT)Saturation partial pressure of condensing component
SI.MassFractionxi_s (from PartialGas_pT)Saturation mass fraction of condensing component
SI.SpecificEnthalpydelta_hv (from PartialGas_pT)Specific enthalpy of vaporation of condensing component
SI.SpecificEnthalpydelta_hd (from PartialGas_pT)Specific enthalpy of desublimation of condensing component
SI.SpecificEnthalpy[gasType.nc]h_i (from PartialGas_pT)Specific enthalpy of pure ideal gas component
RealhumRatio (from PartialGas_pT)Content of condensing component aka humidity ratio
RealhumRatio_s (from PartialGas_pT)Saturation content of condensing component aka saturation humidity ratio
SI.SpecificEnthalpyh1px (from PartialGas_pT)Enthalpy H divided by the mass of components that cannot condense
TILMedia.Internals.TransportPropertyRecordtransp (from PartialGas_pT)Transport property record