-
Notifications
You must be signed in to change notification settings - Fork 14
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
ERROR neqsim.thermo.phase.PhaseEos - Failed to solve for molarVolume within the iteration limit #269
Comments
Hello! Today I again got this error when I tried to got PT envelope with gas composition given above without toluene but with 0.03 % of n-octane instead of 0.01 %:
|
I will look into it. It seems like getting the data using the following code will help: But this should be updated in a future version (so we dont have to check for data in more than one way). |
We have implemented a new version of collecting the data. Can you try the folloing method, and see if that helps? thermoOps.calcPTphaseEnvelope2() I have tested your fluid in this notebook, and it seems to work. Howeer still some issues around the critical point. |
If anyone finds time to improve the phase envelope algorithms, they should look into improving the following method in neqsim: I is based on the algorithms of Michelsen (1980) (https://www.sciencedirect.com/science/article/abs/pii/037838128080001X). and |
Hello! I already have tested a new version of neqsim library with your code and for now everything works excellent even with so abnormal data, I don't see errors anymore. Thank you very much. Critical points and bubble point plots I don't use in my in my application and I haven't test it. |
Hello!
I have similar issue that has been mentioned in #241 and #267 and I haven't components with mole fraction 0.
I have used code from example but have written my gas composition from the real task:
When I tried to get PT envelope with exactly code I showed above with toluene in mixture I met an eror:
[main] ERROR neqsim.thermo.phase.PhaseEos - Failed to solve for molarVolume within the iteration limit.
and get obviously wrong PT envelope:
.
But when I commented string with toluene adding, I didn't met any errors and got correct PT envelope:
I also met this error earlier with different gas composition and when I will reproduce it, I can send that code.
Could you please explain what is the root of this error and could you give limitations of gas composition NeqSim have, if they exist?
The text was updated successfully, but these errors were encountered: