-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Li metal spm #1731
Li metal spm #1731
Conversation
@brosaplanella now ready to review |
Codecov Report
@@ Coverage Diff @@
## develop #1731 +/- ##
========================================
Coverage 99.28% 99.28%
========================================
Files 343 343
Lines 18911 19004 +93
========================================
+ Hits 18776 18869 +93
Misses 135 135
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few comments. Might need to fix the scikits
issue first to check if this passes the tests though.
delta_phi_s_dim = pot_scale * delta_phi_s | ||
|
||
variables = { | ||
"Negative electrode potential drop": delta_phi_s, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have negative electrode
variables in the lithium metal model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential drop across the li metal anode (linear)
tests/integration/test_models/test_full_battery_models/test_lithium_ion/test_spm_half_cell.py
Outdated
Show resolved
Hide resolved
|
||
|
||
class TestDFNWithSEI(unittest.TestCase): | ||
def test_well_posed_constant(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does SEI still work if the working electrode is the positive one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SEI grows on the surface of the li metal electrode
tests/integration/test_models/test_full_battery_models/test_lithium_ion/test_spme_half_cell.py
Outdated
Show resolved
Hide resolved
import unittest | ||
|
||
|
||
class TestSPMHalfCell(unittest.TestCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here they are called TestSPMHalfCell
as opposed to TestSPM
as before. It would be good to unify the notation.
…thium_ion/test_spme_half_cell.py Co-authored-by: Ferran Brosa Planella <[email protected]>
…thium_ion/test_spm_half_cell.py Co-authored-by: Ferran Brosa Planella <[email protected]>
@tinosulzer you didn't add a line to CHANGELOG for this, but you can introduce it through #1782 |
Description
Add li metal (half cell) models for SPMe and SPM
Also fixes #1720
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: