Package Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities
Utility package for moist air

Information

This icon indicates a package containing utility classes.

Extends from Modelica.​Icons.​UtilitiesPackage (Icon for utility packages).

Package Contents

NameDescription
beta_HHenry's law constant
cp_dis_pTX 
cp_pTXSpecific isobaric heat capacity
cv_pTXSpecific isochoric heat capacity
f_pTEnhancement factor as function of pressure and temperature
h_dis_pTX 
h_dis_pTX_der 
h_pTXSpecific enthalpy of moist air
h_pTX_derDerivative of specific enthalpy of moist air
Ice09_UtilitiesUtility functions from IAPWS09 required for ice in air
IF97_newWorkaround for IF97
InversesCompute inverse function
pd_pTXpartial pressure of steam
pd_pTX_derDerivative of partial pressure of steam
pds_pTSaturation partial pressure of steam
pds_pT_derDerivative of saturation partial pressure of steam
phi_pTXRelative humidity
ReactionIndicesParameters and equations for determining reaction variables (dissociation VDI 4670)
rho_pTXReturn density as a function of pressure p, temperature T and composition X
rho_pTX_derDerivative of density as a function of pressure p, temperature T and composition X
s_dis_pTX 
s_pTXSpecific entropy of moist air
TransportPackage for transport properties of moist air
u_pTXInternal energy
u_pTX_derDerivative of internal energy
VirialCoefficientsVirial and cross-virial coefficients of air and water
Water95_UtilitiesUtility functions from IAPWS95 required for air temperatures below 273.15 K
xws_pTHumidity ratio (absolute) of saturated humid air
xws_pT_derDerivative of humidity ration (absolute) of saturated humid air

Package Constants

TypeNameValueDescription
final MoleFractionMMX[4]{0.018015257, 0.02801348, 0.0319988, 0.039948} 
final RealXi_Air[3]{0.7557, 0.2316, 0.0127} 

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​beta_H
Henry's law constant

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
Realbeta_HHenry's law constant

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​f_pT
Enhancement factor as function of pressure and temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
RealfVapor-pressure enhancement factor

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​rho_pTX
Return density as a function of pressure p, temperature T and composition X

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​pds_pT
Saturation partial pressure of steam

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
AbsolutePressurepdsPressure

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​pd_pTX
partial pressure of steam

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
AbsolutePressurepdpartial pressure

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​xws_pT
Humidity ratio (absolute) of saturated humid air

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
RealxwsAbsolute humidity ratio

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​phi_pTX
Relative humidity

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
RealphiRelative humidity

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​cp_pTX
Specific isobaric heat capacity

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​cv_pTX
Specific isochoric heat capacity

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​h_pTX
Specific enthalpy of moist air

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​h_dis_pTX
Icon for functions

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
RealuReaction index

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​s_pTX
Specific entropy of moist air

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​u_pTX
Internal energy

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEnergyuSpecific entropy

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​cp_dis_pTX
Icon for functions

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
RealuReaction index

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​s_dis_pTX
Icon for functions

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
RealuReaction index

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​pd_pTX_der
Derivative of partial pressure of steam

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
Realp_derDerivative of pressure
RealT_derDerivative of temperature
RealX_der[:]Derivative of mass fractions

Outputs

TypeNameDescription
Realpd_derDerivative of partial pressure

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​xws_pT_der
Derivative of humidity ration (absolute) of saturated humid air

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
Realp_derDerivative of pressure
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realxws_derDerivative of absolute humidity ratio

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​pds_pT_der
Derivative of saturation partial pressure of steam

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
Realp_derDerivative of pressure
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realpds_derDerivative of pressure

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​rho_pTX_der
Derivative of density as a function of pressure p, temperature T and composition X

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
Realp_derDerivative of pressure
RealT_derDerivative of temperature
RealX_der[:]Derivative of mass fractions

Outputs

TypeNameDescription
Reald_derDerivative of density

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​h_dis_pTX_der
Icon for functions

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
Realp_derDerivative of pressure
RealT_derDerivative of temperature
RealX_der[:]Derivative of mass fractions

Outputs

TypeNameDescription
Realu_derDerivative of reaction index

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​h_pTX_der
Derivative of specific enthalpy of moist air

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
Realp_derDerivative of pressure
RealT_derDerivative of temperature
RealX_der[:]Derivative of mass fractions

Outputs

TypeNameDescription
Realh_derDerivative of specific enthalpy

Function Modelica.​Media.​Air.​ReferenceMoistAir.​Utilities.​u_pTX_der
Derivative of internal energy

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
Realp_derDerivative of pressure
RealT_derDerivative of temperature
RealX_der[:]Derivative of mass fractions

Outputs

TypeNameDescription
Realu_derDerivative of specific entropy

Generated 2018-12-12 12:13:51 EST by MapleSim.