-
-
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
#2098 change averaging for SPMe+SR #2099
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2099 +/- ##
========================================
Coverage 99.35% 99.35%
========================================
Files 347 347
Lines 19241 19251 +10
========================================
+ Hits 19117 19127 +10
Misses 124 124
Continue to review full report at Codecov.
|
I have a few questions about this, let's go over it in the Monday meeting |
I will miss the next two meetings, but there's no rush on this so happy to chat about when I am back. |
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 the change discussed in meeting
pybamm/models/full_battery_models/lithium_ion/base_lithium_ion_model.py
Outdated
Show resolved
Hide resolved
Note that I have updated |
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, looks good!
* "x-average side reactions": str | ||
Whether to average the side reactions (SEI growth, lithium plating and | ||
the respective porosity change) over the x-axis in Single Particle | ||
Models, can be "false" (default) or "true". |
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.
shouldn't it be true for SPM? I think it won't make a difference to results, but will be faster
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.
I think I have fixed it now, take a look. It is a bit messy at the moment, hopefully will be clearer once we have derived the SPMe for cracks and loss of active material submodels.
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.
merge whenever ready
Description
Changed the averaging for SEI, lithium plating and porosity submodels for SPM and SPMe. Wait to merge until the citation is updated.
Fixes #2098
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: