Published December 3, 2025 | Journal article | Version v1 | https://doi.org/10.21105/joss.07874

PyBOP: A Python package for battery model optimisation and parameterisation

  • 1. Department of Engineering Science, University of Oxford, Oxford, United Kingdom
  • 2. The Faraday Institution, Harwell Campus, Didcot, United Kingdom
  • 3. Research Software Engineering Group, University of Oxford, Oxford, United Kingdom
  • 4. Quansight
  • 5. Mathematics Institute, University of Warwick, Coventry, United Kingdom

Files

joss.07874.pdf

Files (9.3 MB)

Name Size Download all
md5:1dca74a18948ce789b827af980b4f9c6
1.1 MB Preview Download
md5:408798e8ef075ccc02d80fa6fba487aa
8.2 MB Preview Download

Additional details

Dates

Issued
December 3, 2025

References

  1. Planden, B., Courtier, N. E., Robinson, M., Khetarpal, A., Brosa Planella, F., & Howey, D. A. (2025). PyBOP: A Python package for battery model optimisation and parameterisation (Version v25.11) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17711656
  2. Sulzer, V., Marquis, S. G., Timms, R., Robinson, M., & Chapman, S. J. (2021). Python Battery Mathematical Modelling (PyBaMM). Journal of Open Research Software, 9(1), 14. https://doi.org/10.5334/jors.309
  3. Clerx, M., Robinson, M., Lambert, B., Lei, C. L., Ghosh, S., Mirams, G. R., & Gavaghan, D. J. (2019). Probabilistic Inference on Noisy Time Series (PINTS). Journal of Open Research Software, 7(1), 23. https://doi.org/10.5334/jors.252
  4. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  5. Korotkin, I., Timms, R., Foster, J. F., Dickinson, E., & Robinson, M. (2023). Battery parameter eXchange. In GitHub repository. The Faraday Institution. https://github.com/FaradayInstitution/BPX
  6. Doyle, M., Fuller, T. F., & Newman, J. (1993). Modeling of Galvanostatic Charge and Discharge of the Lithium/Polymer/Insertion Cell. Journal of The Electrochemical Society, 140(6), 1526–1533. https://doi.org/10.1149/1.2221597
  7. Fuller, T. F., Doyle, M., & Newman, J. (1994). Simulation and Optimization of the Dual Lithium Ion Insertion Cell. Journal of The Electrochemical Society, 141(1), 1–10. https://doi.org/10.1149/1.2054684
  8. Brosa Planella, F., Ai, W., Boyce, A. M., Ghosh, A., Korotkin, I., Sahu, S., Sulzer, V., Timms, R., Tranter, T. G., Zyskin, M., Cooper, S. J., Edge, J. S., Foster, J. M., Marinescu, M., Wu, B., & Richardson, G. (2022). A continuum of physics-based lithium-ion battery models reviewed. Progress in Energy, 4(4), 042003. https://doi.org/10.1088/2516-1083/ac7d31
  9. Verbrugge, M., Baker, D., Koch, B., Xiao, X., & Gu, W. (2017). Thermodynamic Model for Substitutional Materials: Application to Lithiated Graphite, Spinel Manganese Oxide, Iron Phosphate, and Layered Nickel-Manganese-Cobalt Oxide. Journal of The Electrochemical Society, 164(11), E3243–E3253. https://doi.org/10.1149/2.0341708jes
  10. Tranter, T., Timms, R., Sulzer, V., Planella, F., Wiggins, G., Karra, S., Agarwal, P., Chopra, S., Allu, S., Shearing, P., & Brett, D. (2022). liionpack: A Python package for simulating packs of batteries with PyBaMM. Journal of Open Source Software, 7(70), 4051. https://doi.org/10.21105/joss.04051
  11. Wang, A. A., O’Kane, S. E. J., Brosa Planella, F., Houx, J. L., O’Regan, K., Zyskin, M., Edge, J., Monroe, C. W., Cooper, S. J., Howey, D. A., Kendrick, E., & Foster, J. M. (2022). Review of parameterisation and a novel database (LiionDB) for continuum Li-ion battery models. Progress in Energy, 4(3), 032004. https://doi.org/10.1088/2516-1083/ac692c
  12. Andersson, M., Streb, M., Ko, J. Y., Löfqvist Klass, V., Klett, M., Ekström, H., Johansson, M., & Lindbergh, G. (2022). Parametrization of physics-based battery models from input–output data: A review of methodology and current research. Journal of Power Sources, 521, 230859. https://doi.org/10.1016/j.jpowsour.2021.230859
  13. Miguel, E., Plett, G. L., Trimboli, M. S., Oca, L., Iraola, U., & Bekaert, E. (2021). Review of computational parameter estimation methods for electrochemical models. Journal of Energy Storage, 44, 103388. https://doi.org/10.1016/j.est.2021.103388
  14. Chu, Z., Plett, G. L., Trimboli, M. S., & Ouyang, M. (2019). A control-oriented electrochemical model for lithium-ion battery, Part I: Lumped-parameter reduced-order model with constant phase element. Journal of Energy Storage, 25, 100828. https://doi.org/10.1016/j.est.2019.100828
  15. Chen, C.-H., Brosa Planella, F., O’Regan, K., Gastol, D., Widanage, W. D., & Kendrick, E. (2020). Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models. Journal of The Electrochemical Society, 167(8), 080534. https://doi.org/10.1149/1945-7111/ab9050
  16. Kirk, T. L., Lewis-Douglas, A., Howey, D., Please, C. P., & Jon Chapman, S. (2023). Nonlinear Electrochemical Impedance Spectroscopy for Lithium-Ion Battery Model Parameterization. Journal of The Electrochemical Society, 170(1), 010514. https://doi.org/10.1149/1945-7111/acada7
  17. Couto, L. D., Charkhgard, M., Karaman, B., Job, N., & Kinnaert, M. (2023). Lithium-ion battery design optimization based on a dimensionless reduced-order electrochemical model. Energy, 263, 125966. https://doi.org/10.1016/j.energy.2022.125966
  18. Hoffman, M. D., & Gelman, A. (2011). The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo. https://arxiv.org/abs/1111.4246
  19. Brooks, S., Gelman, A., Jones, G., & Meng, X.-L. (2011). Handbook of Markov Chain Monte Carlo. Chapman and Hall/CRC. https://doi.org/10.1201/b10905
  20. Haario, H., Saksman, E., & Tamminen, J. (2001). An Adaptive Metropolis Algorithm. Bernoulli, 7(2), 223. https://doi.org/10.2307/3318737
  21. Braak, C. J. F. T. (2006). A Markov Chain Monte Carlo version of the genetic algorithm Differential Evolution: easy Bayesian computing for real parameter spaces. Statistics and Computing, 16(3), 239–249. https://doi.org/10.1007/s11222-006-8769-1
  22. Metropolis, N., Rosenbluth, A. W., Rosenbluth, M. N., Teller, A. H., & Teller, E. (1953). Equation of State Calculations by Fast Computing Machines. The Journal of Chemical Physics, 21(6), 1087–1092. https://doi.org/10.1063/1.1699114
  23. Dhoot, R., Timms, R., & Please, C. (2024). PyBaMM EIS: Efficient Linear Algebra Methods to Determine Li-ion Battery Behaviour (Version 0.1.4). https://www.github.com/pybamm-team/pybamm-eis
  24. Lu, D., Scott Trimboli, M., Fan, G., Zhang, R., & Plett, G. L. (2021). Implementation of a Physics-Based Model for Half-Cell Open-Circuit Potential and Full-Cell Open-Circuit Voltage Estimates: Part II. Processing Full-Cell Data. Journal of The Electrochemical Society, 168(7), 070533. https://doi.org/10.1149/1945-7111/ac11a5
  25. Loshchilov, I., & Hutter, F. (2017). Decoupled Weight Decay Regularization (Version 3). arXiv. https://doi.org/10.48550/arxiv.1711.05101

1–25 of 28

Citations

  1. Xu, W., Yang, K., Zhang, Y., Zhang, W., Sun, S., Mao, S., & Xue, T. (2026). DiffLiB: high-fidelity differentiable modeling of lithium-ion batteries and efficient gradient-based parameter identification. Structural and Multidisciplinary Optimization, 69(4). https://doi.org/10.1007/s00158-026-04286-x
  2. Bernabeu-Santisteban, A., Clemente, A., Geiger, B. C., Rohrhofer, F. M., Díaz-González, F., & Trilla, L. (2026). Bridging data-driven and physics-based models for lithium-ion battery state analysis and future performance assessment via active material volume fraction. Energy and AI, 24, Article 100749. https://doi.org/10.1016/j.egyai.2026.100749
  3. Zonta, E., Rei, G. R., Spinola, M., Weißinger, C., Wall, W. A., & Jossen, A. (2026). Probing simulation-based inference for credible battery model parameter estimation from impedance data. Electrochimica Acta, 574, 149370. https://doi.org/10.1016/j.electacta.2026.149370
  4. Odinsen, E., Cedeño, E. J. F., Burheim, O. S., & Lamb, J. J. (2026). Analytical pulsing protocol-based parameter identification and validation of the Doyle–Fuller–Newman battery model. International Journal of Electrochemical Science, 21(11), Article 101516. https://doi.org/10.1016/j.ijoes.2026.101516
  5. Fernandez, I., Mæhlen, J. P., Wind, J., Vie, P. J. S., Burheim, O. S., & Lamb, J. J. (2026). ECMpare: A systematic framework for comparing parameter estimation methods in lithium-ion battery equivalent circuit models. International Journal of Electrochemical Science, 21(11), Article 101527. https://doi.org/10.1016/j.ijoes.2026.101527
  6. Xu, Y., Chen, J., Zeng, T., Peng, W., Guo, R., Tian, J., & Chung, C. Y. (2026). Machine learning-assisted health management of retired batteries. Journal of Energy Chemistry, 123, 436–459. https://doi.org/10.1016/j.jechem.2026.08.054
  7. Hallemans, N., Seel-Mayer, H., Keil, P., Courtier, N. E., Duncan, S. R., & Howey, D. A. (2026). Measuring and modelling nonstationary impedance in Li-ion batteries. 2026 IEEE Conference on Control Technology and Applications (CCTA), 79–84. https://doi.org/10.1109/ccta62090.2026.11684311
  8. Kuhn, Y., Adachi, M., Philipp, M., Howey, D. A., & Horstmann, B. (2026). A Primer on Bayesian Parameter Estimation and Model Selection for Battery Simulators. Journal of The Electrochemical Society, 173(12), 120509. https://doi.org/10.1149/1945-7111/ae73f3
  9. Dickinson,, E. J. F., Zor,, C., Lukow,, K., O’Regan, K., & White, G. (2026). Physics-Based Parameterization of a High-Power Silicon–Graphite Lithium-Ion Battery: Electrochemical Model of the Molicel P45B Cell. Journal of The Electrochemical Society, 173(19), 190507. https://doi.org/10.1149/1945-7111/aea1c1
  10. https://doi.org/10.14801/jkiit.2026.24.7.105
  11. https://doi.org/10.21105/joss.11114
  12. https://doi.org/10.2139/ssrn.7459814