-
Notifications
You must be signed in to change notification settings - Fork 15
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 : computing density of benzene #7
Comments
Ohh now I see what happened. This was a bug for molecules that had association sites but that wasn't self-associating. I fixed the bug on the GitHub repo but apparently, I forgot to upload the updated to PyPI. If you are using windows and don't have a C compiler, a workaround would be to modify the
Hope that helps, |
Thank you very much for you answer. |
Hello Gustavo.
I just ran the creating components and mixtures example for saft gamma mie provide in the documentation. It ran fine when I calculating the density of water. However there was a ValueError for benzene. Here is my calculation code:
creating component
benzene = component(GC={'aCH':6})
benzene.saftgammamie()
eos = saftgammamie(benzene)
density for liquid phase
T = 373. # K
P = 1e5 # Pa
rhol = eos.density(T, P, 'L')
print(rhol)
According to the example, I need to create a dictionary using the group's names as keys and the numbers of times this group is present as values. But according to my code above, the program cannot proceed. I can't find a solution. Can you give me an example of computing density of benzene.
Thank you very much.
Best whises!
The text was updated successfully, but these errors were encountered: