reaktoro / reaktoro-jupyter

This project enables the use of Reaktoro in mybinder.org using JupyterLab
GNU Lesser General Public License v2.1
9 stars 3 forks source link

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

Open wietmazairac opened 3 years ago

wietmazairac commented 3 years ago

This issue is a copy of the next issue... https://github.com/reaktoro/reaktoro/issues/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 commented 3 years ago

Thank you!

Previous discussions are available at https://github.com/reaktoro/reaktoro/issues/199.

caiofcm commented 3 years ago

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 commented 3 years ago

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

@mtsveta