New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hmolar, smolar etc. are incorrect for HEOS backend with PD inputs #273
Comments
In any case, its a bug and we will fix it in 5.0.1 |
Off the top of your head - any idea which one is right? On Wed, Dec 3, 2014 at 1:15 PM, mayersre notifications@github.com wrote:
|
Sounds like we are getting the liquid solution instead of the vapor solution Interestingly, we get the same temperature: In [1]: import CoolProp
In [2]: CoolProp.CoolProp.PropsSI('H','P',50000,'D',2.22,'R407C')
Out[2]: 2527963510.2319517
In [3]: CoolProp.CoolProp.PropsSI('H','P',50000,'D',2.22,'REFPROP::R407C')
Out[3]: 392821.6705464548
In [4]: CoolProp.CoolProp.PropsSI('T','P',50000,'D',2.22,'R407C')
Out[4]: 238.05110549432456
In [5]: CoolProp.CoolProp.PropsSI('T','P',50000,'D',2.22,'REFPROP::R407C')
Out[5]: 238.05110553305806 |
Looks like it is only a question of reference state:
|
Need to add a test for reference state for enthalpy for pseudo-pure as well: #276 |
Hmm. Now I am confused. |
The two examples with result show the problem
Coolprop 5.0.2/Python 3.4/Windows 8
cp.PropsSI('H','P',50000,'D',2.22,'R407C')
result = 2527963510.2319546
cp.PropsSI('H','P',50000,'D',2.22,'REFPROP::R407C')
result = 392821.67054645496
The text was updated successfully, but these errors were encountered: