WSP Logo
Change language
 Welcome   News   Download   Buy   Information   Certification   Samples   Site map   
Bookmarks:
 
License agreement
 
System requirements
 
F.A.Q.
 
WaterSteamPro documentation
 
WaterSteamPro Custom Units documentation
 
Download documentation
 
Contact information
 
Gases functions equations
 

Information Useful information

License agreement

License agreement for using the WaterSteamPro given here.

Note that license agreements for WaterSteamPro and WaterSteamPro Custom Units are the same.

 

SysReq System requirements

The requirements for installing and running WaterSteamPro given here.

 

F.A.Q. F.A.Q. (Frequently Asked Questions)

Q1: What is the difference between WaterSteamPro and other programs?

Q2: What is mean "to register a program"?

Q3: What is the period for the registration?

Q4: How I can increase the speed of the calculations in the WaterSteamPro functions?

Q5: The functions of the WaterSteamPro appeared to operate in only SI units. Is there a set of functions which allow passing and returning values in non-SI units?

Q6: How to add the WaterSteamPro functions descriptions in 'Insert function' dialog of Mathcad 11?

Q7: How to solve the problem with WaterSteamPro functions with dimensions in Mathcad 12?

Q8: How to enable WaterSteamPro functions in Microsoft Excel 2007, 2010 and above?

Q9: How to add WaterSteamPro functions in Visual Studio for .Net project (VB, C# etc)?

Answers

top

Q1: What is the difference between WaterSteamPro and other programs?

A: As source formulas in the WaterSteamPro 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 WaterSteamPro 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 WaterSteamPro. In the WaterSteamPro 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 WaterSteamPro 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

Q2: What's mean "to register a program"?

A: With registration of the WaterSteamPro you will receive your own "registration file". Only you may use it. Additional information about registration given here.


top

Q3: What is the period for the registration?

A: Registration continued only for current version of the WaterSteamPro. For registered users the payment for next versions will be with discount.


top

Q4: How I can increase the speed of the calculations in the WaterSteamPro 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

Q5: The functions of the WaterSteamPro 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 WaterSteamPro is developed to be the world-wide program for calculating properties of water and steam. So for this the all native functions of the WaterSteamPro works with SI units. But you may to overload functions or transform your native units to SI. The program WaterSteamPro Calculator is partially used the well-known relations between units. These relations can be founded in the program Mathcad from MathSoft, Inc.

To solve this problem also developed program named WaterSteamPro Custom Units. It's based on WaterSteamPro and allow to use your own preferred units. But there are some restrictions to use this program. Details given in documentation for WaterSteamPro Custom Units.

If you want to see how to manually translate units you may to load example of the usage of the WaterSteamPro in HTML pages (see the WaterSteamPro 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 WaterSteamPro's functions in Mathcad" or see the file "Two modes of the usage the WaterSteamPro.mcd" in your "My Documents" folder after installing the WaterSteamPro.


top

Q6: How to add the WaterSteamPro 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 "wspmcad_EN.xml".

Thanks for this advice to rjw57.


top

Q7: How to solve the problem with WaterSteamPro functions with dimensions in Mathcad 12?

MathSoft introduced in Mathcad 12 the functions namespaces (see it in MC12 documentation). With this future the WaterSteamPro functions with dimensions will not work.

In file "watersteampro.mcd" WaterSteamPro 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 "watersteampro.mcd" have the full list of WaterSteamPro functions with next view (as example):

     wspPST(t) := wspPST(t / K + 1 - 1) * Pa

2. For each WaterSteamPro 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 "watersteampro.mcd".

When you done this for all the WaterSteamPro functions they will work in MC12.

This error solved in release version of WaterSteamPro 6.0. For previous versions please use the above mentioned steps to solve it.

 

Q8:


top

Q8: How to enable WaterSteamPro functions in Microsoft Excel 2007, 2010 and above?

A: Please see the next images for explanation. Also you can refer to WaterSteamPro documentation (section "Excel").

Starting from Microsoft Office 2007 the way to enable WaterSteamPro XLL add-in is changed. You should use the steps showed on figures a, b, c.

Fig. a. Go to "Parameters" dialog in Microsoft Excel

Fig. b. Go to "Add-ins" dialog in Microsoft Excel

Fig. c. "Add-ins" dialog in Microsoft Excel

 


top

Q9: How to add WaterSteamPro functions in Visual Studio for .Net project (VB, C# etc)?

A: 1. Start Visual Studio (Express or full).

2. Create New or open existing project.

3. In Solution Explorer right click on project title. Choose “Add Reference...” item:

4. Choose “COM” tab:

5. Search for the “WaterSteamPro”:

And press OK button.

6. Now you can reference to WaterSteamPro functions in your code:

Visual Basic:

	Dim wsp As OKAWSP6A.WSPCalculator, ps as Double
	wsp = New OKAWSP6A.WSPCalculator
	ps = wsp.wspPST(300 + 273.15) / 1E6 ' Calculate saturation pressure for 300 C and scale the result to MPa.

C#:

	OKAWSP6A.WSPCalculator wsp = new OKAWSP6A.WSPCalculator();
	double ps;
	ps = wsp.wspPST(300 + 273.15) / 1E6; //  Calculate saturation pressure for 300 C and scale the result to MPa.
Documentation WaterSteamPro documentation

Online documentation for WaterSteamPro:

Note that version 5.6 is obsolete and not supported.

 

Documentation WaterSteamPro Custom Units documentation

Online documentation for WaterSteamPro Custom Units:

Documentation for version 5.5 is "WaterSteamPro US units edition" documentation. This program is obsolete and not released (it have only beta status). It's ancestor for WaterSteamPro Custom Units.

 

Documentation Download documentation

You can download above mentioned documentations in single (chm) files in download section.

CHM file (Documentation) is compiled (and compressed) html files. Usually it contains help information for programs for Microsoft Windows.

 

Contact information

For questions, troubleshooting and wishes about WaterSteamPro please contact Konstantin A. Orlov, E-mail: watersteampro@hotmail.com

 

Article about gases functions

There is article about equations used for calculating the properties of gases and their mixtures. You can download article (pdf format) from: Thermal Engineering, Vol. 52, No. 3, 2005,

Note that article written for functions set used until WaterSteamPro 6.0 beta 8. In final release functions set is changed. Additional information given in program documentation.

 


Copyright (c) Konstantin A. Orlov, 1999-2024.
For troubleshooting and wishes about this site please contact to Konstantin A. Orlov, E-mail: Konstantin Orlov E-mail