Remarks for functions set

In WaterSteamPro exists some functions, which calculate properties of water and steam, which not having the physical mean. As example – function wsuWSTX(t, x), which calculate sound velocity in double phase for temperature t and degree of dryness x. In reality, sound velocity in double area depend not from thermodynamic parameters, but from the structure of fluid. This function return the value determine as:

wsw(t)·(1 - x) + wss(t)·x,

where wsw(t) – function of sound velocity in water at saturation line; wss(t) – function of sound velocity in steam at saturation line.

All same functions are marked by sign in list of WaterSteamPro functions. These function are defined for case when needed optimization and search the root. In this case may be needed the results of functions beyond the bounds of it's definitions.

For solution of this problem in WaterSteamPro defined additional functions for calculation properties, but which return not real (physical ) values.

Alse for this purpose in functions of the WaterSteamPro added the future for cancel the check of values of function's arguments. By default in functions before calculating properties carry out the check for propriety of arguments range, and after that calculated properties. When the arguments out of bounds the error with code 2 (WSP_OUT_OF_RANGE) are generate.

For cancel of check range in WaterSteamPro defined function wsuSETCHECKRANGEMODE(mode). When your are call this function with argument equal to zero (0) the check is cancel.