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 Content

NameDescription
Modelica.Media.Water.IF97_Utilities.BaseIF97 BaseIF97 Modelica Physical Property Model: the new industrial formulation IAPWS-IF97
Modelica.Media.Water.IF97_Utilities.iter iter  
Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph waterBaseProp_ph Intermediate property record for water
Modelica.Media.Water.IF97_Utilities.waterBaseProp_ps waterBaseProp_ps Intermediate property record for water
Modelica.Media.Water.IF97_Utilities.rho_props_ps rho_props_ps Density as function of pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.rho_ps rho_ps Density as function of pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.T_props_ps T_props_ps Temperature as function of pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.T_ps T_ps Temperature as function of pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.h_props_ps h_props_ps Specific enthalpy as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.h_ps h_ps Specific enthalpy as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.phase_ps phase_ps Phase as a function of pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.phase_ph phase_ph Phase as a function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.phase_dT phase_dT Phase as a function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.rho_props_ph rho_props_ph Density as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.rho_ph rho_ph Density as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.rho_ph_der rho_ph_der Derivative function of rho_ph
Modelica.Media.Water.IF97_Utilities.T_props_ph T_props_ph Temperature as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.T_ph T_ph Temperature as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.T_ph_der T_ph_der Derivative function of T_ph
Modelica.Media.Water.IF97_Utilities.s_props_ph s_props_ph Specific entropy as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.s_ph s_ph Specific entropy as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.s_ph_der s_ph_der Specific entropy as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.cv_props_ph cv_props_ph Specific heat capacity at constant volume as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.cv_ph cv_ph Specific heat capacity at constant volume as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.regionAssertReal regionAssertReal Assert function for inlining
Modelica.Media.Water.IF97_Utilities.cp_props_ph cp_props_ph Specific heat capacity at constant pressure as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.cp_ph cp_ph Specific heat capacity at constant pressure as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.beta_props_ph beta_props_ph Isobaric expansion coefficient as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.beta_ph beta_ph Isobaric expansion coefficient as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.kappa_props_ph kappa_props_ph Isothermal compressibility factor as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.kappa_ph kappa_ph Isothermal compressibility factor as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_ph velocityOfSound_props_ph Speed of sound as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.velocityOfSound_ph velocityOfSound_ph  
Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_ph isentropicExponent_props_ph Isentropic exponent as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.isentropicExponent_ph isentropicExponent_ph Isentropic exponent as function of pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.ddph_props ddph_props Density derivative by pressure
Modelica.Media.Water.IF97_Utilities.ddph ddph Density derivative by pressure
Modelica.Media.Water.IF97_Utilities.ddhp_props ddhp_props Density derivative by specific enthalpy
Modelica.Media.Water.IF97_Utilities.ddhp ddhp Density derivative by specific enthalpy
Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT waterBaseProp_pT Intermediate property record for water (p and T preferred states)
Modelica.Media.Water.IF97_Utilities.rho_props_pT rho_props_pT Density as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.rho_pT rho_pT Density as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.h_props_pT h_props_pT Specific enthalpy as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.h_pT h_pT Specific enthalpy as function or pressure and temperature
Modelica.Media.Water.IF97_Utilities.h_pT_der h_pT_der Derivative function of h_pT
Modelica.Media.Water.IF97_Utilities.rho_pT_der rho_pT_der Derivative function of rho_pT
Modelica.Media.Water.IF97_Utilities.s_props_pT s_props_pT Specific entropy as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.s_pT s_pT Temperature as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.cv_props_pT cv_props_pT Specific heat capacity at constant volume as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.cv_pT cv_pT Specific heat capacity at constant volume as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.cp_props_pT cp_props_pT Specific heat capacity at constant pressure as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.cp_pT cp_pT Specific heat capacity at constant pressure as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.beta_props_pT beta_props_pT Isobaric expansion coefficient as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.beta_pT beta_pT Isobaric expansion coefficient as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.kappa_props_pT kappa_props_pT Isothermal compressibility factor as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.kappa_pT kappa_pT Isothermal compressibility factor as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_pT velocityOfSound_props_pT Speed of sound as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.velocityOfSound_pT velocityOfSound_pT Speed of sound as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_pT isentropicExponent_props_pT Isentropic exponent as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.isentropicExponent_pT isentropicExponent_pT Isentropic exponent as function of pressure and temperature
Modelica.Media.Water.IF97_Utilities.waterBaseProp_dT waterBaseProp_dT Intermediate property record for water (d and T preferred states)
Modelica.Media.Water.IF97_Utilities.h_props_dT h_props_dT Specific enthalpy as function of density and temperature
Modelica.Media.Water.IF97_Utilities.h_dT h_dT Specific enthalpy as function of density and temperature
Modelica.Media.Water.IF97_Utilities.h_dT_der h_dT_der Derivative function of h_dT
Modelica.Media.Water.IF97_Utilities.p_props_dT p_props_dT Pressure as function of density and temperature
Modelica.Media.Water.IF97_Utilities.p_dT p_dT Pressure as function of density and temperature
Modelica.Media.Water.IF97_Utilities.p_dT_der p_dT_der Derivative function of p_dT
Modelica.Media.Water.IF97_Utilities.s_props_dT s_props_dT Specific entropy as function of density and temperature
Modelica.Media.Water.IF97_Utilities.s_dT s_dT Temperature as function of density and temperature
Modelica.Media.Water.IF97_Utilities.cv_props_dT cv_props_dT Specific heat capacity at constant volume as function of density and temperature
Modelica.Media.Water.IF97_Utilities.cv_dT cv_dT Specific heat capacity at constant volume as function of density and temperature
Modelica.Media.Water.IF97_Utilities.cp_props_dT cp_props_dT Specific heat capacity at constant pressure as function of density and temperature
Modelica.Media.Water.IF97_Utilities.cp_dT cp_dT Specific heat capacity at constant pressure as function of density and temperature
Modelica.Media.Water.IF97_Utilities.beta_props_dT beta_props_dT Isobaric expansion coefficient as function of density and temperature
Modelica.Media.Water.IF97_Utilities.beta_dT beta_dT Isobaric expansion coefficient as function of density and temperature
Modelica.Media.Water.IF97_Utilities.kappa_props_dT kappa_props_dT Isothermal compressibility factor as function of density and temperature
Modelica.Media.Water.IF97_Utilities.kappa_dT kappa_dT Isothermal compressibility factor as function of density and temperature
Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_dT velocityOfSound_props_dT Speed of sound as function of density and temperature
Modelica.Media.Water.IF97_Utilities.velocityOfSound_dT velocityOfSound_dT Speed of sound as function of density and temperature
Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_dT isentropicExponent_props_dT Isentropic exponent as function of density and temperature
Modelica.Media.Water.IF97_Utilities.isentropicExponent_dT isentropicExponent_dT Isentropic exponent as function of density and temperature
Modelica.Media.Water.IF97_Utilities.hl_p hl_p Compute the saturated liquid specific h(p)
Modelica.Media.Water.IF97_Utilities.hv_p hv_p Compute the saturated vapour specific h(p)
Modelica.Media.Water.IF97_Utilities.sl_p sl_p Compute the saturated liquid specific s(p)
Modelica.Media.Water.IF97_Utilities.sv_p sv_p Compute the saturated vapour specific s(p)
Modelica.Media.Water.IF97_Utilities.rhol_T rhol_T Compute the saturated liquid d(T)
Modelica.Media.Water.IF97_Utilities.rhov_T rhov_T Compute the saturated vapour d(T)
Modelica.Media.Water.IF97_Utilities.rhol_p rhol_p Compute the saturated liquid d(p)
Modelica.Media.Water.IF97_Utilities.rhov_p rhov_p Compute the saturated vapour d(p)
Modelica.Media.Water.IF97_Utilities.dynamicViscosity dynamicViscosity Compute eta(d,T) in the one-phase region
Modelica.Media.Water.IF97_Utilities.thermalConductivity thermalConductivity Compute lambda(d,T,p) in the one-phase region
Modelica.Media.Water.IF97_Utilities.surfaceTension surfaceTension Compute sigma(T) at saturation T
Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy isentropicEnthalpy Isentropic specific enthalpy from p,s (preferably use dynamicIsentropicEnthalpy in dynamic simulation!)
Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_props isentropicEnthalpy_props  
Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_der isentropicEnthalpy_der Derivative of isentropic specific enthalpy from p,s
Modelica.Media.Water.IF97_Utilities.dynamicIsentropicEnthalpy dynamicIsentropicEnthalpy Isentropic specific enthalpy from p,s and good guesses of d and T

Modelica.Media.Water.IF97_Utilities.iter Modelica.Media.Water.IF97_Utilities.iter

Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph

Intermediate property record for water

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
regionIf 0, do region computation, otherwise assume the region is this input

Outputs

NameDescription
auxAuxiliary record

Modelica.Media.Water.IF97_Utilities.waterBaseProp_ps Modelica.Media.Water.IF97_Utilities.waterBaseProp_ps

Intermediate property record for water

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
phasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
regionIf 0, do region computation, otherwise assume the region is this input

Outputs

NameDescription
auxAuxiliary record

Modelica.Media.Water.IF97_Utilities.rho_props_ps Modelica.Media.Water.IF97_Utilities.rho_props_ps

Density as function of pressure and specific entropy

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
propertiesAuxiliary record

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.rho_ps Modelica.Media.Water.IF97_Utilities.rho_ps

Density as function of pressure and specific entropy

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.T_props_ps Modelica.Media.Water.IF97_Utilities.T_props_ps

Temperature as function of pressure and specific entropy

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
propertiesAuxiliary record

Outputs

NameDescription
TTemperature [K]

Modelica.Media.Water.IF97_Utilities.T_ps Modelica.Media.Water.IF97_Utilities.T_ps

Temperature as function of pressure and specific entropy

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
TTemperature [K]

Modelica.Media.Water.IF97_Utilities.h_props_ps Modelica.Media.Water.IF97_Utilities.h_props_ps

Specific enthalpy as function or pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
auxAuxiliary record

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.h_ps Modelica.Media.Water.IF97_Utilities.h_ps

Specific enthalpy as function or pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.phase_ps Modelica.Media.Water.IF97_Utilities.phase_ps

Phase as a function of pressure and specific entropy

Information

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

Inputs

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

Outputs

NameDescription
phaseTrue if in liquid or gas or supercritical region

Modelica.Media.Water.IF97_Utilities.phase_ph Modelica.Media.Water.IF97_Utilities.phase_ph

Phase as a function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]

Outputs

NameDescription
phaseTrue if in liquid or gas or supercritical region

Modelica.Media.Water.IF97_Utilities.phase_dT Modelica.Media.Water.IF97_Utilities.phase_dT

Phase as a function of pressure and temperature

Information

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

Inputs

NameDescription
rhoDensity [kg/m3]
TTemperature [K]

Outputs

NameDescription
phaseTrue if in liquid or gas or supercritical region

Modelica.Media.Water.IF97_Utilities.rho_props_ph Modelica.Media.Water.IF97_Utilities.rho_props_ph

Density as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
propertiesAuxiliary record

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.rho_ph Modelica.Media.Water.IF97_Utilities.rho_ph

Density as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.rho_ph_der Modelica.Media.Water.IF97_Utilities.rho_ph_der

Derivative function of rho_ph

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record
p_derDerivative of pressure
h_derDerivative of specific enthalpy

Outputs

NameDescription
rho_derDerivative of density

Modelica.Media.Water.IF97_Utilities.T_props_ph Modelica.Media.Water.IF97_Utilities.T_props_ph

Temperature as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
propertiesAuxiliary record

Outputs

NameDescription
TTemperature [K]

Modelica.Media.Water.IF97_Utilities.T_ph Modelica.Media.Water.IF97_Utilities.T_ph

Temperature as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
TTemperature [K]

Modelica.Media.Water.IF97_Utilities.T_ph_der Modelica.Media.Water.IF97_Utilities.T_ph_der

Derivative function of T_ph

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record
p_derDerivative of pressure
h_derDerivative of specific enthalpy

Outputs

NameDescription
T_derDerivative of temperature

Modelica.Media.Water.IF97_Utilities.s_props_ph Modelica.Media.Water.IF97_Utilities.s_props_ph

