-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Pass R(x) directly for graded electrodes #1237
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.
|
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, thanks Rob!
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 to me, thanks!
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
LithiumIonParameters
andLeadAcidParameters
) 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_typ
the typical radius in the negative electrode (taken to be the radius at the electrode/current collector interface)R_p_typ
the typical radius in the positive electrode (taken to be the radius at the electrode/current collector interface)a_n_typ
the typical surface area per unit volume in the negative electrode (taken to be the radius at the electrode/current collector interface)a_p_typ
the typical surface area per unit volume in the positive electrode (taken to be the radius at the electrode/current collector interface)a_R_n
the product of typical surface area per unit volume and typical radius in the negative electrode (dimensionless)a_R_p
the 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 docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: