Skip to content
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

Tutorial Problem... Solubility of carbon dioxide in water #18

Open
wietmazairac opened this issue Apr 8, 2021 · 3 comments
Open

Tutorial Problem... Solubility of carbon dioxide in water #18

wietmazairac opened this issue Apr 8, 2021 · 3 comments
Assignees

Comments

@wietmazairac
Copy link

This issue is a copy of the next issue...
reaktoro/reaktoro#199
Volpatto asked me to post the same issue here.

I have a problem with the tutorial named Solubility of carbon dioxide in water on the next page...
https://mybinder.org/v2/gh/reaktoro/reaktoro-jupyter/master?filepath=tutorial%2Foverview.ipynb

The tutorial states that a decrease in pressure will reduce the amount of CO2.
However, the picture shows the opposite.
What's going on?

image

@volpatto
Copy link
Contributor

volpatto commented Apr 8, 2021

Thank you!

Previous discussions are available at reaktoro/reaktoro#199.

@caiofcm
Copy link

caiofcm commented Apr 28, 2021

I think there is a small typo in the EquilibriumProblem setup that influenced the result:

problem.add("C02", 0.18, "mol") # add calculated amount of gas

I mean: C02 --> CO2

btw: very awesome library. I am still learning to use it, but it look very complete and robust. Thank you for making available.

@allanleal
Copy link
Contributor

Hi @caiofcm - good catch! Thanks for reporting this. C02 ends up equivalent to adding C2 instead of CO2.

@mtsveta

@allanleal allanleal assigned allanleal and mtsveta and unassigned allanleal Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants