Openff (Charge Increment Model) #53
Unanswered
Shahriar-Keshvari
asked this question in
Q&A
Replies: 1 comment 6 replies
-
|
The SMIRNOFF specification defines everything included in SMIRNOFF force fields. The section on The OpenFF Toolkit supports so-called "cosmetic" attributes which some downstream tools hack for behavior specific to their use cases.
Could you remind me where you're seeing this? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello:
I have been able to run ForceBalance using the given example in tutorial 4. In that example the parameters to change are the epsilon and sigma (Rmin). However, I am interested in changing the partial charges and try matching the physical properties.
In openff specification (https://docs.openforcefield.org/projects/toolkit/en/topology/users/smirnoff.html) the example given does not include the the keyword "parametrize" and "parameter_eval", but in ForceBalacne study guide, these key words are defined within the charge increment tag. Using the ForceBalance study guide the program run but no charge increment is done (after any iteration the changes to partial charges are zero). Using the openff guide, the program crashed after the first iteration.
Now my question is, what is the correct format? If possible to have a working "chargeIncrementmodel" tag, explained for a molecule like ethanol, that would be very helpful. Please let me know if you need more information.
Thanks
Shah
Here is the error message if I use the openff guidance on charge Increment:
Traceback (most recent call last):
File "/home/shahriar/anaconda3/bin/ForceBalance.py", line 45, in Run_ForceBalance
optimizer.Run()
File "/home/shahriar/anaconda3/lib/python3.10/site-packages/forcebalance/optimizer.py", line 322, in Run
xk = self.OptTabself.jobtype
File "/home/shahriar/anaconda3/lib/python3.10/site-packages/forcebalance/optimizer.py", line 951, in NewtonRaphson
return self.MainOptimizer(b_BFGS=0)
File "/home/shahriar/anaconda3/lib/python3.10/site-packages/forcebalance/optimizer.py", line 676, in MainOptimizer
dx, dX_expect, bump = self.step(xk, data, trust)
File "/home/shahriar/anaconda3/lib/python3.10/site-packages/forcebalance/optimizer.py", line 748, in step
Emin = min(Eig)
ValueError: min() arg is an empty sequence
Beta Was this translation helpful? Give feedback.
All reactions