-
-
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
Electrolyte overpotentials #1350
Electrolyte overpotentials #1350
Conversation
…o full_conductivity
We should also be able to replace the
|
Codecov Report
@@ Coverage Diff @@
## develop #1350 +/- ##
========================================
Coverage 98.15% 98.15%
========================================
Files 272 272
Lines 15577 15578 +1
========================================
+ Hits 15289 15290 +1
Misses 288 288
Continue to review full report at Codecov.
|
@tinosulzer I have tried what you suggested but it causes issues with the surface form equations. Because they are defined on each electrode and separator separately it is not clear to me where the overpotentials (which are global) should be defined. One way would be to do it where the DFN (and similarly for the others) is defined but that seems an unnecessary repetition of the code. Alternatively, I can leave the |
Could you add an extra submodel in Alternatively, could you make calculating the overpotentials a new method in EDIT: looks like you already fixed this, sorry! |
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.
Thanks @brosaplanella ! If you wanted to avoid repeated code you could add a method _get_overpotentials
which you can call from both _get_whole_cell_variables
in the base model and get_coupled_variables
in the full model.
Description
Added the electrolyte overpotential and ohmic losses to the full_conductivity model.
Fixes #1349
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: