-
Notifications
You must be signed in to change notification settings - Fork 228
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
Surface auto tree gen support with metal attrs #2187
Conversation
This pull request introduces 4 alerts when merging d96097f into 6932bc8 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## main #2187 +/- ##
=======================================
Coverage 47.21% 47.21%
=======================================
Files 104 104
Lines 27706 27706
Branches 7133 7133
=======================================
Hits 13082 13082
Misses 13217 13217
Partials 1407 1407 Continue to review full report at Codecov.
|
This pull request introduces 4 alerts when merging 4ce2516 into 6932bc8 - view on LGTM.com new alerts:
|
4ce2516
to
cbe3ba4
Compare
more as a note to myself, but after the rebase, this passes all py tests locally |
probably doesn't matter too much here, but I get errors with the py tests on discovery
|
…or ArrBM this is needed so we can get the correct units for surface reactions
this is needed so we can select reactions that match metals in training and reaction libraries
this is needed for autogen trees with vdw bonds in the template in order to avoid splitting the vdw bonded complex into difference reactants
this method is needed to split merged templates (generated in autotrees) for multi-molecular families when generating reactions
- make deepcopies of adsorbates since thermo is different on different metals - assign metal/facet/site to reverse entries - stick entry index on reaction index (helpful for debugging)
metal attrs are loaded from input and set as attrs on kinetics database. They are taken from kinetics database and set on reactions generated with the kineticsDB
if we fail to split the node any furthur or all the reactions are the same, make child facet nodes
this fixed a bug where surface group parent specified rings, but children did not
Metal attrs are loaded and saved to entries. They are loaded as Database attr, but not saved. This commit saves DB metal attrs
…b test The surface thermo groups should no longer have metal attrs since the adsorption groups are used for any type of metal/facet and this can mess with descending the trees if the thermo group entry has a metal, and the structure does not. Instead, the metal and facet are saved as thermo group database attrs
This pull request introduces 4 alerts when merging 5ed781e into 47c4e0b - view on LGTM.com new alerts:
|
This pull request is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant pull request, otherwise it will automatically be closed in 30 days. |
Motivation or Problem
Adding auto tree gen support for Surface families and improving kinetics estimates based on metal attrs.
Description of Changes
get_bde
method to get energies for metal bonds (X-A) using atomic binding energies from MetalDBArrheniusBM
methods to work for surface reactions and createdSurfaceArrheniusBM
class as subclass ofArrheniusBM
split_template
family method to break up merged template (created by autogen trees) into difference reactant templatesfacet
to rmg input file, and metal attrs to Kinetics Database that are used when descending kinetics trees to match training reactions or nodes in surface kinetics treesTesting
autogenerated surface families trees here ReactionMechanismGenerator/RMG-database#499 and built CPOX models with different metals and facets for which the appropriate nodes and training reactions are selected based on metal attrs