Published June 16, 2026
| Version v26.6.2.0
Software
Open
Python Battery Mathematical Modelling (PyBaMM)
Authors/Creators
Description
Features
create_from_bpx/create_from_bpx_objnow apply a BPXStateInitial state-of-chargeviaset_initial_state(supporting blended electrodes and validated to lie in[0, 1]) instead of ignoring it. (#5616)- The parameter
"Contact resistance [Ohm]"can now be a function of the volume-averaged cell temperature (in addition to a constant), and works with all thermal options. The accompanying documentation now clarifies that this represents a lumped series resistance rather than a true contact resistance (BPX#130); the name is retained to avoid a breaking change. (#5604)
Bug fixes
- Fixed BPX import leaving interpolated-table OCP hysteresis branches (
OCP (lithiation) [V],OCP (delithiation) [V]) as raw data tuples instead of usable expression-tree objects. RemainingFloatFunctionTableplaceholders are now converted generically, so new BPX table parameters no longer need a hand-maintained conversion list. (#5610) RegulariseSqrtAndPowerno longer regularises state-independent bases, fixing corrupted small rate constants in exchange-current density functions. (#5600)- Fixed
Serialise.load_custom_modelleaving a loaded lithium-ion model's cachedparambuilt from default options instead of the restored ones, so a model loaded with non-default options (e.g. composite"particle phases") had parameters inconsistent with its options. (#5599) - Fixed
BatteryModelOptionsletting two invalid MSMR option sets pass validation and then crash during parameter construction withinvalid literal for int() with base 10: 'none'; both now raise a clearOptionError. The all-or-nothing MSMR check now detects MSMR inside a per-electrode tuple (e.g."open-circuit potential": ("MSMR", "single")), and an MSMR model must set"number of MSMR reactions"to a positive integer rather than the default"none". (#5599) - Fixed
Serialise.serialise_custom_modelnot recording a custom model's discretisation recipe (geometry,var_pts,submesh_types,spatial_methods), so a custom model reloaded via theBaseModelfallback (when its defining package is unavailable) was no longer discretisable. (#5609)
Notes
Files
pybamm-team/PyBaMM-v26.6.2.0.zip
Files
(10.6 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:d63f4ec3d627ee2b4de9627ab4e8cfb3
|
10.6 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/pybamm-team/PyBaMM/tree/v26.6.2.0 (URL)
Software
- Repository URL
- https://github.com/pybamm-team/PyBaMM