-
-
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
Issue 1505 porosity #1617
Issue 1505 porosity #1617
Conversation
), | ||
( | ||
"Charge at 1 C until 4.2 V", | ||
"Hold at 4.2 V until C/20", | ||
"Rest for 30 minutes", | ||
"Discharge at 3 C until 2.8 V", | ||
"Discharge at 3 C until 2.8 V (10 second period)", | ||
"Rest for 30 minutes", |
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.
Had to add the rest periods and reduce the sampling period at discharge, otherwise simulations didn't converge.
Codecov Report
@@ Coverage Diff @@
## develop #1617 +/- ##
========================================
Coverage 97.99% 97.99%
========================================
Files 327 328 +1
Lines 18665 18676 +11
========================================
+ Hits 18290 18301 +11
Misses 375 375
Continue to review full report at Codecov.
|
# Reaction driven porosity ODE for lithium-ion is not supported at the moment | ||
# if self.options["SEI porosity change"] == "true": | ||
# beta_sei_n = self.param.beta_sei_n | ||
# deps_n_dt += beta_sei_n * j_sei_n | ||
# if self.options["lithium plating porosity change"] == "true": | ||
# beta_plating = self.param.beta_plating | ||
# deps_n_dt += beta_plating * j_plating |
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 commented it out as it is not used. Should I delete it? Because it is checking the options rather than the submodels at the moment there is no way we can enter these if
statements.
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.
Yes can be removed
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 ! Just remove the commented out lines then we can merge
# Reaction driven porosity ODE for lithium-ion is not supported at the moment | ||
# if self.options["SEI porosity change"] == "true": | ||
# beta_sei_n = self.param.beta_sei_n | ||
# deps_n_dt += beta_sei_n * j_sei_n | ||
# if self.options["lithium plating porosity change"] == "true": | ||
# beta_plating = self.param.beta_plating | ||
# deps_n_dt += beta_plating * j_plating |
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.
Yes can be removed
Description
Write reaction driven porosity as a function of the plated & SEI thicknesses for lithium-ion models (lead-acid stays the same).
Fixes #1505
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: