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

BUG: repeated calls to equilibrate cause pH changes #141

Closed
rkingsbury opened this issue Jun 17, 2024 · 0 comments · Fixed by #142
Closed

BUG: repeated calls to equilibrate cause pH changes #141

rkingsbury opened this issue Jun 17, 2024 · 0 comments · Fixed by #142
Labels
fix Bug Fixes

Comments

@rkingsbury
Copy link
Member

repeatedly calling equilibrate with the native engine (and presumably the PHREEQC one also) causes the pH to change, even when there have been no changes to the composition or conditions. This should not occur.

>>> s1 = Solution({'Na+': '2 mol/L','Cl-': '2 mol/L'},temperature='20 degC',volume='500 mL')
>>> for i in range(10):
...     print(s1.pH)
...     s1.equilibrate()
...
7.0
6.954575819099865
6.885161416260718
6.818765085545055
6.7555886088307755
6.695795267325627
6.639519561022746
6.586873954955933
6.5379537003727615
6.492840366549978
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug Fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant