English

BattMo -- Battery Modelling Toolbox

Computational Physics 2025-12-23 v1

Abstract

This paper presents the Battery Modelling Toolbox (BattMo), a flexible finite volume continuum modelling framework in MATLAB\textsuperscript{\textregistered} (\citeproc{ref-MATLAB}{The MathWorks Inc., 2025}) for simulating the performance of electro-chemical cells. BattMo can quickly setup and solve models for a variety of battery chemistries, even considering 3D designs such as cylindrical and prismatic cells. The simulation input parameters, including the material parameters and geometric descriptions, are specified through JSON schemas. In this respect, we follow the guidelines of the Battery Interface Ontology (BattINFO) to support semantic interoperability in accordance with the FAIR principles (\citeproc{ref-fair}{Wilkinson et al., 2016}). The Doyle-Fuller-Newman (DFN) (\citeproc{ref-Doyle1993ModelingCell}{Doyle et al., 1993}) approach is used as a base model. We include fully coupled thermal simulations. It is possible to include degradation mechanisms such as SEI layer growth, and the use of composite material, such as a mixture of Silicon and graphite. The models are setup in a hierarchical way, for clarity and modularity. Each model corresponds to a computational graph, which introduces a set of variables (the nodes) and functional relationship (the edges). This design enables the flexibility for changing and designing new models. The solver in BattMo uses automatic differentiation and support adjoint computation. We can therefore compute the derivative of objective functions with respect to all parameters efficiently. Gradient-based optimization routines can be used to calibrate parameters from experimental data.

Keywords

Cite

@article{arxiv.2512.17933,
  title  = {BattMo -- Battery Modelling Toolbox},
  author = {Xavier Raynaud and Halvor Møll Nilsen and August Johansson and Eibar Flores and Lorena Hendrix and Francesca Watson and Sridevi Krishnamurthi and Olav Møyner and Simon Clark},
  journal= {arXiv preprint arXiv:2512.17933},
  year   = {2025}
}

Comments

Submitted to JOSS

R2 v1 2026-07-01T08:34:06.085Z