SEUIF97
SEUIF97 is the high-speed shared library of IAPWS-IF97. It is suitable for computation-intensive calculations,such as heat cycle calculations, simulations of non-stationary processes, real-time process monitoring and optimizations.
Through the high-speed library, the results of the IAPWS-IF97 are accurately produced at about 3x speed-up compared to the repeated squaring method for fast computation of integer powers, 10x speed-up compared to the math.pow() of the C standard library.
The shared libraries for Windows and Linux(X86/X64):
Windows32/64: libseuif97.dll; Linux64: libseuif97.so
The binding APIs for the programming languages:
Python, C/C++, Excel VBA, MATLAB, Fortran, Java, C#, Modelica, Rust, Pascal
Publications:
王培红,贾俊颖,程懋华. 水和水蒸汽热力性质IAPWS-IF97公式的通用计算模型[J]. 动力工程,2001,21(6):1564-1567 [ pdf ]
芮嘉敏,孙振业,程懋华. 基于最短加法链状态空间树的IAPWS-IF97快速计算方法[J]. 汽轮机技术,2017,59(4):245-247 [ pdf ]
Functions of the SEUIF97 Shared Library
Functions of water and steam properties, exergy analysis and the thermodynamic process of steam turbine are provided in SEUIF97
Functions of Water and Steam Properties
Using SEUIF97, you can set the state of steam using various pairs of know properties to get any output properties you wish to know, including in the 30 properties in libseuif97.
The following input pairs are implemented:
(p,t) (p,h) (p,s) (p,v) (p,x)
(t,h) (t,s) (t,v) (t,x)
(h,s)
Functions of Thermodynamic Process of Steam Turbine
1 Isentropic Enthalpy Drop:ishd(pi,ti,pe)
pi - double, inlet pressure(MPa); ti - double, inlet temperature(°C)
pe - double, outlet pressure(MPa)
2 Isentropic Efficiency(0~100): ief(pi,ti,pe,te)
pi - double, inlet pressure(MPa); ti - double, inlet temperature(°C)
pe - double, outlet pressure(MPa); te - double, outlet temperature(°C)
Install SEUIF97 Library Manually
Download SEUIF97.zip of the repository,then unzip and install the shared library and APIs for different programming languages manually.
Call the shared library from one programming language, you may
Put the shared library in the Lib path of OS or the programming language
Add the API file of the programming language to its API path
Put the shared library in the Lib path of OS
Windows3