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

ENH: Charge constraints #222

Closed
wants to merge 9 commits into from
Closed

ENH: Charge constraints #222

wants to merge 9 commits into from

Conversation

bocklund
Copy link
Collaborator

@bocklund bocklund commented Jun 8, 2019

Opening this PR for comments.

These changes

  • Add a constraint that a phase with the model hint charged_phase (type code I) is charge balanced (with a test)
  • Add a check in the Model initializer that warns the user if a phase has charged species active, but is not using a Model that corresponds to charged phases (charged model, ionic liquid, gas, or aqueous)

@richardotis
Copy link
Collaborator

I would try multiplying the return value of the calculated charge constraint by 100, and putting the constraint violation tolerance back to the previous value.

@bocklund
Copy link
Collaborator Author

bocklund commented Jul 18, 2019

Due to the flakiness of the constraints, I'm closing this awaiting action on Hessian support (either merged or not supported).

@bocklund bocklund closed this Jul 18, 2019
@bocklund bocklund mentioned this pull request Nov 26, 2020
4 tasks
@bocklund bocklund deleted the charge-constraints branch June 1, 2022 10:20
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

Successfully merging this pull request may close these issues.

2 participants