Problem with iso-enthalps
@ibell @jowr please can you help me debug the following sample code, I'm not sure if the error I am getting is due to the code changes I made in the plotting package or due to something else.
from CoolProp.Plots import PropsPlot
plt = PropsPlot('R600a', 'Ts')
plt.draw_isolines('H', [100, 300], num=5)
plt.show()
The error I get is
ValueError: CoolProp error: Inputs in Brent [113,730000,392,481449] do not bracket the root. Function values are [268331,802491,586497,269690] :: inputs were:"T",'H',1.0000000000000000e+02,'S',-5.2671895957182779e-01,"R600a"
Are you close to the critical point? Sometimes the h-s solver fails quite close to the critical point...
On Thu, Oct 17, 2013 at 2:00 PM, lgpage [email protected] wrote:
@ibell https://github.com/ibell @jowr https://github.com/jowr please can you help me debug the following sample code, I'm not sure if the error I am getting is due to the code changes I made in the plotting package or due to something else.
from CoolProp.Plots import PropsPlot
plt = PropsPlot('R600a', 'Ts') plt.draw_isolines('H', [100, 300], num=5) plt.show()
The error I get is ValueError: CoolProp error: Inputs in Brent [113,730000,392,481449] do not bracket the root. Function values are [268331,802491,586497,269690] :: inputs were:"T",'H',1.0000000000000000e+02,'S',-5.2671895957182779e-01,"R600a"
— Reply to this email directly or view it on GitHubhttps://github.com/ibell/coolprop/issues/53 .
I'll look at bit more closely at this tomorrow again.
On Thu, Oct 17, 2013 at 10:39 PM, Ian Bell [email protected] wrote:
Are you close to the critical point? Sometimes the h-s solver fails quite close to the critical point...
On Thu, Oct 17, 2013 at 2:00 PM, lgpage [email protected] wrote:
@ibell https://github.com/ibell @jowr https://github.com/jowr please can you help me debug the following sample code, I'm not sure if the error I am getting is due to the code changes I made in the plotting package or due to something else.
from CoolProp.Plots import PropsPlot
plt = PropsPlot('R600a', 'Ts') plt.draw_isolines('H', [100, 300], num=5) plt.show()
The error I get is ValueError: CoolProp error: Inputs in Brent [113,730000,392,481449] do not bracket the root. Function values are [268331,802491,586497,269690] :: inputs were:"T",'H',1.0000000000000000e+02,'S',-5.2671895957182779e-01,"R600a"
— Reply to this email directly or view it on GitHub< https://github.com/ibell/coolprop/issues/53> .
— Reply to this email directly or view it on GitHubhttps://github.com/ibell/coolprop/issues/53#issuecomment-26550669 .