-
-
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
make c_s_max an input to functions #2134
Conversation
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!
@@ -1,7 +1,9 @@ | |||
from pybamm import exp, constants, Parameter | |||
|
|||
|
|||
def graphite_LGM50_electrolyte_exchange_current_density_ORegan2021(c_e, c_s_surf, T): | |||
def graphite_LGM50_electrolyte_exchange_current_density_ORegan2021( | |||
c_e, c_s_surf, T, c_s_max |
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.
Very picky comment (and maybe quite annoying to implement). Do we want to flip T
and c_s_max
? This way we have electrochemical variables first, and temperature last.
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.
sure, not too hard to change
Codecov Report
@@ Coverage Diff @@
## develop #2134 +/- ##
===========================================
- Coverage 99.38% 99.38% -0.01%
===========================================
Files 355 355
Lines 19302 19279 -23
===========================================
- Hits 19183 19160 -23
Misses 119 119
Continue to review full report at Codecov.
|
Description
Adds
c_s_max
as an input to some functions, instead of defining it as a parameter inside the function.This is an attempt to split up #2073
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: