bjodah / chempy

⚗ A package useful for chemistry written in Python
BSD 2-Clause "Simplified" License
536 stars 79 forks source link

Equilibrium root fails with water & co2-hydrolysis test #195

Closed hmaierfgd closed 3 years ago

hmaierfgd commented 3 years ago

Hi Björn, I also like your chempy module. It’s really great work you have done. But I have problems with equilibrium root solver.

I made some equilibria tests varying . For validation there’s a plot of a Bjerrum diagram for water hydrolysis and CO2-hydrolysis. But at pH ~6.5 the results are not reasonable anymore. co2-hydrolysis-test h2o-hydrolysis-test hydrolysis-test.zip

The result-plot of the CO2-hydrolysis should be similar like this : https://en.wikipedia.org/wiki/Bjerrum_plot#/media/File:Carbonate_Bjerrum.gif https://en.wikipedia.org/wiki/Bjerrum_plot

My questions: