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

RMG-Electrochem #2316

Open
wants to merge 110 commits into
base: main
Choose a base branch
from
Open

RMG-Electrochem #2316

wants to merge 110 commits into from

Conversation

mjohnson541
Copy link
Contributor

Enables RMG to operate on solid electrolyte interface conditions in Li-ion batteries. Adds Li atoms, adds electrochemical reactions, adds a liquid-catalysis reactor and upgrades tree generation adding corrections for kinetic solvent effect.

@lgtm-com
Copy link

lgtm-com bot commented Jun 19, 2022

This pull request introduces 5 alerts when merging 10314f2 into 2a35d62 - view on LGTM.com

new alerts:

  • 2 for Except block handles 'BaseException'
  • 1 for Unused import
  • 1 for Syntax error
  • 1 for Unreachable code

@lgtm-com
Copy link

lgtm-com bot commented Sep 9, 2022

This pull request introduces 5 alerts when merging 4f6b5db into e3d0617 - view on LGTM.com

new alerts:

  • 2 for Except block handles 'BaseException'
  • 1 for Unused import
  • 1 for Syntax error
  • 1 for Unreachable code

@rwest rwest mentioned this pull request May 12, 2023
@mjohnson541 mjohnson541 force-pushed the electrochem branch 2 times, most recently from df1cfa5 to 408c5b5 Compare June 10, 2023 22:21
rwest added a commit that referenced this pull request Jul 15, 2023
A collection of Matt and David's commits from #2316,
with updates and fixes added by Richard
That pull request is too large to review, so some parts are being merged first.
@rwest
Copy link
Member

rwest commented Jul 18, 2023

I rebased, did a few interactive rebases to clean up some fixups and merge conflict markers that had gotten in there, and force pushed.

@rwest
Copy link
Member

rwest commented Jul 18, 2023

The database tests are failing, because some sample molecules are being made that are charged.

In family 1,2_Insertion_CO, a sample molecule made from node COS returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *4 O u0 p1 c+1 {2,T}
2 *1 C u0 p1 c-1 {1,T}


Origin Group AdjList:
1 *1 C     u0 p1 c-1 {2,T}
2 *4 [O,S] u0 p1 c+1 {1,T}

ERROR:root:
In family 1,2_Insertion_CO, a sample molecule made from node CO returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *4 O u0 p1 c+1 {2,T}
2 *1 C u0 p1 c-1 {1,T}


Origin Group AdjList:
1 *1 C u0 p1 c-1 {2,T}
2 *4 O u0 p1 c+1 {1,T}

ERROR:root:
In family 1,2_Insertion_CO, a sample molecule made from node CS returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *4 S u0 p1 c+1 {2,T}
2 *1 C u0 p1 c-1 {1,T}


Origin Group AdjList:
1 *1 C u0 p1 c-1 {2,T}
2 *4 S u0 p1 c+1 {1,T}

ERROR
Kinetics family 1,2_NH3_elimination: Entry is accessible? ... ERROR:root:
In family 1,2_NH3_elimination, a sample molecule made from node charged returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *2 N u0 p0 c+1 {2,S} {3,S} {4,S} {5,S}
2 *1 N u0 p1 c0 {1,S} {6,S} {7,S}
3 *3 N u0 p2 c-1 {1,S} {8,S}
4 *4 H u0 p0 c0 {1,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {2,S}
7    H u0 p0 c0 {2,S}
8    H u0 p0 c0 {3,S}


Origin Group AdjList:
1 *1 N u0 p1 c0 {2,S} {5,S} {6,S}
2 *2 N u0 p0 c+1 {1,S} {3,[S,D]} {4,S}
3 *3 N u0 p2 c-1 {2,[S,D]}
4 *4 H u0 p0 c0 {2,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {1,S}

ERROR:root:
In family 1,2_NH3_elimination, a sample molecule made from node chargedS returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *2 N u0 p0 c+1 {2,S} {3,S} {4,S} {5,S}
2 *1 N u0 p1 c0 {1,S} {6,S} {7,S}
3 *3 N u0 p2 c-1 {1,S} {8,S}
4 *4 H u0 p0 c0 {1,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {2,S}
7    H u0 p0 c0 {2,S}
8    H u0 p0 c0 {3,S}


Origin Group AdjList:
1 *1 N u0 p1 c0 {2,S} {5,S} {6,S}
2 *2 N u0 p0 c+1 {1,S} {3,S} {4,S}
3 *3 N u0 p2 c-1 {2,S}
4 *4 H u0 p0 c0 {2,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {1,S}

ERROR:root:
In family 1,2_NH3_elimination, a sample molecule made from node chargedD returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *1 N u0 p1 c0 {2,S} {5,S} {6,S}
2 *2 N u0 p0 c+1 {1,S} {3,D} {4,S}
3 *3 N u0 p2 c-1 {2,D}
4 *4 H u0 p0 c0 {2,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {1,S}


Origin Group AdjList:
1 *1 N u0 p1 c0 {2,S} {5,S} {6,S}
2 *2 N u0 p0 c+1 {1,S} {3,D} {4,S}
3 *3 N u0 p2 c-1 {2,D}
4 *4 H u0 p0 c0 {2,S}
5    H u0 p0 c0 {1,S}
6    H u0 p0 c0 {1,S}

ERROR
Kinetics family 1,2_NH3_elimination: Recipe applies to group entry? ... ERROR
Kinetics family R_Addition_CSm: Entry is accessible? ... ERROR:root:
In family R_Addition_CSm, a sample molecule made from node CSm returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *3 S u0 p1 c+1 {2,T}
2 *1 C u0 p1 c-1 {1,T}


Origin Group AdjList:
1 *3 S u0 p1 c+1 {2,T}
2 *1 C u0 p1 c-1 {1,T}

ERROR
Kinetics family R_Addition_CSm: Recipe applies to group entry? ... ERROR
Kinetics family Surface_Adsorption_vdW: Entry is accessible? ... ERROR:root:
In family Surface_Adsorption_vdW, a sample molecule made from node N2O returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 *1 O u0 p2 c0 {2,D}
2    N u0 p0 c+1 {1,D} {3,D}
3    N u0 p2 c-1 {2,D}


Origin Group AdjList:
multiplicity [1]
1    N u0 p0 c+1 {2,D} {3,D}
2 *1 O u0 p2 c0 {1,D}
3    N u0 p2 c-1 {1,D}

ERROR
Kinetics family Surface_Adsorption_vdW: Recipe applies to group entry? ... ERROR
Solvation groups group: Entry is accessible? ... ERROR:root:Problem making sample molecule for group Cs-N5cHHH
1 * Cs u0 {2,S} {3,S} {4,S} {5,S}
2   N  u0 c+1 {1,S}
3   H  u0 {1,S}
4   H  u0 {1,S}
5   H  u0 {1,S}

ERROR:root:Problem making sample molecule for group Cs-N5cCsHH
1 * Cs u0 {2,S} {3,S} {4,S} {5,S}
2   N  u0 c+1 {1,S}
3   Cs u0 {1,S}
4   H  u0 {1,S}
5   H  u0 {1,S}

ERROR:root:
In family group, a sample molecule made from node Cs-N5cHHH returns an unexpectedly charged molecule:
Sample molecule AdjList:
1   N u0 p1 c+1 {2,S} {6,S}
2 * C u0 p0 c0 {1,S} {3,S} {4,S} {5,S}
3   H u0 p0 c0 {2,S}
4   H u0 p0 c0 {2,S}
5   H u0 p0 c0 {2,S}
6   H u0 p0 c0 {1,S}


Origin Group AdjList:
1 * Cs u0 {2,S} {3,S} {4,S} {5,S}
2   N  u0 c+1 {1,S}
3   H  u0 {1,S}
4   H  u0 {1,S}
5   H  u0 {1,S}

ERROR:root:
In family group, a sample molecule made from node Cs-N5cCsHH returns an unexpectedly charged molecule:
Sample molecule AdjList:
1   N u0 p1 c+1 {2,S} {9,S}
2 * C u0 p0 c0 {1,S} {3,S} {4,S} {5,S}
3   C u0 p0 c0 {2,S} {6,S} {7,S} {8,S}
4   H u0 p0 c0 {2,S}
5   H u0 p0 c0 {2,S}
6   H u0 p0 c0 {3,S}
7   H u0 p0 c0 {3,S}
8   H u0 p0 c0 {3,S}
9   H u0 p0 c0 {1,S}


Origin Group AdjList:
1 * Cs u0 {2,S} {3,S} {4,S} {5,S}
2   N  u0 c+1 {1,S}
3   Cs u0 {1,S}
4   H  u0 {1,S}
5   H  u0 {1,S}

ERROR
Thermo groups group: Entry is accessible? ... ERROR:root:Problem making sample molecule for group Sc
1 * S ux c+1

ERROR:root:
In family group, a sample molecule made from node Sc returns an unexpectedly charged molecule:
Sample molecule AdjList:
1 * S u0 p2 c+1 {2,S}
2   H u0 p0 c0 {1,S}


Origin Group AdjList:
1 * S ux c+1

ERROR

etc.

looks like they're probably mostly the same cause.
Any ideas @mjohnson541 ?

@rwest rwest mentioned this pull request Jul 18, 2023
@mjohnson541
Copy link
Contributor Author

Thanks for the help! I meant to get on this last weekend, but I've been ill and now I'm frantically trying to get some urgent calculations done. Hopefully I'll be working on this PR as soon as those launch.

At some point a month or so ago I think I figured out why that was happening, but I don't remember now. Skimming the sample molecule code doesn't seem to be jogging my memory.

JacksonBurns added a commit that referenced this pull request Feb 1, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
@rwest
Copy link
Member

rwest commented Mar 8, 2024

@mjohnson541 do you have any example input files for electrochemistry that you could include here?

@JacksonBurns what's the status with #2598 ? do we rebase that onto this, and then both onto main?

@rwest rwest requested a review from ssun30 March 8, 2024 14:12
@JacksonBurns
Copy link
Contributor

@JacksonBurns what's the status with #2598 ? do we rebase that onto this, and then both onto main?

I had intended that one to help with the rebasing, but as I mention in a comment there it might not be 'easy' still...

That branch is much closer to being compatible with main than this one - you could merge that one into this one, and then merge into main, or move development over there entirely. Not sure what the best path forward is.

rwest pushed a commit that referenced this pull request Mar 8, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
@mjohnson541
Copy link
Contributor Author

I have examples, but part of why they aren't on this branch yet is this isn't the complete PR, I didn't want to get in the way of the rebase, but I have the rest of the changes locally. I can try to get those added soon if we're ready.

ssun30 pushed a commit that referenced this pull request Mar 15, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit to ssun30/RMG-Py that referenced this pull request Mar 29, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: ReactionMechanismGenerator#2316 (comment)
rwest pushed a commit that referenced this pull request Apr 1, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit that referenced this pull request Apr 17, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit that referenced this pull request May 3, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit that referenced this pull request May 14, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit to ssun30/RMG-Py that referenced this pull request May 17, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: ReactionMechanismGenerator#2316 (comment)
ssun30 pushed a commit that referenced this pull request May 28, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
Copy link

github-actions bot commented Jun 7, 2024

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.

@github-actions github-actions bot added the stale stale issue/PR as determined by actions bot label Jun 7, 2024
ssun30 pushed a commit to ssun30/RMG-Py that referenced this pull request Jun 7, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: ReactionMechanismGenerator#2316 (comment)
@github-actions github-actions bot removed the stale stale issue/PR as determined by actions bot label Jun 8, 2024
rwest pushed a commit that referenced this pull request Jun 14, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit that referenced this pull request Jul 2, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
Copy link

github-actions bot commented Sep 6, 2024

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.

@github-actions github-actions bot added the stale stale issue/PR as determined by actions bot label Sep 6, 2024
@mjohnson541 mjohnson541 removed the stale stale issue/PR as determined by actions bot label Sep 7, 2024
ssun30 pushed a commit that referenced this pull request Sep 19, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 pushed a commit that referenced this pull request Oct 2, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 added a commit to ReactionMechanismGenerator/RMG-database that referenced this pull request Oct 9, 2024
This matches a corresponding change in the CI
workflow file for RMG-Py, which was introduced
to account for very large differences between
the dynamic and baseline test results.

See: ReactionMechanismGenerator/RMG-Py#2316 (comment)
ssun30 pushed a commit that referenced this pull request Oct 9, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
ssun30 added a commit to ReactionMechanismGenerator/RMG-database that referenced this pull request Oct 9, 2024
This matches a corresponding change in the CI
workflow file for RMG-Py, which was introduced
to account for very large differences between
the dynamic and baseline test results.

See: ReactionMechanismGenerator/RMG-Py#2316 (comment)
ssun30 pushed a commit that referenced this pull request Oct 15, 2024
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it

see: #2316 (comment)
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.

Blowers Masel Arrhenius trained and evaluated with T-varying ∆Hr(T) ?
5 participants