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
PT flash calculations at saturation should fail #82
Comments
I should of course mention this is only the case for pure fluids. |
I dunno -- hard to imagine checking every pure-component P-T flash to see if it is exactly on the saturation curve, as opposed to, say, a machine precision bit on one side or the other. Such checks might also be problematic with finite convergence tolerances for the saturation calculation. |
These have also been my thoughts, I have always left it up to the user to look at the density and see if he or she got back the answer they wanted. Perhaps not the best solution, but most people are aware enough of this that it has only been a problem for just a handful of people. |
Yes, once you look at the density, it’s clear, but without, not at all. I much, much prefer CoolProp’s approach. There are a lot of non-expert users of REFPROP, and we should hold their hands. (We can use ancillaries to check for phase boundary, which is the approach taken in CoolProp).
|
I'm going to close this one as well, it also has the feature-request label and we'll return to it later. |
In my case, I am using an ECS fluid file, but nonetheless, when I do calculations with PT as input variables at saturation, this is an indeterminate set of inputs, and it should not yield any answer. Example:
yields (note ierr=0, no error message, vapor density)
The text was updated successfully, but these errors were encountered: