WOLFRAM SYSTEM MODELER
RegionsFunctions to find the current region for given pairs of input variables |
Boundary function for region boundary between regions 2 and 3 (input temperature) |
|
Boundary function for region boundary between regions 2 and 3 (input pressure) |
|
Explicit lower specific enthalpy limit of region 5 as function of pressure |
|
Explicit upper specific enthalpy limit of region 5 as function of pressure |
|
Explicit lower specific entropy limit of region 5 as function of pressure |
|
Explicit upper specific entropy limit of region 5 as function of pressure |
|
Explicit lower specific enthalpy limit of region 1 as function of pressure |
|
Explicit upper specific enthalpy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K) |
|
Explicit lower specific entropy limit of region 1 as function of pressure |
|
Explicit upper specific entropy limit of region 1 as function of pressure (meets region 4 saturation pressure curve at 623.15 K) |
|
Explicit lower specific enthalpy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K) |
|
Explicit upper specific enthalpy limit of region 2 as function of pressure |
|
Explicit lower specific entropy limit of region 2 as function of pressure (meets region 4 saturation pressure curve at 623.15 K) |
|
Explicit upper specific entropy limit of region 2 as function of pressure |
|
Density in region 1 as function of p and T |
|
Density in region 2 as function of p and T |
|
Density at upper temperature limit of region 1 |
|
Density at upper pressure limit of region 1 |
|
Explicit approximation of liquid specific enthalpy on the boundary between regions 4 and 3 |
|
Explicit approximation of vapour specific enthalpy on the boundary between regions 4 and 3 |
|
Explicit approximation of liquid specific entropy on the boundary between regions 4 and 3 |
|
Explicit approximation of vapour specific entropy on the boundary between regions 4 and 3 |
|
Explicit approximation of liquid density on the boundary between regions 4 and 3 |
|
Explicit approximation of vapour density on the boundary between regions 4 and 2 |
|
Properties on the boiling curve |
|
Properties on the dew curve |
|
Liquid specific enthalpy on the boundary between regions 4 and 3 or 1 |
|
Vapour specific enthalpy on the boundary between regions 4 and 3 or 2 |
|
Derivative function for the specific enthalpy along the phase boundary |
|
Density of saturated water |
|
Density of saturated vapour |
|
Liquid specific entropy on the boundary between regions 4 and 3 or 1 |
|
Vapour specific entropy on the boundary between regions 4 and 3 or 2 |
|
Density of saturated water |
|
Density of saturated vapour |
|
Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific enthalpy |
|
Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific entropy |
|
Return the current region (valid values: 1,2,3,5) in IF97, given pressure and temperature |
|
Return the current region (valid values: 1,2,3,4,5) in IF97, given density and temperature |
|
Derivative function for the specific enthalpy along the phase boundary |
|
Derivative of liquid specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure |
|
Derivative of vapour specific enthalpy on the boundary between regions 4 and 3 or 1 w.r.t. pressure |
|
Derivative of density of saturated water w.r.t. pressure |
|
Derivative of density of saturated steam w.r.t. pressure |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
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.
SystemModel["Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions"]