Skip to content

#5299 add inverse linear kinetics#5303

Merged
rtimms merged 24 commits intodevelopfrom
issue-5299-inverse-linear-kinetics
Dec 16, 2025
Merged

#5299 add inverse linear kinetics#5303
rtimms merged 24 commits intodevelopfrom
issue-5299-inverse-linear-kinetics

Conversation

@rtimms
Copy link
Contributor

@rtimms rtimms commented Dec 2, 2025

Description

Adds InverseLinearKinetics submodel

Fixes #5299

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #)

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: nox -s pre-commit
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctests
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

agriyakhetarpal and others added 18 commits November 13, 2025 09:12
Co-authored-by: Valentin Sulzer <valentinsulzer@hotmail.com>
* Fix typo in concentration description in notebook

* Add CHANGELOG.md entry for typo fix

* Remove unneccesary changelog entry

Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>

---------

Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
* fix `InputParameter` serialisation

* Update CHANGELOG.md
…-fix

Don't be too strict with func_args longer than symbol.children
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add`silence_sundial_warnings` solver option

* refactor: `silence_sundials_warnings` -> `silence_sundials_errors`
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* raise `SolverError` at failure to init sundials

* Update simulation.py

* Update idaklu_solver.py

* reuse `pybammsolvers` error messages

* Update test_idaklu_solver.py

* bump `pybammsolvers`

* Update CHANGELOG.md

* Update CHANGELOG.md

Update CHANGELOG.md
@rtimms rtimms requested a review from a team as a code owner December 2, 2025 12:09
@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

❌ Patch coverage is 97.43590% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.76%. Comparing base (ed960f2) to head (909fb25).
⚠️ Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...m/models/full_battery_models/base_battery_model.py 80.00% 1 Missing ⚠️
...nterface/kinetics/inverse_kinetics/base_inverse.py 98.24% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5303      +/-   ##
===========================================
- Coverage    98.77%   98.76%   -0.01%     
===========================================
  Files          321      323       +2     
  Lines        27746    27744       -2     
===========================================
- Hits         27406    27402       -4     
- Misses         340      342       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Daniel-Nicolae23
Copy link
Contributor

Looks great Rob, thanks a lot for the quick fix! The branch does work as intended. Just a minor comment above.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@BradyPlanden BradyPlanden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rtimms - looks good, a few comments to clear up the __init__.

BradyPlanden
BradyPlanden previously approved these changes Dec 15, 2025
Copy link
Member

@BradyPlanden BradyPlanden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@rtimms rtimms merged commit a0b2614 into develop Dec 16, 2025
21 of 22 checks passed
@rtimms rtimms deleted the issue-5299-inverse-linear-kinetics branch December 16, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inverse Kinetics for "linear" option

10 participants