WOLFRAM SYSTEM MODELER
IF97_UtilitiesLow level and utility computation for high accuracy water properties according to the IAPWS/IF97 standard 
Modelica Physical Property Model: the new industrial formulation IAPWSIF97 

Intermediate property record for water 

Intermediate property record for water 

Density as function of pressure and specific entropy 

Density as function of pressure and specific entropy 

Temperature as function of pressure and specific entropy 

Temperature as function of pressure and specific entropy 

Specific enthalpy as function or pressure and temperature 

Specific enthalpy as function or pressure and temperature 

Phase as a function of pressure and specific entropy 

Phase as a function of pressure and specific enthalpy 

Phase as a function of pressure and temperature 

Density as function of pressure and specific enthalpy 

Density as function of pressure and specific enthalpy 

Derivative function of rho_ph 

Temperature as function of pressure and specific enthalpy 

Temperature as function of pressure and specific enthalpy 

Derivative function of T_ph 

Specific entropy as function of pressure and specific enthalpy 

Specific entropy as function of pressure and specific enthalpy 

Specific entropy as function of pressure and specific enthalpy 

Specific heat capacity at constant volume as function of pressure and specific enthalpy 

Specific heat capacity at constant volume as function of pressure and specific enthalpy 

Assert function for inlining 

Specific heat capacity at constant pressure as function of pressure and specific enthalpy 

Specific heat capacity at constant pressure as function of pressure and specific enthalpy 

Isobaric expansion coefficient as function of pressure and specific enthalpy 

Isobaric expansion coefficient as function of pressure and specific enthalpy 

Isothermal compressibility factor as function of pressure and specific enthalpy 

Isothermal compressibility factor as function of pressure and specific enthalpy 

Speed of sound as function of pressure and specific enthalpy 

Isentropic exponent as function of pressure and specific enthalpy 

Isentropic exponent as function of pressure and specific enthalpy 

Density derivative by pressure 

Density derivative by pressure 

Density derivative by specific enthalpy 

Density derivative by specific enthalpy 

Intermediate property record for water (p and T preferred states) 

Density as function or pressure and temperature 

Density as function or pressure and temperature 

Specific enthalpy as function or pressure and temperature 

Specific enthalpy as function or pressure and temperature 

Derivative function of h_pT 

Derivative function of rho_pT 

Specific entropy as function of pressure and temperature 

Temperature as function of pressure and temperature 

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

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

Specific heat capacity at constant pressure as function of pressure and temperature 

Specific heat capacity at constant pressure as function of pressure and temperature 

Isobaric expansion coefficient as function of pressure and temperature 

Isobaric expansion coefficient as function of pressure and temperature 

Isothermal compressibility factor as function of pressure and temperature 

Isothermal compressibility factor as function of pressure and temperature 

Speed of sound as function of pressure and temperature 

Speed of sound as function of pressure and temperature 

Isentropic exponent as function of pressure and temperature 

Isentropic exponent as function of pressure and temperature 

Intermediate property record for water (d and T preferred states) 

Specific enthalpy as function of density and temperature 

Specific enthalpy as function of density and temperature 

Derivative function of h_dT 

Pressure as function of density and temperature 

Pressure as function of density and temperature 

Derivative function of p_dT 

Specific entropy as function of density and temperature 

Temperature as function of density and temperature 

Specific heat capacity at constant volume as function of density and temperature 

Specific heat capacity at constant volume as function of density and temperature 

Specific heat capacity at constant pressure as function of density and temperature 

Specific heat capacity at constant pressure as function of density and temperature 

Isobaric expansion coefficient as function of density and temperature 

Isobaric expansion coefficient as function of density and temperature 

Isothermal compressibility factor as function of density and temperature 

Isothermal compressibility factor as function of density and temperature 

Speed of sound as function of density and temperature 

Speed of sound as function of density and temperature 

Isentropic exponent as function of density and temperature 

Isentropic exponent as function of density and temperature 

Compute the saturated liquid specific h(p) 

Compute the saturated vapour specific h(p) 

Compute the saturated liquid specific s(p) 

Compute the saturated vapour specific s(p) 

Compute the saturated liquid d(T) 

Compute the saturated vapour d(T) 

Compute the saturated liquid d(p) 

Compute the saturated vapour d(p) 

Compute eta(d,T) in the onephase region 

Compute lambda(d,T,p) in the onephase region 

Compute sigma(T) at saturation T 

Isentropic specific enthalpy from p,s (preferably use dynamicIsentropicEnthalpy in dynamic simulation!) 

Derivative of isentropic specific enthalpy from p,s 

Isentropic specific enthalpy from p,s and good guesses of d and T 
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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):
SystemModel["Modelica.Media.Water.IF97_Utilities"]
Currently the Events/noEvents switch is only implemented for ph states. Only after testing that implementation, it will be extended to dT.