-
Notifications
You must be signed in to change notification settings - Fork 16
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
debugging of Ancillary.density_pT_Soave #3
Comments
see Span 2000, page 48-51 |
There is a section about solving cubic equations in |
Also see paper by Deiters 2014: |
Also read the references cited in this blog post: |
For
Pentane
atp=1e-6
andT=578.275
the Soave algorithm goes to the supercritical branch, where three roots exist. According to Span, two of the three roots result in negative densities, but in this case this is not true.Not a big problem, as this is used as starting value only, but it slows down the pT iteration.
Also, the RKS EoS should be able to correctly describe the liquid region, at least qualitatively.
The text was updated successfully, but these errors were encountered: