Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions

Functions to find the current region for given pairs of input variables

Information

Package description

Package Regions contains a large number of auxiliary functions which are needed to compute the current region of the IAPWS/IF97 for a given pair of input variables as quickly as possible. The focus of this implementation was on computational efficiency, not on compact code. Many of the function values calculated in these functions could be obtained using the fundamental functions of IAPWS/IF97, but with considerable overhead. If the region of IAPWS/IF97 is known in advance, the input variable mode can be set to the region, then the somewhat costly region checks are omitted. The checking for the phase has to be done outside the region functions because many properties are not differentiable at the region boundary. If the input phase is 2, the output region will be set to 4 immediately.

Package contents

The main 4 functions in this package are the functions returning the appropriate region for two input variables.

In addition, functions of the boiling and condensation curves compute the specific enthalpy, specific entropy, or density on these curves. The functions for the saturation pressure and temperature are included in the package Basic because they are part of the original IAPWS/IF97 standards document. These functions are also aliased to be used directly from package Water.

All other functions are auxiliary functions called from the region functions to check a specific boundary.

Version Info and Revision history

Authors: Hubertus Tummescheit, Jonas Eborn and Falko Jens Wagner
Modelon AB
Ideon Science Park
SE-22370 Lund, Sweden
email: [email protected]

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofT boundary23ofT Boundary function for region boundary between regions 2 and 3 (input temperature)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofp boundary23ofp Boundary function for region boundary between regions 2 and 3 (input pressure)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp5 hlowerofp5 Explicit lower specific enthalpy limit of region 5 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp5 hupperofp5 Explicit upper specific enthalpy limit of region 5 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp5 slowerofp5 Explicit lower specific entropy limit of region 5 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp5 supperofp5 Explicit upper specific entropy limit of region 5 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp1 hlowerofp1 Explicit lower specific enthalpy limit of region 1 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp1 hupperofp1 Explicit upper specific enthalpy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp1 slowerofp1 Explicit lower specific entropy limit of region 1 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp1 supperofp1 Explicit upper specific entropy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp2 hlowerofp2 Explicit lower specific enthalpy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp2 hupperofp2 Explicit upper specific enthalpy limit of region 2 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp2 slowerofp2 Explicit lower specific entropy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp2 supperofp2 Explicit upper specific entropy limit of region 2 as function of pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d1n d1n Density in region 1 as function of p and T
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d2n d2n Density in region 2 as function of p and T
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhot1ofp dhot1ofp Density at upper temperature limit of region 1
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dupper1ofT dupper1ofT Density at upper pressure limit of region 1
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p_R4b hl_p_R4b Explicit approximation of liquid specific enthalpy on the boundary between regions 4 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p_R4b hv_p_R4b Explicit approximation of vapour specific enthalpy on the boundary between regions 4 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p_R4b sl_p_R4b Explicit approximation of liquid specific entropy on the boundary between regions 4 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p_R4b sv_p_R4b Explicit approximation of vapour specific entropy on the boundary between regions 4 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p_R4b rhol_p_R4b Explicit approximation of liquid density on the boundary between regions 4 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p_R4b rhov_p_R4b Explicit approximation of vapour density on the boundary between regions 4 and 2
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p boilingcurve_p Properties on the boiling curve
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p dewcurve_p Properties on the dew curve
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p hvl_p  
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p hl_p Liquid specific enthalpy on the boundary between regions 4 and 3 or 1
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p hv_p Vapour specific enthalpy on the boundary between regions 4 and 3 or 2
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p_der hvl_p_der Derivative function for the specific enthalpy along the phase boundary
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p rhovl_p  
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p rhol_p Density of saturated water
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p rhov_p Density of saturated vapour
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p_der rhovl_p_der  
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p sl_p Liquid specific entropy on the boundary between regions 4 and 3 or 1
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p sv_p Vapour specific entropy on the boundary between regions 4 and 3 or 2
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_T rhol_T Density of saturated water
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_T rhov_T Density of saturated vapour
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ph region_ph Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific enthalpy
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ps region_ps Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific entropy
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_pT region_pT Return the current region (valid values: 1,2,3,5) in IF97, given pressure and temperature
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_dT region_dT Return the current region (valid values: 1,2,3,4,5) in IF97, given density and temperature
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_dp hvl_dp Derivative function for the specific enthalpy along the phase boundary
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhl_dp dhl_dp Derivative of liquid specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhv_dp dhv_dp Derivative of vapour specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhovl_dp drhovl_dp  
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhol_dp drhol_dp Derivative of density of saturated water w.r.t. pressure
Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhov_dp drhov_dp Derivative of density of saturated steam w.r.t. pressure

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofT Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofT

Boundary function for region boundary between regions 2 and 3 (input temperature)

Information

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

Inputs

NameDescription
tTemperature (K) [K]

Outputs

NameDescription
pPressure [Pa]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boundary23ofp

Boundary function for region boundary between regions 2 and 3 (input pressure)

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
tTemperature (K) [K]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp5

Explicit lower specific enthalpy limit of region 5 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp5

Explicit upper specific enthalpy limit of region 5 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp5

Explicit lower specific entropy limit of region 5 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp5

Explicit upper specific entropy limit of region 5 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp1 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp1

Explicit lower specific enthalpy limit of region 1 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp1 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp1

