Skip to content

A Rust implementation of the IAPWS-IF97 steam tables

License

Notifications You must be signed in to change notification settings

marciorvneto/rusteam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Available via public interface
Specific volume ✔️ ✔️ ✔️
Specific internal energy ✔️ ✔️ ✔️
Specific entropy ✔️ ✔️ ✔️
Specific enthalpy ✔️ ✔️ ✔️
Specific isobaric heat capacity ✔️ ✔️ ✔️
Specific isochoric heat capacity ✔️ ✔️ ✔️
Speed of sound ✔️ ✔️ ✔️
  • Backward equations
Equation Implemented Tested Available via public interface
T(p,h) ✔️ ✔️ ✔️
T(p,s) ✔️ ✔️ ✔️

Region 2

  • Forward equations
Property Implemented Tested Available via public interface
Specific volume ✔️ ✔️ ✔️
Specific internal energy ✔️ ✔️ ✔️
Specific entropy ✔️ ✔️ ✔️
Specific enthalpy ✔️ ✔️ ✔️
Specific isobaric heat capacity ✔️ ✔️ ✔️
Specific isochoric heat capacity ✔️ ✔️ ✔️
Speed of sound ✔️ ✔️ ✔️
  • Backward equations
Equation Implemented Tested Available via public interface
T(p,h) ✔️ ✔️ ✔️
T(p,s) ✔️ ✔️ ✔️

Region 3

  • Forward equations
Property Implemented Tested Available via public interface
Pressure ✔️ ✔️ ✔️
Specific internal energy ✔️ ✔️ ✔️
Specific entropy ✔️ ✔️ ✔️
Specific enthalpy ✔️ ✔️ ✔️
Specific isochoric heat capacity ✔️ ✔️ ✔️
Specific isobaric heat capacity ✔️ ✔️ ✔️
Speed of sound ✔️ ✔️ ✔️

Region 4

Property Implemented Tested Available via public interface
Saturation pressure ✔️ ✔️ ✔️
Saturation temperature ✔️ ✔️ ✔️

Region 5

  • Forward equations
Property Implemented Tested Available via public interface
Specific volume ✔️ ✔️ ✔️
Specific internal energy ✔️ ✔️ ✔️
Specific entropy ✔️ ✔️ ✔️
Specific enthalpy ✔️ ✔️ ✔️
Specific isobaric heat capacity ✔️ ✔️ ✔️
Specific isochoric heat capacity ✔️ ✔️ ✔️
Speed of sound ✔️ ✔️ ✔️

About

A Rust implementation of the IAPWS-IF97 steam tables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages