Remarks about the function set

WaterSteamPro has some functions, named "non thermodynamic", which calculate properties of water and steam but have no physical meaning. For example, function wspCPSTX(t, x), calculates specific isobaric heat capacity (Cp) in double-phase area depending on temperature t and dryness factor x. In reality, that equals to infinity in double-phase area. However, the function returns the value defined from:

In WaterSteamPro exist category of some functions, named as "non thermodynamic" category, in which functions calculates properties of water and steam, which not having the physical mean. As example - function wspCPSTX(t, x), which calculate specific isobaric heat capacity (Cp) in double phase for temperature t and vapor fraction x. In reality, specific isobaric heat capacity in double-phase area have infinity value. But this function return the value determine as:

Cpsw(t)·(1 - x) + Cpss(t)·x,

where Cpsw(t) - is the function of specific isobaric heat capacity of water at saturation line; Cpss(t) - is the function of specific isobaric heat capacity of steam at saturation line.

All similar functions are marked by sign in list of WaterSteamPro functions. That are defined when it is necessary to make optimization or find a root and therefore to calculate a value of a property from physical definition. That may occurs automatically, for example, when Newton method is used. The second example: such up-to-date mathematical packages as Mathcad have built-in functions that find roots, minimums, maximums and so on. At that, if a function has a discontinuity the root may be not found even if it is situated in the tolerance range.

To solve this problem, for universality, the additional functions were defined in WaterSteamPro that return not real (physical) values.

For the same purpose, WaterSteamPro has the ability to disable checking arguments for tolerance range. By default, when calling a function the argument range is checked before calculation. If an argument is out of range the error is occurred with code 2 (WSP_OUT_OF_RANGE).

To disable checking arguments function wspSETCHECKRANGEMODE(mode) is defined. Calling this function with argument equals to zero (0) disable checking the arguments for tolerance range which defined by the region of allowable parameters of the input equations. That allows calculating beyond the original regions with the values of the properties, which are not corresponding with real.