0% found this document useful (0 votes)
24 views2 pages

DLL Information For E Steam Software

The document provides instructions for including header files and linking libraries to use steam table DLLs for IAPWS-IF97 and IFC-67 tables in C/C++ programs. It describes the functions available in each DLL and notes that while parameters are documented differently, the DLL functions always take US units as input and output so conversions may be needed. It includes a list of the unit conversions used and function name variations between the different DLLs.

Uploaded by

madhu_bedi12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

DLL Information For E Steam Software

The document provides instructions for including header files and linking libraries to use steam table DLLs for IAPWS-IF97 and IFC-67 tables in C/C++ programs. It describes the functions available in each DLL and notes that while parameters are documented differently, the DLL functions always take US units as input and output so conversions may be needed. It includes a list of the unit conversions used and function name variations between the different DLLs.

Uploaded by

madhu_bedi12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

USING THE Esteam™ DLL'S IN YOUR PROGRAM

USING THE IAPWS-IF97 STEAM TABLES


Include the header file in your program. This header file is a C file. To include this file in C++, type the
following:

extern "C" {
#include "translate.h"
}

Then, add the library file Esteam97.lib to your project and put Esteam97.dll in the working directory.

USING THE IFC-67 STEAM TABLES


Include the header file in your program. This header file is a C file. To include this file in C++, type the
following:

extern "C" {
#include "steamd.h"
}

Then, add the library file esteam32.lib to your project and put Esteam32.dll in the working directory.

The functions are described in the manual. The only difference is that there are different function calls in the
actual DLL. In the manual, the functions are described as having 2 parameters at the end to describe the units
and the version of the steam tables that you want to use. These parameters are not used in the DLLs. This is
because the functions provided in the DLL always take inputs in US units. If your program uses SI units you
will need to convert the values to US units before calling the functions, and convert the answer to SI units before
using it. On the next page I have included a list of the conversions that we use in Esteam. The functions are
also actually in separate DLLs with different functions names. To call functions in the 97 steam tables use the
names shown with 97 at the end.

For example to calculate the temperature using the 97 tables from pressure and enthalpy, which in the add-ins is
TfromPH, call TfromPH97. The only functions that are different are the functions calculating from pressure and
temperature. In the DLLs for these functions you will need to add an additional parameter for quality. So
instead of calling HfromPT you would call HfromPTQ (with the third parameter equal to 100, 100% quality) for
the 67 tables and Hfrom PTQ97 for the 97 tables. The same exists for SfromPT, VfromPT, etc.
Available Functions

AEfromPHP KfromPT QfromST


CfromHS KfromST SfromPH
CfromPH MfromHS SfromPQ
CfromPS MfromPH SfromPT
CfromPT MfromPQ SfromTQ
CfromST MfromPS Tat23P
EFFfromPHPH MfromPT TfromHS
HfromPEFFPH MfromST TfromPH
HfromPHPEFF MfromTQ TfromPS
HfromPQ Pat23T TsatP
HfromPS PfromHS VfromHS
HfromPT PfromST VfromPH
HfromST PsatT VfromPQ
HISfromPHP QfromHS VfromPS
KfromHS QfromPH VfromPT
KfromPH QfromPS VfromST
KfromPS QfromPT VfromTQ

Abbreviations
AE = Available Energy
C = Specific Heat at constant pressure
EFF= Expansion Efficiency
H = Enthalpy
HIS = Isentropic Enthalpy
K = Thermal Conductivity
M = Dynamic Viscosity
P = Pressure
Q = Steam Quality
S = Entropy
T = Temperature
UE = Used Energy
V = Specific Volume

You might also like