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

Add temperature and concentration pKa correction constants #11

Open
dantruitt opened this issue Jul 19, 2023 · 1 comment
Open

Add temperature and concentration pKa correction constants #11

dantruitt opened this issue Jul 19, 2023 · 1 comment

Comments

@dantruitt
Copy link

Since pKa will vary with both the concentration of a species, as well as the temperature of the solution, I think it will be worthwhile to introduce a method to calculate a more precise pKa value for a species given one or more constants defining the relationship between a species' dissociation constant and temperature and concentration.

I will hopefully find some time to implement and create a PR in the next week or two.

@dantruitt
Copy link
Author

Initial commit is up here: https://github.com/dantruitt/pHcalc/tree/temp-correction

These changes anecdotally improve the accuracy of the model when comparing predicted values with values measured after mixing buffers, but I'm not personally satisfied that the ion charge values I used for ionic activity, or even the principle of using ionic activity to approximate an "effective" pKa, are totally scientifically sound.

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

1 participant