-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
I3769 kolzenberg2020 (Another option for the SEI growth) #4394
base: develop
Are you sure you want to change the base?
Conversation
Great, thanks @kawaMANMI! Will take a look later :) |
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.
Hi Kawa! Nice work, getting there. I have made some suggestions, including one that will hopefully make tests pass. We can address coverage once tests pass.
…yBaMM into i3769_Kolzenberg2020
14a4d8d
to
2ac3484
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4394 +/- ##
===========================================
- Coverage 99.25% 99.18% -0.07%
===========================================
Files 302 302
Lines 22838 22840 +2
===========================================
- Hits 22667 22654 -13
- Misses 171 186 +15 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Hi Kawa! The tests pass now, well done. The last thing is to improve the coverage. You can see which lines need tests in Codecov. Basically, you want to add some tests to |
@pipliggins the integration failing test ( |
…ged to logic operation
Apologies, marked it as ready by accident. Need to wait for #4470 to be merged first. |
… single-layer-sei
@brosaplanella Sorry it took a while to get to this - |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This PR includes the changes in #4470 so that one needs merging before this one can be reviewed. |
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, but would be good to have an extra pair of eyes on it. Not marking it as approved so it doesn't get accidentally merged.
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.
This looks excellent! I noticed you coded the equation for L_mig
to avoid division by zero, while still ensuring the correct behaviour at zero current by making it a very large number. Well done!
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.
Some cleanup is needed for this
@@ -137,3 +137,4 @@ results/ | |||
|
|||
# tests | |||
test_callback.log | |||
# .mypy_cache/ |
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.
# .mypy_cache/ |
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.
This file should be deleted
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.
The change log is messed up. The new items should be at the top and the other changes should be reverted
@@ -36,7 +38,8 @@ def test_citations(self): | |||
|
|||
# Test key error | |||
with pytest.raises(KeyError): | |||
citations._parse_citation("not a citation") # this should raise key error | |||
# this should raise key error |
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.
# this should raise key error |
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Another option for the SEI gowth has been added based on teh model of von Kolzenberg et al.
spefically equation (19) has been implemented. Tunilening distance and lithoum ion conductivity in teh SEI as parameters need to be defined here is example to run a case
Fixes #3769
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:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: