Skip to content

feat: Discrete Time Sum and Explicit Time Integral support for output variables#5071

Merged
kratman merged 5 commits intodevelopfrom
i5063-dts-output-var
Jul 1, 2025
Merged

feat: Discrete Time Sum and Explicit Time Integral support for output variables#5071
kratman merged 5 commits intodevelopfrom
i5063-dts-output-var

Conversation

@martinjrobins
Copy link
Contributor

@martinjrobins martinjrobins commented Jun 23, 2025

Description

Allows pybamm.DiscreteTimeSum and pybamm.ExplicitTimeIntegral variables to work with the output_varables solver option

Fixes #5063

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

@martinjrobins martinjrobins changed the title start on supporting dts and explicit time integal for ouput vars feat: Discrete Time Sum and Explicit Time Integral support for output variables Jun 30, 2025
@martinjrobins martinjrobins marked this pull request as ready for review June 30, 2025 13:48
@martinjrobins martinjrobins requested a review from a team as a code owner June 30, 2025 13:48
@codecov
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.12%. Comparing base (6dc7fd0) to head (aa7288c).
⚠️ Report is 168 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5071      +/-   ##
===========================================
- Coverage    99.12%   99.12%   -0.01%     
===========================================
  Files          305      304       -1     
  Lines        23557    23573      +16     
===========================================
+ Hits         23351    23366      +15     
- Misses         206      207       +1     

☔ 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.

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, thanks @martinjrobins. I can also confirm this works as expected on the PyBOP side.

@kratman kratman enabled auto-merge (squash) July 1, 2025 16:51
@kratman kratman merged commit eac0b55 into develop Jul 1, 2025
22 checks passed
@kratman kratman deleted the i5063-dts-output-var branch July 1, 2025 17:12
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.

feat: Discrete Time Sum and Explicit Time Integral support for output variables

3 participants