Skip to content

v25.1.0

Compare
Choose a tag to compare
@kratman kratman released this 15 Jan 14:18
· 22 commits to main since this release
590fdfe

Features

  • Added a dt_min option to the (IDAKLUSolver). (#4736)
  • Automatically add state variables of the model to the output variables if they are not already present (#4700)
  • Enabled using SEI models with particle size distributions. (#4693)
  • Added symbolic mesh which allows for using InputParameters for geometric parameters (#4665)
  • Enhanced the search method to accept multiple search terms in the form of a string or a list. (#4650)
  • Made composite electrode model compatible with particle size distribution (#4687)
  • Added Symbol.post_order() method to return an iterable that steps through the tree in post-order fashion. (#4684)
  • Porosity change now works for composite electrode (#4417)
  • Added two more submodels (options) for the SEI: Lars von Kolzenberg (2020) model and Tunneling Limit model (#4394)

Breaking changes

  • Updated BPX to v0.5.0 and made changes for the switch to Pydantic V2 (#4701)
  • Summary variables now calculated only when called, accessed via a class in the same manner as other variables rather than a dictionary. (#4621)
  • The conda distribution (pybamm) now installs all optional dependencies available on conda-forge. Use the new pybamm-base conda
    package to install PyBaMM with only the required dependencies. (conda-forge/pybamm-feedstock#70)
  • Separated extrapolation options for pybamm.BoundaryValue and pybamm.BoundaryGradient, and updated the default to be "linear" for the value and "quadratic" for the gradient. (#4614)
  • Double-layer SEI models have been removed (with the corresponding parameters). All models assume now a single SEI layer. (#4470)
  • Moved the IDAKLU solver to a standalone pybammsolvers package. This will
    make PyBaMM a pure Python package and make installing and using the solver
    easier. (#4487)
  • Wycisk OCP model now requires an parameter to set the initial condition. (#4374)

Bug fixes

  • Fixed bug when using stoichiometry-dependent diffusivity with the DFN model with a particle size distribution. (#4726)
  • Remove internal use of deprecated set_parameters function in the Simulation class which caused warnings. (#4638)
  • Provide default value for Symbol.mesh attribute to avoid errors when adding variables after discretisation. (#4644)