Pass R(x) directly for graded electrodes#1237
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1237 +/- ##
========================================
Coverage 97.95% 97.96%
========================================
Files 250 250
Lines 14397 14423 +26
========================================
+ Hits 14103 14129 +26
Misses 294 294
Continue to review full report at Codecov.
|
brosaplanella
approved these changes
Nov 9, 2020
Member
brosaplanella
left a comment
There was a problem hiding this comment.
Looks good, thanks Rob!
valentinsulzer
approved these changes
Nov 11, 2020
Member
valentinsulzer
left a comment
There was a problem hiding this comment.
Looks good to me, thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The parameters "Positive/Negative particle distribution in x" and "Positive/Negative surface area per unit volume distribution in x" have been deprecated. Instead, users can provide "Positive/Negative particle radius [m]" and "Positive/Negative surface area per unit volume [m-1]" directly as functions of through-cell position (x [m])
The parameters related to this (in
LithiumIonParametersandLeadAcidParameters) are now defined as follows:R_n_dimensional(x)the dimensional particle radius in the negative electrode as a function of dimensional through-cell positionR_p_dimensional(x)the dimensional particle radius in the positive electrode as a function of dimensional through-cell positiona_n_dimensional(x)the dimensional surface area per unit volume in the negative electrode as a function of dimensional through-cell positiona_p_dimensional(x)the dimensional surface area per unit volume in the positive electrode as a function of dimensional through-cell positionR_n_typthe typical radius in the negative electrode (taken to be the radius at the electrode/current collector interface)R_p_typthe typical radius in the positive electrode (taken to be the radius at the electrode/current collector interface)a_n_typthe typical surface area per unit volume in the negative electrode (taken to be the radius at the electrode/current collector interface)a_p_typthe typical surface area per unit volume in the positive electrode (taken to be the radius at the electrode/current collector interface)a_R_nthe product of typical surface area per unit volume and typical radius in the negative electrode (dimensionless)a_R_pthe product of typical surface area per unit volume and typical radius in the positive electrode (dimensionless)R_n(x)the dimensionless particle radius in the negative electrode as a function of dimensionless through-cell positionR_p(x)the dimensionless particle radius in the positive electrode as a function of dimensionless through-cell positiona_n(x)the dimensionless surface area per unit volume in the negative electrode as a function of dimensionless through-cell positiona_p(x)the dimensionless surface area per unit volume in the positive electrode as a function of dimensionless through-cell positionThe last four are equal to unity for uniform radius/surface area per unit volume.
Fixes #1236
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: