Closed mnijh closed 4 years ago
I just realized that this might be a problem of the formulation of Feistel & Wagner. Given the values they provide in Table 6 of www.iapws.org/relguide/Ice-Rev2009.pdf...
Hi, IAPWS95 formulation define the reference state as the saturated liquid at triple point temperature, but P and T can't used as input pair parameters in the two phase region, because only one is fixed, at triple temperature the liquid was at triple pressure, but the saturated vapor are too at these conditions..., in two phase region the correct input pair is with vapor quality, T-x or P-x
In [1]: from iapws import IAPWS95
In [2]: st = IAPWS95(T=273.16, x=0)
In [3]: st.u
Out[3]: -4.209567262911801e-10
In [4]: st.s
Out[4]: -7.001269159090048e-13
In [26]: st.P*1e6
Out[26]: 611.6547710069695
this is the triple pointe temperature from equation, the other value is the experimental value. About ice the values are the expected in triple point, check the table 6 in iapws ice paper but I don't know the expected value at 0 K and triple point pressure
Since the IAPWS-documents define that the entropy and energy at the tripple point (t=273.160 K , p= 611.657) are by definition zero, is there a way to fix that also in your implementation?
When I run the following small script
I get as a result
Thanks