Explicit upper specific enthalpy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp1 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp1

Explicit lower specific entropy limit of region 1 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp1 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp1

Explicit upper specific entropy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp2 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hlowerofp2

Explicit lower specific enthalpy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp2 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hupperofp2

Explicit upper specific enthalpy limit of region 2 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp2 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.slowerofp2

Explicit lower specific entropy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K)

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp2 Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.supperofp2

Explicit upper specific entropy limit of region 2 as function of pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d1n Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d1n

Density in region 1 as function of p and T

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature (K) [K]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d2n Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.d2n

Density in region 2 as function of p and T

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature (K) [K]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhot1ofp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhot1ofp

Density at upper temperature limit of region 1

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dupper1ofT Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dupper1ofT

Density at upper pressure limit of region 1

Information

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

Inputs

NameDescription
TTemperature (K) [K]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p_R4b

Explicit approximation of liquid specific enthalpy on the boundary between regions 4 and 3

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p_R4b

Explicit approximation of vapour specific enthalpy on the boundary between regions 4 and 3

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p_R4b

Explicit approximation of liquid specific entropy on the boundary between regions 4 and 3

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p_R4b

Explicit approximation of vapour specific entropy on the boundary between regions 4 and 3

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
s[J/(kg.K)]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p_R4b

Explicit approximation of liquid density on the boundary between regions 4 and 3

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dlLiquid density [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p_R4b Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p_R4b

Explicit approximation of vapour density on the boundary between regions 4 and 2

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dvVapour density [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p

Properties on the boiling curve

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
bproProperty record

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p

Properties on the dew curve

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
bproProperty record

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p

Information

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

Inputs

NameDescription
pPressure [Pa]
bproProperty record

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hl_p

Liquid specific enthalpy on the boundary between regions 4 and 3 or 1

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hv_p

Vapour specific enthalpy on the boundary between regions 4 and 3 or 2

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
hSpecific enthalpy [J/kg]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p_der Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p_der

Derivative function for the specific enthalpy along the phase boundary

Information

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

Inputs

NameDescription
pPressure [Pa]
bproProperty record
p_derDerivative of pressure

Outputs

NameDescription
h_derTime derivative of specific enthalpy along the phase boundary

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p

Information

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

Inputs

NameDescription
pPressure [Pa]
bproProperty record

Outputs

NameDescription
rhoDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_p

Density of saturated water

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_p

Density of saturated vapour

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p_der Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhovl_p_der

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]
bproProperty record
p_derDerivative of pressure

Outputs

NameDescription
d_derTime derivative of density along the phase boundary

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sl_p

Liquid specific entropy on the boundary between regions 4 and 3 or 1

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.sv_p

Vapour specific entropy on the boundary between regions 4 and 3 or 2

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_T Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhol_T

Density of saturated water

Information

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

Inputs

NameDescription
TTemperature [K]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_T Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.rhov_T

Density of saturated vapour

Information

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

Inputs

NameDescription
TTemperature [K]

Outputs

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

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ph Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ph

Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific enthalpy

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 not known
modeMode: 0 means check, otherwise assume region=mode

Outputs

NameDescription
regionRegion (valid values: 1,2,3,4,5) in IF97

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ps Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ps

Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific entropy

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
modeMode: 0 means check, otherwise assume region=mode

Outputs

NameDescription
regionRegion (valid values: 1,2,3,4,5) in IF97

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_pT Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_pT

Return the current region (valid values: 1,2,3,5) in IF97, given pressure and temperature

Information

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

Inputs

NameDescription
pPressure [Pa]
TTemperature (K) [K]
modeMode: 0 means check, otherwise assume region=mode

Outputs

NameDescription
regionRegion (valid values: 1,2,3,5) in IF97, region 4 is impossible!

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_dT Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_dT

Return the current region (valid values: 1,2,3,4,5) in IF97, given density and temperature

Information

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

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
phasePhase: 2 for two-phase, 1 for one phase, 0 if not known
modeMode: 0 means check, otherwise assume region=mode

Outputs

NameDescription
region(valid values: 1,2,3,4,5) in IF97

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_dp

Derivative function for the specific enthalpy along the phase boundary

Information

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

Inputs

NameDescription
pPressure [Pa]
bproProperty record

Outputs

NameDescription
dh_dpDerivative of specific enthalpy along the phase boundary

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhl_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhl_dp

Derivative of liquid specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dh_dpSpecific enthalpy derivative w.r.t. pressure [J.m.s2/kg2]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhv_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dhv_dp

Derivative of vapour specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure

Information

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

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dh_dpSpecific enthalpy derivative w.r.t. pressure [J.m.s2/kg2]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhovl_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhovl_dp

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]
bproProperty record

Outputs

NameDescription
dd_dpDerivative of density along the phase boundary [kg/(m3.Pa)]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhol_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhol_dp

Derivative of density of saturated water w.r.t. pressure

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

NameDescription
dd_dpDerivative of density of water at the boiling point [s2/m2]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhov_dp Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.drhov_dp

Derivative of density of saturated steam w.r.t. pressure

Information

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

Inputs

NameDescription
pSaturation pressure [Pa]

Outputs

NameDescription
dd_dpDerivative of density of water at the boiling point [s2/m2]
Automatically generated Tue Apr 05 09:37:02 2016.