Issue 983 half cell - #1121
Conversation
…PyBaMM into issue-983-half-cell
Codecov Report
@@ Coverage Diff @@
## develop #1121 +/- ##
===========================================
+ Coverage 97.87% 97.90% +0.02%
===========================================
Files 245 246 +1
Lines 13382 13572 +190
===========================================
+ Hits 13098 13287 +189
- Misses 284 285 +1
Continue to review full report at Codecov.
|
valentinsulzer
left a comment
There was a problem hiding this comment.
Thanks @ferranbrosa , the model looks good. There should be a test that the half-cell DFN can be solved (without Simulation)
TomTranter
left a comment
There was a problem hiding this comment.
Hi Ferran, I've run the code and checked the plots for positive and negative and seems fine. I think as this is a work in progress we should merge - it would be nice to have this fully integrated into the modelling framework so we can add thermal models etc and look at changes in entropy on the half cells. I think actually a lot of microstructure models are just done on half cells so it would be a really useful feature and we should think about how to do it by just flexibly specifying what each electrode is. I don't know if that would cause too many headaches
valentinsulzer
left a comment
There was a problem hiding this comment.
Looks good to me once the tests are fixed!
Description
Basic DFN model for a half-cell. This is an experimental functionality which doesn't support all PyBaMM features (e.g. experiments) and which will be integrated into the submodel structure in the future.
Fixes #983
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 docsand then$ make clean; make htmlYou can run all three at once, using
$ python run-tests.py --quick.Further checks: