Repository navigation
Issue 1143 equivalent circuit model - #2478
Conversation
…com/pybamm-team/PyBaMM into issue-1143-equivalent-circuit-model
Codecov ReportBase: 99.72% // Head: 99.72% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #2478 +/- ##
=========================================
Coverage 99.72% 99.72%
=========================================
Files 257 268 +11
Lines 18961 19285 +324
=========================================
+ Hits 18908 19232 +324
Misses 53 53
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
brosaplanella
left a comment
There was a problem hiding this comment.
Looks great Scott, thanks! Just a couple of minor points regarding the naming of the submodels. Happy to merge once the coverage tests pass.
…com/pybamm-team/PyBaMM into issue-1143-equivalent-circuit-model
Description
Implementation of Theverin Equivalent Circuit Model (resistor + RC pair). Main things implemented:
If anyone has better ideas on where Equivalent circuit models and the associated submodel should be place, would be very helpful. There also is some hacky stuff (e.g. adding additional variables to the model, some additional options) that would also be nice to avoid
Additional modifications:
I some modifications to the 2D interpolation so that it now also used RegularGridInterpolator (as implemented for 3D) instead of interp2d. 2D and 3D data can now be read from csv files following the "C" array convention (slowest changing a variable in the first column). The previous .json method still passes it's test so is still compatible.
Fixes #1143
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: