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 temperature dependence to MSMR model #3832
Conversation
Make release v23.2
Make release v23.3
Make release v23.4
make release 23.4.1
Make release v23.5
…-support Drop support for i686 manylinux
Improve release workflow, add a note, bump version manually
Build wheels on the 1st and 15th of every month
#3428 exchange-current density error
Fix failing windows wheel builds
make initial soc work with half cell models
JaxSolver fails when using GPU support with no input parameters
Resolve default imports for optional dependencies
Make release v23.9
* Ensure correct Python versions for Jax solver compatibility * Simplify array of Python versions Co-authored-by: Eric G. Kratz <kratman@users.noreply.github.com> * Use different conjunction Co-authored-by: Eric G. Kratz <kratman@users.noreply.github.com> --------- Co-authored-by: Eric G. Kratz <kratman@users.noreply.github.com>
Make `pybamm_install_odes` a bit more robust
* Try fixing the release workflow * Turn off safety * Fix CHANGELOG * Add OS * Use regex for better matches * Update instructions, add safety checks * checkout to the version branch for the final release
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3832 +/- ##
===========================================
- Coverage 99.59% 99.54% -0.05%
===========================================
Files 287 287
Lines 21723 21744 +21
===========================================
+ Hits 21635 21646 +11
- Misses 88 98 +10 ☔ View full report in Codecov by Sentry. |
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.
Thanks, looks good, just a couple of things to tidy up.
We should make it clear in the docs/example how dUdT
is used in the MSMR model. In the "standard" model U(x,T) = U_ref(x) + (T-T_ref)*dUdT
whereas here U(x,T)
is solved for explicitly, and dUdT
is just used to calculate the reversible heat term.
Where would you clarify the dU/dT thing in the docs? |
I think there are 3 places where it is relevant: the definition of |
Happy to merge this one once the conflicts are resolved. There are also some coverage issues, but the detailed report does not load, so it might be a Codecov artifact. |
Description
The FR/T term now uses the appropriate local temperature. Individual parameters (x_j, U0_j, w_j, alpha_j) can also depend on temperature, but this isn't tested. Plett Volume 3 claims that those parameters should not change much as a function of temperature.
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: