Package Modelica.​Media.​Water.​IF97_Utilities
Low level and utility computation for high accuracy water properties according to the IAPWS/IF97 standard

Information

Package description:

This package provides high accuracy physical properties for water according to the IAPWS/IF97 standard. It has been part of the ThermoFluid Modelica library and been extended, reorganized and documented to become part of the Modelica Standard library.

An important feature that distinguishes this implementation of the IF97 steam property standard is that this implementation has been explicitly designed to work well in dynamic simulations. Computational performance has been of high importance. This means that there often exist several ways to get the same result from different functions if one of the functions is called often but can be optimized for that purpose.

The original documentation of the IAPWS/IF97 steam properties can freely be distributed with computer implementations, so for curious minds the complete standard documentation is provided with the Modelica properties library. The following documents are included (in directory Modelica/Resources/Documentation/Media/Water/IF97documentation):

Package contents

Version Info and Revision history

Author: Hubertus Tummescheit,
Modelon AB
Ideon Science Park
SE-22370 Lund, Sweden
email: hubertus@modelon.se

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

Package Contents

NameDescription
BaseIF97Modelica Physical Property Model: the new industrial formulation IAPWS-IF97
beta_dTIsobaric expansion coefficient as function of density and temperature
beta_phIsobaric expansion coefficient as function of pressure and specific enthalpy
beta_props_dTIsobaric expansion coefficient as function of density and temperature
beta_props_phIsobaric expansion coefficient as function of pressure and specific enthalpy
beta_props_pTIsobaric expansion coefficient as function of pressure and temperature
beta_pTIsobaric expansion coefficient as function of pressure and temperature
cp_dTSpecific heat capacity at constant pressure as function of density and temperature
cp_phSpecific heat capacity at constant pressure as function of pressure and specific enthalpy
cp_props_dTSpecific heat capacity at constant pressure as function of density and temperature
cp_props_phSpecific heat capacity at constant pressure as function of pressure and specific enthalpy
cp_props_pTSpecific heat capacity at constant pressure as function of pressure and temperature
cp_pTSpecific heat capacity at constant pressure as function of pressure and temperature
cv_dTSpecific heat capacity at constant volume as function of density and temperature
cv_phSpecific heat capacity at constant volume as function of pressure and specific enthalpy
cv_props_dTSpecific heat capacity at constant volume as function of density and temperature
cv_props_phSpecific heat capacity at constant volume as function of pressure and specific enthalpy
cv_props_pTSpecific heat capacity at constant volume as function of pressure and temperature
cv_pTSpecific heat capacity at constant volume as function of pressure and temperature
ddhpDensity derivative by specific enthalpy
ddhp_propsDensity derivative by specific enthalpy
ddphDensity derivative by pressure
ddph_propsDensity derivative by pressure
dynamicIsentropicEnthalpyIsentropic specific enthalpy from p,s and good guesses of d and T
dynamicViscosityCompute eta(d,T) in the one-phase region
h_dTSpecific enthalpy as function of density and temperature
h_dT_derDerivative function of h_dT
h_props_dTSpecific enthalpy as function of density and temperature
h_props_psSpecific enthalpy as function or pressure and temperature
h_props_pTSpecific enthalpy as function or pressure and temperature
h_psSpecific enthalpy as function or pressure and temperature
h_pTSpecific enthalpy as function or pressure and temperature
h_pT_derDerivative function of h_pT
hl_pCompute the saturated liquid specific h(p)
hv_pCompute the saturated vapour specific h(p)
isentropicEnthalpyIsentropic specific enthalpy from p,s (preferably use dynamicIsentropicEnthalpy in dynamic simulation!)
isentropicEnthalpy_derDerivative of isentropic specific enthalpy from p,s
isentropicEnthalpy_props 
isentropicExponent_dTIsentropic exponent as function of density and temperature
isentropicExponent_phIsentropic exponent as function of pressure and specific enthalpy
isentropicExponent_props_dTIsentropic exponent as function of density and temperature
isentropicExponent_props_phIsentropic exponent as function of pressure and specific enthalpy
isentropicExponent_props_pTIsentropic exponent as function of pressure and temperature
isentropicExponent_pTIsentropic exponent as function of pressure and temperature
iter 
kappa_dTIsothermal compressibility factor as function of density and temperature
kappa_phIsothermal compressibility factor as function of pressure and specific enthalpy
kappa_props_dTIsothermal compressibility factor as function of density and temperature
kappa_props_phIsothermal compressibility factor as function of pressure and specific enthalpy
kappa_props_pTIsothermal compressibility factor as function of pressure and temperature
kappa_pTIsothermal compressibility factor as function of pressure and temperature
p_dTPressure as function of density and temperature
p_dT_derDerivative function of p_dT
p_props_dTPressure as function of density and temperature
phase_dTPhase as a function of pressure and temperature
phase_phPhase as a function of pressure and specific enthalpy
phase_psPhase as a function of pressure and specific entropy
regionAssertRealAssert function for inlining
rho_phDensity as function of pressure and specific enthalpy
rho_ph_derDerivative function of rho_ph
rho_props_phDensity as function of pressure and specific enthalpy
rho_props_psDensity as function of pressure and specific entropy
rho_props_pTDensity as function or pressure and temperature
rho_psDensity as function of pressure and specific entropy
rho_pTDensity as function or pressure and temperature
rho_pT_derDerivative function of rho_pT
rhol_pCompute the saturated liquid d(p)
rhol_TCompute the saturated liquid d(T)
rhov_pCompute the saturated vapour d(p)
rhov_TCompute the saturated vapour d(T)
s_dTTemperature as function of density and temperature
s_phSpecific entropy as function of pressure and specific enthalpy
s_ph_derSpecific entropy as function of pressure and specific enthalpy
s_props_dTSpecific entropy as function of density and temperature
s_props_phSpecific entropy as function of pressure and specific enthalpy
s_props_pTSpecific entropy as function of pressure and temperature
s_pTTemperature as function of pressure and temperature
sl_pCompute the saturated liquid specific s(p)
surfaceTensionCompute sigma(T) at saturation T
sv_pCompute the saturated vapour specific s(p)
T_phTemperature as function of pressure and specific enthalpy
T_ph_derDerivative function of T_ph
T_props_phTemperature as function of pressure and specific enthalpy
T_props_psTemperature as function of pressure and specific entropy
T_psTemperature as function of pressure and specific entropy
thermalConductivityCompute lambda(d,T,p) in the one-phase region
ThermoFluidSpecial 
velocityOfSound_dTSpeed of sound as function of density and temperature
velocityOfSound_ph 
velocityOfSound_props_dTSpeed of sound as function of density and temperature
velocityOfSound_props_phSpeed of sound as function of pressure and specific enthalpy
velocityOfSound_props_pTSpeed of sound as function of pressure and temperature
velocityOfSound_pTSpeed of sound as function of pressure and temperature
waterBaseProp_dTIntermediate property record for water (d and T preferred states)
waterBaseProp_phIntermediate property record for water
waterBaseProp_psIntermediate property record for water
waterBaseProp_pTIntermediate property record for water (p and T preferred states)

Record Modelica.​Media.​Water.​IF97_Utilities.​iter
Constants for iterations internal to some functions

Information

This icon is indicates a record.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​IterationData (Constants for iterations internal to some functions).

Fields

TypeNameDescription
constant IntegerIMAXMaximum number of iterations for inverse functions
constant RealDELPMaximum iteration error in pressure, Pa
constant RealDELSMaximum iteration error in specific entropy, J/{kg.K}
constant RealDELHMaximum iteration error in specific enthalpy, J/kg
constant RealDELDMaximum iteration error in density, kg/m^3

Function Modelica.​Media.​Water.​IF97_Utilities.​waterBaseProp_ph
Intermediate property record for water

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IntegerphasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
IntegerregionIf 0, do region computation, otherwise assume the region is this input

Outputs

TypeNameDescription
IF97BaseTwoPhaseauxAuxiliary record

Function Modelica.​Media.​Water.​IF97_Utilities.​waterBaseProp_ps
Intermediate property record for water

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IntegerphasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
IntegerregionIf 0, do region computation, otherwise assume the region is this input

Outputs

TypeNameDescription
IF97BaseTwoPhaseauxAuxiliary record

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_props_ps
Density as function of pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IF97BaseTwoPhasepropertiesAuxiliary record

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_ps
Density as function of pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​T_props_ps
Temperature as function of pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IF97BaseTwoPhasepropertiesAuxiliary record

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​Water.​IF97_Utilities.​T_ps
Temperature as function of pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​Water.​IF97_Utilities.​h_props_ps
Specific enthalpy as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​h_ps
Specific enthalpy as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​phase_ps
Phase as a function of pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
IntegerphaseTrue if in liquid or gas or supercritical region

Function Modelica.​Media.​Water.​IF97_Utilities.​phase_ph
Phase as a function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
IntegerphaseTrue if in liquid or gas or supercritical region

Function Modelica.​Media.​Water.​IF97_Utilities.​phase_dT
Phase as a function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensityrhoDensity
TemperatureTTemperature

Outputs

TypeNameDescription
IntegerphaseTrue if in liquid or gas or supercritical region

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_props_ph
Density as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_ph
Density as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_ph_der
Derivative function of rho_ph

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record
Realp_derDerivative of pressure
Realh_derDerivative of specific enthalpy

Outputs

TypeNameDescription
Realrho_derDerivative of density

Function Modelica.​Media.​Water.​IF97_Utilities.​T_props_ph
Temperature as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​Water.​IF97_Utilities.​T_ph
Temperature as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​Water.​IF97_Utilities.​T_ph_der
Derivative function of T_ph

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record
Realp_derDerivative of pressure
Realh_derDerivative of specific enthalpy

Outputs

TypeNameDescription
RealT_derDerivative of temperature

Function Modelica.​Media.​Water.​IF97_Utilities.​s_props_ph
Specific entropy as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​s_ph
Specific entropy as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​s_ph_der
Specific entropy as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhasepropertiesAuxiliary record
Realp_derDerivative of pressure
Realh_derDerivative of specific enthalpy

Outputs

TypeNameDescription
Reals_derDerivative of entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_props_ph
Specific heat capacity at constant volume as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_ph
Specific heat capacity at constant volume as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​regionAssertReal
Assert function for inlining

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
BooleancheckCondition to check

Outputs

TypeNameDescription
RealdummyDummy output

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_props_ph
Specific heat capacity at constant pressure as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_ph
Specific heat capacity at constant pressure as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_props_ph
Isobaric expansion coefficient as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_ph
Isobaric expansion coefficient as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_props_ph
Isothermal compressibility factor as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_ph
Isothermal compressibility factor as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_props_ph
Speed of sound as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_ph
Icon for functions

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_props_ph
Isentropic exponent as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_ph
Isentropic exponent as function of pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​ddph_props
Density derivative by pressure

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
DerDensityByPressureddphDensity derivative by pressure

Function Modelica.​Media.​Water.​IF97_Utilities.​ddph
Density derivative by pressure

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
DerDensityByPressureddphDensity derivative by pressure

Function Modelica.​Media.​Water.​IF97_Utilities.​ddhp_props
Density derivative by specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
DerDensityByEnthalpyddhpDensity derivative by specific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​ddhp
Density derivative by specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
DerDensityByEnthalpyddhpDensity derivative by specific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​waterBaseProp_pT
Intermediate property record for water (p and T preferred states)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, do region computation, otherwise assume the region is this input

Outputs

TypeNameDescription
IF97BaseTwoPhaseauxAuxiliary record

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_props_pT
Density as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_pT
Density as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
DensityrhoDensity

Function Modelica.​Media.​Water.​IF97_Utilities.​h_props_pT
Specific enthalpy as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​h_pT
Specific enthalpy as function or pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​h_pT_der
Derivative function of h_pT

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record
Realp_derDerivative of pressure
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realh_derDerivative of specific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​rho_pT_der
Derivative function of rho_pT

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record
Realp_derDerivative of pressure
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realrho_derDerivative of density

Function Modelica.​Media.​Water.​IF97_Utilities.​s_props_pT
Specific entropy as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​s_pT
Temperature as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_props_pT
Specific heat capacity at constant volume as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_pT
Specific heat capacity at constant volume as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_props_pT
Specific heat capacity at constant pressure as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_pT
Specific heat capacity at constant pressure as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_props_pT
Isobaric expansion coefficient as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_pT
Isobaric expansion coefficient as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_props_pT
Isothermal compressibility factor as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_pT
Isothermal compressibility factor as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_props_pT
Speed of sound as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_pT
Speed of sound as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_props_pT
Isentropic exponent as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_pT
Isentropic exponent as function of pressure and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​waterBaseProp_dT
Intermediate property record for water (d and T preferred states)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensityrhoDensity
TemperatureTTemperature
IntegerphasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
IntegerregionIf 0, do region computation, otherwise assume the region is this input

Outputs

TypeNameDescription
IF97BaseTwoPhaseauxAuxiliary record

Function Modelica.​Media.​Water.​IF97_Utilities.​h_props_dT
Specific enthalpy as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​h_dT
Specific enthalpy as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​h_dT_der
Derivative function of h_dT

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record
Reald_derDerivative of density
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realh_derDerivative of specific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​p_props_dT
Pressure as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
PressurepPressure

Function Modelica.​Media.​Water.​IF97_Utilities.​p_dT
Pressure as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
PressurepPressure

Function Modelica.​Media.​Water.​IF97_Utilities.​p_dT_der
Derivative function of p_dT

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record
Reald_derDerivative of density
RealT_derDerivative of temperature

Outputs

TypeNameDescription
Realp_derDerivative of pressure

Function Modelica.​Media.​Water.​IF97_Utilities.​s_props_dT
Specific entropy as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​s_dT
Temperature as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_props_dT
Specific heat capacity at constant volume as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cv_dT
Specific heat capacity at constant volume as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_props_dT
Specific heat capacity at constant pressure as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​cp_dT
Specific heat capacity at constant pressure as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_props_dT
Isobaric expansion coefficient as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​beta_dT
Isobaric expansion coefficient as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RelativePressureCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_props_dT
Isothermal compressibility factor as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​kappa_dT
Isothermal compressibility factor as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility factor

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_props_dT
Speed of sound as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​velocityOfSound_dT
Speed of sound as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
Velocityv_soundSpeed of sound

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_props_dT
Isentropic exponent as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicExponent_dT
Isentropic exponent as function of density and temperature

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
RealgammaIsentropic exponent

Function Modelica.​Media.​Water.​IF97_Utilities.​hl_p
Compute the saturated liquid specific h(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​hl_p (Liquid specific enthalpy on the boundary between regions 4 and 3 or 1).

Inputs

TypeNameDescription
PressurepPressure

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​hv_p
Compute the saturated vapour specific h(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​hv_p (Vapour specific enthalpy on the boundary between regions 4 and 3 or 2).

Inputs

TypeNameDescription
PressurepPressure

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​sl_p
Compute the saturated liquid specific s(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​sl_p (Liquid specific entropy on the boundary between regions 4 and 3 or 1).

Inputs

TypeNameDescription
PressurepPressure

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​sv_p
Compute the saturated vapour specific s(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​sv_p (Vapour specific entropy on the boundary between regions 4 and 3 or 2).

Inputs

TypeNameDescription
PressurepPressure

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​rhol_T
Compute the saturated liquid d(T)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​rhol_T (Density of saturated water).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
DensitydDensity of water at the boiling point

Function Modelica.​Media.​Water.​IF97_Utilities.​rhov_T
Compute the saturated vapour d(T)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​rhov_T (Density of saturated vapour).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
DensitydDensity of steam at the condensation point

Function Modelica.​Media.​Water.​IF97_Utilities.​rhol_p
Compute the saturated liquid d(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​rhol_p (Density of saturated water).

Inputs

TypeNameDescription
PressurepSaturation pressure

Outputs

TypeNameDescription
DensityrhoDensity of steam at the condensation point

Function Modelica.​Media.​Water.​IF97_Utilities.​rhov_p
Compute the saturated vapour d(p)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Regions.​rhov_p (Density of saturated vapour).

Inputs

TypeNameDescription
PressurepSaturation pressure

Outputs

TypeNameDescription
DensityrhoDensity of steam at the condensation point

Function Modelica.​Media.​Water.​IF97_Utilities.​dynamicViscosity
Compute eta(d,T) in the one-phase region

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Transport.​visc_dTp (Dynamic viscosity eta(d,T,p), industrial formulation).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature (K)
PressurepPressure (only needed for region of validity)
Integerphase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DynamicViscosityetaDynamic viscosity

Function Modelica.​Media.​Water.​IF97_Utilities.​thermalConductivity
Compute lambda(d,T,p) in the one-phase region

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Transport.​cond_dTp (Thermal conductivity lam(d,T,p) (industrial use version) only in one-phase region).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature (K)
PressurepPressure
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
BooleanindustrialMethodIf true, the industrial method is used, otherwise the scientific one

Outputs

TypeNameDescription
ThermalConductivitylambdaThermal conductivity

Function Modelica.​Media.​Water.​IF97_Utilities.​surfaceTension
Compute sigma(T) at saturation T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Transport.​surfaceTension (Surface tension in region 4 between steam and water).

Inputs

TypeNameDescription
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SurfaceTensionsigmaSurface tension in SI units

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicEnthalpy
Isentropic specific enthalpy from p,s (preferably use dynamicIsentropicEnthalpy in dynamic simulation!)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known
IntegerregionIf 0, region is unknown, otherwise known and this input

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicEnthalpy_props
Icon for functions

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IF97BaseTwoPhaseauxAuxiliary record

Outputs

TypeNameDescription
SpecificEnthalpyhIsentropic enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​isentropicEnthalpy_der
Derivative of isentropic specific enthalpy from p,s

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IF97BaseTwoPhaseauxAuxiliary record
Realp_derPressure derivative
Reals_derEntropy derivative

Outputs

TypeNameDescription
Realh_derSpecific enthalpy derivative

Function Modelica.​Media.​Water.​IF97_Utilities.​dynamicIsentropicEnthalpy
Isentropic specific enthalpy from p,s and good guesses of d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
DensitydguessGood guess density, e.g., from adjacent volume
TemperatureTguessGood guess temperature, e.g., from adjacent volume
Integerphase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Generated 2018-12-12 12:14:32 EST by MapleSim.