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

Set maximum states for saturation curves for pseudo-pures properly #308

Closed
paarfi opened this issue Dec 8, 2014 · 2 comments
Closed

Set maximum states for saturation curves for pseudo-pures properly #308

paarfi opened this issue Dec 8, 2014 · 2 comments
Milestone

Comments

@paarfi
Copy link

paarfi commented Dec 8, 2014

AbstractState state = AbstractState.factory("HEOS", "R507A);
state.update(input_pairs.QT_INPUTS, 1.0, 355.37222222222226);
Exception -> "p is not a valid number"

@ibell
Copy link
Contributor

ibell commented Dec 8, 2014

You are in the very-near critical region, and R507A is pseudo-pure, probably this is an impossible state to meet, the error message should be clearer though...

@paarfi
Copy link
Author

paarfi commented Dec 9, 2014

Yeah, I was only doing this calc as part of a T,P calc to compare pressures and see if I was sitting on the saturated vapor line. I'd be better to do this by checking P,Q and comparing temperatures. I agree a more informative error message would help. Thanks.

@ibell ibell changed the title R507 saturated vapor error R507 saturated vapor unclear error in near-critical region Dec 10, 2014
@ibell ibell added this to the v5.0.4 milestone Dec 10, 2014
@ibell ibell closed this as completed in cbad60e Dec 19, 2014
@ibell ibell changed the title R507 saturated vapor unclear error in near-critical region Set maximum states for saturation curves for pseudo-pures properly Dec 19, 2014
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