jjgomera / iapws

python libray for IAPWS standard calculation of water and steam properties
GNU General Public License v3.0
170 stars 64 forks source link

IAPWS08 : Computation of ks #26

Closed jmflores26 closed 7 years ago

jmflores26 commented 7 years ago

Hi, jjgomera,

It seams there is a mistake in the computation of the isentropic compressibility ks in IAPWS08 module (file iapws08.py) if we refer to the document "IAPWS R13-08" (http://www.iapws.org/relguide/seawater.pdf, bottom of page 7):

self.ks = (prop["gtp"]**2-prop["gt"]*prop["gpp"])/prop["gp"] / \ ...

should be:

self.ks = (prop["gtp"]**2-prop["gtt"]*prop["gpp"])/prop["gp"] / \ ...

What is your opinion ?

Thank you very much for your great and usefull work ! Regards.

jjgomera commented 7 years ago

You're right, a tiny typo. Thanks!