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
Block Tabular backend use with PropsSI somehow #617
Comments
Actually the tabular backends should not be used in PropsSI because every On Fri, Apr 24, 2015 at 3:46 AM, Jorrit Wronski notifications@github.com
|
Yes, I know I shouldn't do this 😉 ... but the error message could be more helpful though. We might even want to kill the whole thing saying something like "Do not use PropsSI with tabular backends, go read the docs." or a similar message. |
Yeah I thought about that, but I can't come up with a good way of On Fri, Apr 24, 2015 at 11:44 AM, Jorrit Wronski notifications@github.com
|
Well, thinking about it, what do you think about a wrapper for the tables that is similar to the one we have for REFPROP? Some stateful object parses the inputs and only reloads the tables if necessary. But sorry, no better idea about the backend so far. |
Now this code import CoolProp.CoolProp as CP
CP.PropsSI("Tcrit","TTSE&HEOS::R134a") yields
Unfortunately the error is nested a few levels deep, but at least it is there. |
A simple call to
PropsSI("Tcrit","",0,"",0,"TTSE&HEOS::R134a")
returnsThe text was updated successfully, but these errors were encountered: