There is a newer version of the record available.

Published May 27, 2025 | Version v25.6.0
Software Open

Python Battery Mathematical Modelling (PyBaMM)

Description

Features

  • Renamed MSMR parameters from symbols to written out names with units as a non-breaking change with a deprecation warning. (#5027)

Optimizations

  • Update docs, examples and tests to use IDAKLUSolver. (#4996)
  • Add a solver option to change on_extrapolation behavior to "error", "warn", or "ignore" on extrapolation events. (#4993)
  • Improve reliability of CasadiAlgebraicSolver and added an option for the step_tol of the Newton iteration. (#4985)
  • Speed up calculation of variable sensitivities in ProcessedVariable (#5000)

Bug fixes

  • Fixed a bug in the QuickPlot which would return empty values for 1D variables at the beginning and end of a timespan. (#4991)
  • Fixed a bug in the Exponential1DSubMesh where the mesh was not being created correctly for non-zero minimum values. (#4989)
  • Fixed sensitivity calculation for pybamm.DiscreteTimeSum. (#5007)

Breaking changes

  • Remove sensitivity functionality for Casadi and Scipy solvers, only pybamm.IDAKLU solver can calculate sensitivities. (#4975)

Notes

If you use PyBaMM, please cite it as below.

Files

pybamm-team/PyBaMM-v25.6.0.zip

Files (9.0 MB)

Name Size Download all
md5:b1ecb3f1954091f973f02a2eb25ed767
9.0 MB Preview Download

Additional details

Related works