Q: What is the difference of the WSP from the other programs?
Q: What's mean "to register a program"?
Q: What's the period for the registration?
Q: How I can increase the speed of the calculations in the WSP functions?
Q: How to add the WSP functions descriptions in 'Insert function' dialog of Mathcad 11?
Q: How to solve the problem with WSP functions with dimensions in Mathcad 12?
top
Q: What is the difference of the WSP from the other programs?
A: As source formulas in the WSP used the "Industrial" Formulation-97 of the International Association for the Properties of Water and Steam (http://www.iapws.org). This formulation is intended for replacement more old formulation from 1967 year (IF-67). Many programs based upon old formulation. The new formulation more quick and precise than older. In the WSP added some functions for more powerfull and easy calculation of the properties of water and steam. In source Formulation IF-97 not calculated the values for Joule-Thompson coefficient, Isoentropic coefficient. But these values may be calculated in the WSP. In the WSP also added the functions with the arguments (p - pressure, h - specific enthalpy) and (p - pressure, s - specific entropy) for all areas of the IF-97 Formulation.
Next feature of the WSP is that you may call it's functions from different programs (as example Mathcad, C/C++, Delphi, Basic, JavaScript/VBScript, HTML-pages). The names of functions, arguments and results will be the same.
top
Q: What's mean "to register a program"?
A: With registration of the WSP you will receive your own "registration key". Under WSP License only you may use it. Additional information about registration given here.
top
Q: What's the period for the registration?
A: Registration will be continued only for current version of the WSP. For all people who's registered WSP earlier than 22 January 2001 all future versions will be free. But in current time the registration key for all versions of the WSP is the same, so the future versions of the WSP may be used with the current registration key. The registration key will be changed in 6 version of the WSP. But for registered users the payment for next versions will be with discount.
top
Q: How I can increase the speed of the calculations in the WSP functions?
A: For the first you may to uncheck the mode of the checking parameters range. For this you must to call the function wspSETCHECKRANGEMODE(mode) with parameter mode equal to zero.
For the second if you use the functions with arguments (p, h) and (p, s) you may to uncheck the mode of the made answer more precision. For this you must to call the function wspSETTOLERANCEMODE(mode) with parameter mode equal to zero. After that the result of function will be lost the precision. Note that this is only for areas 1 and 2 from the IAPWS IF-97 where the Additional Formulation is exist. In area 3 and 5 used the Newton method for determining the temperature. But in area 1 and 2 for the first calculated the rough value which is after adjusted with Newton method.
If you not want to use the function wspSETTOLERANCEMODE(mode) (see above) you may to less the precision with increasing the speed. As I tell above the Newton method used for adjusting the functions results. This method stopped if difference is less than internal precision. You may to increase the value of the precision and the needed count of the iteration will be decreased. It's will be affect to the speed of the calculations. Note that it's mainly effect to calculation in areas 3 and 5 where only the Newton method used. In other areas (1 and 2) the count of the iteration is small.
top
Q: The functions of the WSP appeared to operate in only SI units. Is there a set of functions which allow passing and returning values in non-SI units?
A: The WSP is developed to be the world-wide program for calculating properties of water and steam. So for this the all native functions of the WSP works with SI units. But you may to overload functions or transform your native units to SI. The program WSP Calculator is partially used the well-known relations between units. These relations can be founded in the program Mathcad from MathSoft, Inc.
If you want to see how to manually translate units you may to load example of the usage of the WSP in HTML pages (see the WSP Program Group/Examples). After the file is loaded to Internet Explorer please select "View Source" from the mouse right-button menu.
The program Mathcad allow to work with units in a high-level. Mathcad will automatically translate to units in needed one. As example please see in documentation the section "Two ways of usage of the WSP's functions in Mathcad" or see the file "Two modes of the usage the WSP.mcd" in your "My Documents" folder after installing the WSP.
top
Q: How to add the WSP functions descriptions in 'Insert function' dialog of Mathcad 11?
A: To do it you must do next step:
In Mathcad 11 installation folder (usually it is "C:\Program Files\MathSoft\Mathcad 11") you will find the subfolder named "DOC". In this subfolder you will find the subfolder named "Funcdoc". In last subfolder you will find the file "wspmcad.xml". And this file you must to rename it into "wspsmcad_EN.xml".
Thanks for this advice to rjw57.
top
Q: How to solve the problem with WSP functions with dimensions in Mathcad 12?
MathSoft introduced in Mathcad 12 the functions namespaces (see it in MC12 documentation). With this future the WSP functions with dimensions will not work.
In file "WSP.mcd" WSP functions redefined to support the Mathcad units. You can open this document and see it' body.
Also you can manually change this file to support the MC12. To do it you must follow next steps:
1. File "WSP.mcd" have the full list of WSP functions with next view (as example):
wspPST(t) := wspPST(t / K + 1 - 1) * Pa
2. For each WSP functions you must to change the line as follows:
wspPST(t) := wspPST[user](t / K + 1 - 1) * Pa
where [user] - it's MC12 namespace operator. To input it you must to press keystroke: [Ctrl][Shift]N.
3. Save the file "WSP.mcd".
When you done this for all the WSP functions then they will work in MC12.
This error solved in release version of WSP 6.0. For previous versions please use the above mentioned steps to solve it.