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\help\Documentation\IF97documentation):
Name | Description |
---|---|
BaseIF97 | Modelica Physical Property Model: the new industrial formulation IAPWS-IF97 |
iter | |
waterBaseProp_ph | intermediate property record for water |
waterBaseProp_ps | intermediate property record for water |
rho_props_ps | density as function of pressure and specific entropy |
rho_ps | density as function of pressure and specific entropy |
T_props_ps | temperature as function of pressure and specific entropy |
T_ps | temperature as function of pressure and specific entropy |
h_props_ps | specific enthalpy as function or pressure and temperature |
h_ps | specific enthalpy as function or pressure and temperature |
phase_ps | phase as a function of pressure and specific entropy |
phase_ph | phase as a function of pressure and specific enthalpy |
phase_dT | phase as a function of pressure and temperature |
rho_props_ph | density as function of pressure and specific enthalpy |
rho_ph | density as function of pressure and specific enthalpy |
rho_ph_der | derivative function of rho_ph |
T_props_ph | temperature as function of pressure and specific enthalpy |
T_ph | temperature as function of pressure and specific enthalpy |
T_ph_der | derivative function of T_ph |
s_props_ph | specific entropy as function of pressure and specific enthalpy |
s_ph | specific entropy as function of pressure and specific enthalpy |
s_ph_der | specific entropy as function of pressure and specific enthalpy |
cv_props_ph | specific heat capacity at constant volume as function of pressure and specific enthalpy |
cv_ph | specific heat capacity at constant volume as function of pressure and specific enthalpy |
regionAssertReal | assert function for inlining |
cp_props_ph | specific heat capacity at constant pressure as function of pressure and specific enthalpy |
cp_ph | specific heat capacity at constant pressure as function of pressure and specific enthalpy |
beta_props_ph | isobaric expansion coefficient as function of pressure and specific enthalpy |
beta_ph | isobaric expansion coefficient as function of pressure and specific enthalpy |
kappa_props_ph | isothermal compressibility factor as function of pressure and specific enthalpy |
kappa_ph | isothermal compressibility factor as function of pressure and specific enthalpy |
velocityOfSound_props_ph | speed of sound as function of pressure and specific enthalpy |
velocityOfSound_ph | |
isentropicExponent_props_ph | isentropic exponent as function of pressure and specific enthalpy |
isentropicExponent_ph | isentropic exponent as function of pressure and specific enthalpy |
ddph_props | density derivative by pressure |
ddph | density derivative by pressure |
ddhp_props | density derivative by specific enthalpy |
ddhp | density derivative by specific enthalpy |
waterBaseProp_pT | intermediate property record for water (p and T prefered states) |
rho_props_pT | density as function or pressure and temperature |
rho_pT | density as function or pressure and temperature |
h_props_pT | specific enthalpy as function or pressure and temperature |
h_pT | specific enthalpy as function or pressure and temperature |
h_pT_der | derivative function of h_pT |
rho_pT_der | derivative function of rho_pT |
s_props_pT | specific entropy as function of pressure and temperature |
s_pT | temperature as function of pressure and temperature |
cv_props_pT | specific heat capacity at constant volume as function of pressure and temperature |
cv_pT | specific heat capacity at constant volume as function of pressure and temperature |
cp_props_pT | specific heat capacity at constant pressure as function of pressure and temperature |
cp_pT | specific heat capacity at constant pressure as function of pressure and temperature |
beta_props_pT | isobaric expansion coefficient as function of pressure and temperature |
beta_pT | isobaric expansion coefficient as function of pressure and temperature |
kappa_props_pT | isothermal compressibility factor as function of pressure and temperature |
kappa_pT | isothermal compressibility factor as function of pressure and temperature |
velocityOfSound_props_pT | speed of sound as function of pressure and temperature |
velocityOfSound_pT | speed of sound as function of pressure and temperature |
isentropicExponent_props_pT | isentropic exponent as function of pressure and temperature |
isentropicExponent_pT | isentropic exponent as function of pressure and temperature |
waterBaseProp_dT | intermediate property record for water (d and T prefered states) |
h_props_dT | specific enthalpy as function of density and temperature |
h_dT | specific enthalpy as function of density and temperature |
h_dT_der | derivative function of h_dT |
p_props_dT | pressure as function of density and temperature |
p_dT | pressure as function of density and temperature |
p_dT_der | derivative function of p_dT |
s_props_dT | specific entropy as function of density and temperature |
s_dT | temperature as function of density and temperature |
cv_props_dT | specific heat capacity at constant volume as function of density and temperature |
cv_dT | specific heat capacity at constant volume as function of density and temperature |
cp_props_dT | specific heat capacity at constant pressure as function of density and temperature |
cp_dT | specific heat capacity at constant pressure as function of density and temperature |
beta_props_dT | isobaric expansion coefficient as function of density and temperature |
beta_dT | isobaric expansion coefficient as function of density and temperature |
kappa_props_dT | isothermal compressibility factor as function of density and temperature |
kappa_dT | isothermal compressibility factor as function of density and temperature |
velocityOfSound_props_dT | speed of sound as function of density and temperature |
velocityOfSound_dT | speed of sound as function of density and temperature |
isentropicExponent_props_dT | isentropic exponent as function of density and temperature |
isentropicExponent_dT | isentropic exponent as function of density and temperature |
hl_p | compute the saturated liquid specific h(p) |
hv_p | compute the saturated vapour specific h(p) |
sl_p | compute the saturated liquid specific s(p) |
sv_p | compute the saturated vapour specific s(p) |
rhol_T | compute the saturated liquid d(T) |
rhov_T | compute the saturated vapour d(T) |
rhol_p | compute the saturated liquid d(p) |
rhov_p | compute the saturated vapour d(p) |
dynamicViscosity | compute eta(d,T) in the one-phase region |
thermalConductivity | compute lambda(d,T,p) in the one-phase region |
surfaceTension | compute sigma(T) at saturation T |
isentropicEnthalpy | isentropic specific enthalpy from p,s (preferably use dynamicIsentropicEnthalpy in dynamic simulation!) |
isentropicEnthalpy_props | |
isentropicEnthalpy_der | derivative of isentropic specific enthalpy from p,s |
dynamicIsentropicEnthalpy | isentropic specific enthalpy from p,s and good guesses of d and T |
Currenly the Events/noEvents switch is only implmented for p-h states. Only after testing that implmentation, it will be extended to dT.