-
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] How to calculate solubility of CO2 in aqueous amine solutions #12
Comments
Hi YouHyin, Thank you for your question. I coded both SAFT-VR-Mie and SAFT-gamma-Mie to be used with "n" numbers of components. I know most examples are written for binary mixtures, but all the functions would work for mixtures with more components. See for example this ternary LLE or this VLLE examples. If you are interested in VLE, the only difference would be that you use either the flash or bubble/dew points routines. I hope that helps. Regards, |
Thank you for your advice. However, I have a question because this modeling result seems to be different from the actual paper figure.
|
Hi YouHyin, Let me know if I got this right. Let's take plot (d) as an example.
First we define the mixture:
Then we obtain the mole fraction that you are interested on,
Now, if I understood correctly, you want to compute the partial pressure of CO2 of each one of these possible liquid solutions. My understanding is that you are interested on the bubble point? In that case, the solution would be as follows:
However, after plotting the results, the partial pressure I obtained is several orders of magnitude different from the ones you show. |
Hi I followed the code you gave me and it seems to have worked out well. But here I get this error when running at T=298K in (d) 35 wt% diethanolamine solution. Do you have any idea why I'm getting this error? |
Hi YouHyin, Glad the code above was useful. The problem you are getting is telling you the association solver is failing, mainly due to poor initial guesses. The problem comes from when you have very low values of the loading; the next iteration uses the previous solution as the initial guess, but as soon as you increase the amount of CO2 in the liquid mixture, the bubble pressure drastically increases. You have two options here,
Gustavo |
Hello, I have a question about calculating solubility of CO2 in aqueous amine solutions.
I want to draw these graphs using sgtpy.
Partial pressure of CO2 in (a) piperazine aqueous solutions, (b) 30 wt % aqueous monoethanolamine solution, (c) 20 wt % diethanolamine solution and (d) 35 wt % diethanolamine solution, expressed as the partial vapor pressure of CO2 as a function of the CO2 loading αCO2, defined as the ratio of the number of moles of CO2 to the number of moles of amine. The curves represent calculations using SAFT-γ Mie while the symbols represent experimental data
For this, I have to consider the complex system of ternary mixture involving amine, water, and carbon dioxide, but I don't know how to do it.
I think I need to consider vle for the mixture of amine, water, and carbon dioxide. Is this possible with sgtpy??
As an example, only vle of binary fluid mixture is shown, so I wonder if this is possible.
I would really appreciate it if you could answer me.
The text was updated successfully, but these errors were encountered: