There is a newer version of the record available.

Published June 8, 2021 | Version 22.12
Software Open

Python Battery Mathematical Modelling (PyBaMM)

Description

Features
  • Added functionality to create pybamm.ParameterValues from a BPX standard JSON file (#2555).
  • Allow the option "surface form" to be "differential" in the MPM (#2533)
  • Added variables "Loss of lithium due to loss of active material in negative/positive electrode [mol]". These should be included in the calculation of "total lithium in system" to make sure that lithium is truly conserved. (#2529)
  • initial_soc can now be a string "x V", in which case the simulation is initialized to start from that voltage (#2508)
  • The ElectrodeSOH solver can now calculate electrode balance based on a target "cell capacity" (requires cell capacity "Q" as input), as well as the default "cyclable cell capacity" (requires cyclable lithium capacity "Q_Li" as input). Use the keyword argument known_value to control which is used. (#2508)
Bug fixes
  • Fixed bug with EntryPoints in Spyder IDE (#2584)
  • Fixed electrolyte conservation when options {"surface form": "algebraic"} are used
  • Fixed "constant concentration" electrolyte model so that "porosity times concentration" is conserved when porosity changes (#2529)
  • Fix installation on Google Colab (pybtex and Colab issue) (#2526)
Breaking changes
  • Renamed "Negative/Positive electrode SOC" to "Negative/Positive electrode stoichiometry" to avoid confusion with cell SOC (#2529)
  • Removed external variables and submodels. InputParameter should now be used in all cases (#2502)
  • Trying to use a solver to solve multiple models results in a RuntimeError exception (#2481)
  • Inputs for the ElectrodeSOH solver are now (i) "Q_Li", the total cyclable capacity of lithium in the electrodes (previously "n_Li", the total number of moles, n_Li = 3600/F * Q_Li) (ii) "Q_n", the capacity of the negative electrode (previously "C_n"), and "Q_p", the capacity of the positive electrode (previously "C_p") (#2508)
v22.11.1 - 2022-12-13 Bug fixes
  • Fixed installation on Google Colab (pybtex issues) (#2547)

Notes

If you use PyBaMM, please cite it as below.

Files

pybamm-team/PyBaMM-v22.12.zip

Files (14.7 MB)

Name Size Download all
md5:0ff19d9b7236f76cc3c8b984bd1bb0f2
14.7 MB Preview Download

Additional details

Related works