Skip to content
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

P and D as inputs produces some errors #274

Closed
mayersre opened this issue Dec 3, 2014 · 3 comments
Closed

P and D as inputs produces some errors #274

mayersre opened this issue Dec 3, 2014 · 3 comments
Milestone

Comments

@mayersre
Copy link

mayersre commented Dec 3, 2014

When I try to use P and D as inputs

PropsSI("H","P",50000,"D",1.246319665,"R134a") should give a result

I get :
ValueError: Inputs in Brent [218.150000,456.000000] do not bracket the root. Function values are [-28172.007837,-3777.868867] : PropsSI("H","P",50000,"D",1.246319665,"R134a")

same call to refprop brings a result :
cp.PropsSI("H","P",50000,"D",1.246319665,"REFPROP::R134a")
620114.7787468057

@ibell
Copy link
Contributor

ibell commented Dec 3, 2014

According to http://www.coolprop.dreamhosters.com:8010/sphinx/_downloads/R134a1.pdf it seems there are a few problems with D,P inputs for R134a

Also it seems that we should log scale the densities, a lot of the points are hiding and it is hard to see if there were any issues. See #275

@ibell ibell added this to the v5.0.3 milestone Dec 3, 2014
@ibell
Copy link
Contributor

ibell commented Dec 4, 2014

Temperature is above the maximum for the EOS

@ibell
Copy link
Contributor

ibell commented Dec 4, 2014

Closed by de6e95e

@ibell ibell closed this as completed Dec 4, 2014
ibell added a commit that referenced this issue Dec 4, 2014
See also #274

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants