-
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
[SAFT-gamma mie] Errors with LLE calculation #19
Comments
Hi YouHyin, I'm very sorry. I received the email about this issue while traveling, and then he forgot about it. Gustavo |
Hi YouHyin, I have been looking into this and there is a problem when the initial guesses are not that great with the For your problem, I'd do the following:
Here is the updated function:
Then, this following two codes returns 1 (no LLE). The
and
Let me know if that helps, |
Hello, Gustavo!
Your code has been helpful for my research, Thank you. However, I have encountered two major errors during LLE calculations:
In
sgtpy\gammamie_mixtures\ares.py:491
, while using Numpy's solve function to compute Xass, I encounter a "Singular matrix" error.The error messages are as follows:
In
gammamie_mixtures\density_solver.py:91
, within the density_topliss function, the value ofrho_ub
is calculated to be smaller thanrho_lb
, which causes an error.amine_2=component(GC={'CH3': 1, 'CH2': 4, 'CH': 1, 'C': 1, 'H2O': 1, 'NH': 1}) W_solvent_optimal = calculate_w_lle(amine_2)
The error messages are as follows:
Could you provide some advice on how to resolve these issues?
Thank as always for your help.
Best wish!
The text was updated successfully, but these errors were encountered: