-
-
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
Issue 874 simplify thermal #938
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #938 +/- ##
===========================================
+ Coverage 98.10% 98.12% +0.01%
===========================================
Files 223 214 -9
Lines 11258 11123 -135
===========================================
- Hits 11045 10914 -131
+ Misses 213 209 -4
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 to me, much cleaner now! Makes sense for @Scottmar93 to review too as he is more familiar with these models
There is the odd "domian" and "defualt" , but I don't care about that ..
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.
I think this is all much clearer now. Make sense to leave changing how grad works for another issue and it'll be really clean after that!
I think x_full.py and x_lumped.py as still left though, should these be deleted?
Description
Simplifies the thermal submodels. Now we only have models for (option string name in brackets):
Isothermal
("isothermal")Lumped
("lumped"),OneDimensionalX
("x-full")The option "xyz-lumped" has been removed. Now "lumped" always returns an ODE for the volume-averaged temperature.
The option "thermal current collectors" has also been removed. All models now account for the presence of current collectors.
Fixes #874
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: