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
HAPropsSI does not converge for T= 299.8 K #756
Comments
32-bit or 64-bit? |
That works fine in C++ on OS X in 64-bit |
Works fine for me: >>> import CoolProp
>>> HA = CoolProp.CoolProp.HAPropsSI
>>> HA("W","T",2.9980000000000001e+02,"P",1.0132500000000000e+05,"R",5.1000000000000001e-01 )
0.011186615660923415 |
And for me on windows (python 2.7, 64-bit):
|
Pushed a change - can you please try with the development version? http://www.coolprop.org/coolprop/wrappers/Python/index.html#automatic-installation |
I'm thinking this should be fixed. Re-open if that is not the case. Please confirm. |
Works perfectly. Thanks for the quick fix!! Side-note: |
Back for more software testing :)
HAPropsSI works great, except for 299.8 K, but works fine for other temperatures.
Version of CoolProp is the current one.
Added printout below, issue seems convergence in CoolProp.cpp.
Traceback (most recent call last):
File "<pyshell#23>", line 1, in
HAPropsSI('W','T',299.8,'P',101325,'R',0.51)
File "CoolProp\HumidAirProp.pyx", line 3, in CoolProp.CoolProp.HAPropsSI (CoolProp\CoolProp.cpp:4112)
File "CoolProp\HumidAirProp.pyx", line 47, in CoolProp.CoolProp.HAPropsSI (CoolProp\CoolProp.cpp:2865)
ValueError: Maxwell solver did not converge after 30 iterations; rhoL: 55317.94333544713 rhoV: 1.404747498588554 error: 3.95539e-009 dvL/vL: -1.07605e-014 dvV/vV: -2.78591e-014 pL: 3495.44 pV: 3495.44
:: inputs were:"W","T",2.9980000000000001e+02,"P",1.0132500000000000e+05,"R",5.1000000000000001e-01
The text was updated successfully, but these errors were encountered: