#steam #table #calculations #iapws-if97 #partial #region #inspiration

rust-steam

A Rust implementation of the IAPWS-IF97 steam tables

10 releases

0.1.9 Feb 26, 2023
0.1.8 Feb 26, 2023

#15 in #partial

MIT license

36KB
763 lines

Rusteam

A partial implementation of the IAPWS-IF97 steam table calculations in Rust.

There's still a lot of work to be done, but we'll get there eventually :)

Reference: http://www.iapws.org/relguide/IF97-Rev.html

I've also drawn some inspiration from the C++ library CoolProp: https://github.com/CoolProp/IF97

Progress

Here you can find the current status of each of the calculations implemented so far. Some of them have been implemented, but not thoroughly tested, so use them at your own risk.

Region 1

  • Forward equations
Property Implemented Tested
Specific volume Yes Yes
Specific enthalpy Yes Yes
Specific internal energy Yes Yes
Specific entropy Yes Yes
Specific isobaric heat capacity Yes Yes
  • Backward equations
Equation Implemented Tested
T(p,h) Yes Yes
T(p,s) Yes Yes

Region 2

  • Forward equations
Property Implemented Tested
Specific volume Yes Yes
Specific enthalpy Yes Yes
Specific internal energy Yes Yes
Specific entropy Yes Yes
Specific isobaric heat capacity Yes Yes

Region 4

Property Implemented Tested
Saturation pressure Yes Yes
Saturation temperature Yes Yes

No runtime deps