Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new

Workaround for IF97 avoiding the region validity checks for region 2

Information

This is a makeshift package avoiding the region validity checks of the IF97 utility functions BaseIF97.Basic.g2, BaseIF97.Transport.cond_dTp and BaseIF97.Transport.visc_dTp for region 2.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
molarMass=0.018015257  
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.g2 g2 Gibbs function for region 2: g(p,T)
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT h_pT Specific enthalpy as function or pressure and temperature
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.s_pT s_pT Temperature as function of pressure and temperature for region 2
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cp_pT cp_pT Specific heat capacity at constant pressure as function of pressure and temperature for region 2
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cv_pT cv_pT Specific heat capacity at constant volume as function of pressure and temperature for region 2
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT rho_pT Density as function or pressure and temperature for region 2
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT_der rho_pT_der Derivative function of rho_pT for region 2
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.visc_dT visc_dT Dynamic viscosity eta(d,T), industrial formulation
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cond_dT cond_dT Thermal conductivity lam(d,T), industrial formulation
Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT_der h_pT_der Derivative function of h_pT for region 2

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.g2 Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.g2

Gibbs function for region 2: g(p,T)

Inputs

NameDescription
pPressure [Pa]
TTemperature (K) [K]
Custom Parameters
checkLimitsCheck if inputs p,T are in region of validity

Outputs

NameDescription
gDimensionless Gibbs function and derivatives w.r.t. pi and tau

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT

Specific enthalpy as function or pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, region is unknown, otherwise known and this input (unused)

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.s_pT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.s_pT

Temperature as function of pressure and temperature for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, region is unknown, otherwise known and this input (unused)

Outputs

NameDescription
sSpecific entropy [J/(kg.K)]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cp_pT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cp_pT

Specific heat capacity at constant pressure as function of pressure and temperature for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, region is unknown, otherwise known and this input (unused)

Outputs

NameDescription
cpSpecific heat capacity [J/(kg.K)]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cv_pT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cv_pT

Specific heat capacity at constant volume as function of pressure and temperature for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, region is unknown, otherwise known and this input (unused)

Outputs

NameDescription
cvSpecific heat capacity [J/(kg.K)]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT

Density as function or pressure and temperature for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT_der Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.rho_pT_der

Derivative function of rho_pT for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
p_derDerivative of pressure
T_derDerivative of temperature

Outputs

NameDescription
rho_derDerivative of density

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.visc_dT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.visc_dT

Dynamic viscosity eta(d,T), industrial formulation

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
Custom Parameters
pPressure (only needed for region of validity) [Pa]
phase2 for two-phase, 1 for one-phase, 0 if not known (unused)
checkLimitsCheck if inputs d,T,P are in region of validity

Outputs

NameDescription
etaDynamic viscosity [Pa.s]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cond_dT Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.cond_dT

Thermal conductivity lam(d,T), industrial formulation

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
Custom Parameters
pPressure [Pa]
phase2 for two-phase, 1 for one-phase, 0 if not known
industrialMethodIf true, the industrial method is used, otherwise the scientific one
checkLimitsCheck if inputs d,T,P are in region of validity

Outputs

NameDescription
lambdaThermal conductivity [W/(m.K)]

Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT_der Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.h_pT_der

Derivative function of h_pT for region 2

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, region is unknown, otherwise known and this input (unused)
p_derDerivative of pressure
T_derDerivative of temperature

Outputs

NameDescription
h_derDerivative of specific enthalpy
Automatically generated Thu Oct 1 16:08:05 2020.