Specific entropy as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
propertiesAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.s_ph Modelica.Media.Water.IF97_Utilities.s_ph

Specific entropy as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.s_ph_der Modelica.Media.Water.IF97_Utilities.s_ph_der

Specific entropy as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record
p_derDerivative of pressure
h_derDerivative of specific enthalpy

Outputs

NameDescription
s_derDerivative of entropy

Modelica.Media.Water.IF97_Utilities.cv_props_ph Modelica.Media.Water.IF97_Utilities.cv_props_ph

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

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cv_ph Modelica.Media.Water.IF97_Utilities.cv_ph

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

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.regionAssertReal Modelica.Media.Water.IF97_Utilities.regionAssertReal

Assert function for inlining

Information

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

Inputs

NameDescription
checkCondition to check

Outputs

NameDescription
dummyDummy output

Modelica.Media.Water.IF97_Utilities.cp_props_ph Modelica.Media.Water.IF97_Utilities.cp_props_ph

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

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cp_ph Modelica.Media.Water.IF97_Utilities.cp_ph

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

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.beta_props_ph Modelica.Media.Water.IF97_Utilities.beta_props_ph

Isobaric expansion coefficient as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.beta_ph Modelica.Media.Water.IF97_Utilities.beta_ph

Isobaric expansion coefficient as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.kappa_props_ph Modelica.Media.Water.IF97_Utilities.kappa_props_ph

Isothermal compressibility factor as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.kappa_ph Modelica.Media.Water.IF97_Utilities.kappa_ph

Isothermal compressibility factor as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_ph Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_ph

Speed of sound as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_ph Modelica.Media.Water.IF97_Utilities.velocityOfSound_ph

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_ph Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_ph

Isentropic exponent as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.isentropicExponent_ph Modelica.Media.Water.IF97_Utilities.isentropicExponent_ph

Isentropic exponent as function of pressure and specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.ddph_props Modelica.Media.Water.IF97_Utilities.ddph_props

Density derivative by pressure

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
ddphDensity derivative by pressure [s2/m2]

Modelica.Media.Water.IF97_Utilities.ddph Modelica.Media.Water.IF97_Utilities.ddph

Density derivative by pressure

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
ddphDensity derivative by pressure [s2/m2]

Modelica.Media.Water.IF97_Utilities.ddhp_props Modelica.Media.Water.IF97_Utilities.ddhp_props

Density derivative by specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
auxAuxiliary record

Outputs

NameDescription
ddhpDensity derivative by specific enthalpy [kg.s2/m5]

Modelica.Media.Water.IF97_Utilities.ddhp Modelica.Media.Water.IF97_Utilities.ddhp

Density derivative by specific enthalpy

Information

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

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
ddhpDensity derivative by specific enthalpy [kg.s2/m5]

Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT

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

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
regionIf 0, do region computation, otherwise assume the region is this input

Outputs

NameDescription
auxAuxiliary record

Modelica.Media.Water.IF97_Utilities.rho_props_pT Modelica.Media.Water.IF97_Utilities.rho_props_pT

Density as function or pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.rho_pT Modelica.Media.Water.IF97_Utilities.rho_pT

Density 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

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.h_props_pT Modelica.Media.Water.IF97_Utilities.h_props_pT

Specific enthalpy as function or pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.h_pT Modelica.Media.Water.IF97_Utilities.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

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.h_pT_der Modelica.Media.Water.IF97_Utilities.h_pT_der

Derivative function of h_pT

Information

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

Inputs

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

Outputs

NameDescription
h_derDerivative of specific enthalpy

Modelica.Media.Water.IF97_Utilities.rho_pT_der Modelica.Media.Water.IF97_Utilities.rho_pT_der

Derivative function of rho_pT

Information

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

Inputs

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

Outputs

NameDescription
rho_derDerivative of density

Modelica.Media.Water.IF97_Utilities.s_props_pT Modelica.Media.Water.IF97_Utilities.s_props_pT

Specific entropy as function of pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.s_pT Modelica.Media.Water.IF97_Utilities.s_pT

Temperature as function of 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

Outputs

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

Modelica.Media.Water.IF97_Utilities.cv_props_pT Modelica.Media.Water.IF97_Utilities.cv_props_pT

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

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cv_pT Modelica.Media.Water.IF97_Utilities.cv_pT

Specific heat capacity at constant volume as function of 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

Outputs

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

Modelica.Media.Water.IF97_Utilities.cp_props_pT Modelica.Media.Water.IF97_Utilities.cp_props_pT

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

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cp_pT Modelica.Media.Water.IF97_Utilities.cp_pT

Specific heat capacity at constant pressure as function of 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

Outputs

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

Modelica.Media.Water.IF97_Utilities.beta_props_pT Modelica.Media.Water.IF97_Utilities.beta_props_pT

Isobaric expansion coefficient as function of pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.beta_pT Modelica.Media.Water.IF97_Utilities.beta_pT

Isobaric expansion coefficient as function of 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

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.kappa_props_pT Modelica.Media.Water.IF97_Utilities.kappa_props_pT

Isothermal compressibility factor as function of pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.kappa_pT Modelica.Media.Water.IF97_Utilities.kappa_pT

Isothermal compressibility factor as function of 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

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_pT Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_pT

Speed of sound as function of pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_pT Modelica.Media.Water.IF97_Utilities.velocityOfSound_pT

Speed of sound as function of 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

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_pT Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_pT

Isentropic exponent as function of pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.isentropicExponent_pT Modelica.Media.Water.IF97_Utilities.isentropicExponent_pT

Isentropic exponent as function of 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

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.waterBaseProp_dT Modelica.Media.Water.IF97_Utilities.waterBaseProp_dT

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

Information

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

Inputs

NameDescription
rhoDensity [kg/m3]
TTemperature [K]
phasePhase: 2 for two-phase, 1 for one phase, 0 if unknown
regionIf 0, do region computation, otherwise assume the region is this input

Outputs

NameDescription
auxAuxiliary record

Modelica.Media.Water.IF97_Utilities.h_props_dT Modelica.Media.Water.IF97_Utilities.h_props_dT

Specific enthalpy as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.h_dT Modelica.Media.Water.IF97_Utilities.h_dT

Specific enthalpy as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.h_dT_der Modelica.Media.Water.IF97_Utilities.h_dT_der

Derivative function of h_dT

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record
d_derDerivative of density
T_derDerivative of temperature

Outputs

NameDescription
h_derDerivative of specific enthalpy

Modelica.Media.Water.IF97_Utilities.p_props_dT Modelica.Media.Water.IF97_Utilities.p_props_dT

Pressure as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
pPressure [Pa]

Modelica.Media.Water.IF97_Utilities.p_dT Modelica.Media.Water.IF97_Utilities.p_dT

Pressure as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
pPressure [Pa]

Modelica.Media.Water.IF97_Utilities.p_dT_der Modelica.Media.Water.IF97_Utilities.p_dT_der

Derivative function of p_dT

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record
d_derDerivative of density
T_derDerivative of temperature

Outputs

NameDescription
p_derDerivative of pressure

Modelica.Media.Water.IF97_Utilities.s_props_dT Modelica.Media.Water.IF97_Utilities.s_props_dT

Specific entropy as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.s_dT Modelica.Media.Water.IF97_Utilities.s_dT

Temperature as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.cv_props_dT Modelica.Media.Water.IF97_Utilities.cv_props_dT

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

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cv_dT Modelica.Media.Water.IF97_Utilities.cv_dT

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

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.cp_props_dT Modelica.Media.Water.IF97_Utilities.cp_props_dT

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

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

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

Modelica.Media.Water.IF97_Utilities.cp_dT Modelica.Media.Water.IF97_Utilities.cp_dT

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

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

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

Modelica.Media.Water.IF97_Utilities.beta_props_dT Modelica.Media.Water.IF97_Utilities.beta_props_dT

Isobaric expansion coefficient as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.beta_dT Modelica.Media.Water.IF97_Utilities.beta_dT

Isobaric expansion coefficient as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
betaIsobaric expansion coefficient [1/K]

Modelica.Media.Water.IF97_Utilities.kappa_props_dT Modelica.Media.Water.IF97_Utilities.kappa_props_dT

Isothermal compressibility factor as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.kappa_dT Modelica.Media.Water.IF97_Utilities.kappa_dT

Isothermal compressibility factor as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
kappaIsothermal compressibility factor [1/Pa]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_dT Modelica.Media.Water.IF97_Utilities.velocityOfSound_props_dT

Speed of sound as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.velocityOfSound_dT Modelica.Media.Water.IF97_Utilities.velocityOfSound_dT

Speed of sound as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
v_soundSpeed of sound [m/s]

Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_dT Modelica.Media.Water.IF97_Utilities.isentropicExponent_props_dT

Isentropic exponent as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
auxAuxiliary record

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.isentropicExponent_dT Modelica.Media.Water.IF97_Utilities.isentropicExponent_dT

Isentropic exponent as function of density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature [K]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
gammaIsentropic exponent

Modelica.Media.Water.IF97_Utilities.hl_p Modelica.Media.Water.IF97_Utilities.hl_p

Compute the saturated liquid specific h(p)

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.hv_p Modelica.Media.Water.IF97_Utilities.hv_p

Compute the saturated vapour specific h(p)

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.sl_p Modelica.Media.Water.IF97_Utilities.sl_p

Compute the saturated liquid specific s(p)

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.sv_p Modelica.Media.Water.IF97_Utilities.sv_p

Compute the saturated vapour specific s(p)

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.rhol_T Modelica.Media.Water.IF97_Utilities.rhol_T

Compute the saturated liquid d(T)

Inputs

NameDescription
TTemperature [K]

Outputs

NameDescription
dDensity of water at the boiling point [kg/m3]

Modelica.Media.Water.IF97_Utilities.rhov_T Modelica.Media.Water.IF97_Utilities.rhov_T

Compute the saturated vapour d(T)

Inputs

NameDescription
TTemperature [K]

Outputs

NameDescription
dDensity of steam at the condensation point [kg/m3]

Modelica.Media.Water.IF97_Utilities.rhol_p Modelica.Media.Water.IF97_Utilities.rhol_p

Compute the saturated liquid d(p)

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

NameDescription
rhoDensity of steam at the condensation point [kg/m3]

Modelica.Media.Water.IF97_Utilities.rhov_p Modelica.Media.Water.IF97_Utilities.rhov_p

Compute the saturated vapour d(p)

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

NameDescription
rhoDensity of steam at the condensation point [kg/m3]

Modelica.Media.Water.IF97_Utilities.dynamicViscosity Modelica.Media.Water.IF97_Utilities.dynamicViscosity

Compute eta(d,T) in the one-phase region

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
pPressure (only needed for region of validity) [Pa]
phase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

NameDescription
etaDynamic viscosity [Pa.s]

Modelica.Media.Water.IF97_Utilities.thermalConductivity Modelica.Media.Water.IF97_Utilities.thermalConductivity

Compute lambda(d,T,p) in the one-phase region

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
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

Outputs

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

Modelica.Media.Water.IF97_Utilities.surfaceTension Modelica.Media.Water.IF97_Utilities.surfaceTension

Compute sigma(T) at saturation T

Inputs

NameDescription
TTemperature (K) [K]

Outputs

NameDescription
sigmaSurface tension in SI units [N/m]

Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy

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

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
phase2 for two-phase, 1 for one-phase, 0 if not known
regionIf 0, region is unknown, otherwise known and this input

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_props Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_props

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
auxAuxiliary record

Outputs

NameDescription
hIsentropic enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_der Modelica.Media.Water.IF97_Utilities.isentropicEnthalpy_der

Derivative of isentropic specific enthalpy from p,s

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
auxAuxiliary record
p_derPressure derivative
s_derEntropy derivative

Outputs

NameDescription
h_derSpecific enthalpy derivative

Modelica.Media.Water.IF97_Utilities.dynamicIsentropicEnthalpy Modelica.Media.Water.IF97_Utilities.dynamicIsentropicEnthalpy

Isentropic specific enthalpy from p,s and good guesses of d and T

Information

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

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
dguessGood guess density, e.g., from adjacent volume [kg/m3]
TguessGood guess temperature, e.g., from adjacent volume [K]
phase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Automatically generated Mon Sep 23 17:21:06 2013.