-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Add half cell submodels #1600
Add half cell submodels #1600
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.
That looks great Tino, thanks! Just a very few minor comments.
pybamm/models/full_battery_models/lithium_ion/basic_dfn_half_cell.py
Outdated
Show resolved
Hide resolved
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.
``
Co-authored-by: Ferran Brosa Planella <[email protected]>
…-team/PyBaMM into issue-1518-half-cell-dfn-submodel
@molel-gt you can take a look now if you want |
Codecov Report
@@ Coverage Diff @@
## develop #1600 +/- ##
===========================================
+ Coverage 99.26% 99.28% +0.01%
===========================================
Files 343 342 -1
Lines 18659 18766 +107
===========================================
+ Hits 18522 18631 +109
+ Misses 137 135 -2
Continue to review full report at Codecov.
|
sure, I'm gonna try running simulations first and comment with any errors or unexpected results |
I've merged the branch since the tests passed, feel free to still suggest changes |
Thank you. I caught some errors, but I need to check that it's not because of my local environment setup.
…________________________________
From: Valentin Sulzer ***@***.***>
Sent: Thursday, September 9, 2021 4:23 PM
To: pybamm-team/PyBaMM ***@***.***>
Cc: Molel, Leshinka ***@***.***>; Mention ***@***.***>
Subject: Re: [pybamm-team/PyBaMM] Add half cell submodels (#1600)
I've merged the branch since the tests passed, feel free to still suggest changes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1600 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATK6DZS4GJSQQBTHDOKTMYLUBEJV5ANCNFSM5B2M76PQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Description
Edit submodels to allow half-cell options without needing to rewrite the entire submodel
Fixes #1518
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: