BattMo -- Battery Modelling Toolbox

This paper introduces BattMo, a flexible MATLAB-based finite volume toolbox for simulating diverse electrochemical battery cells that supports 3D geometries, coupled thermal and degradation models, and FAIR-compliant parameterization while enabling efficient gradient-based optimization through automatic differentiation.

Original authors: Xavier Raynaud, Halvor Møll Nilsen, August Johansson, Eibar Flores, Lorena Hendrix, Francesca Watson, Sridevi Krishnamurthi, Olav Møyner, Simon Clark

Published 2026-06-12
📖 4 min read☕ Coffee break read

Original authors: Xavier Raynaud, Halvor Møll Nilsen, August Johansson, Eibar Flores, Lorena Hendrix, Francesca Watson, Sridevi Krishnamurthi, Olav Møyner, Simon Clark

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to build a better battery, but instead of building physical prototypes out of metal and chemicals (which is expensive, slow, and messy), you want to build them inside a computer. That is exactly what BattMo does.

Think of BattMo as a "Lego set for battery scientists."

Here is how it works, broken down into simple ideas:

1. The Blueprint (The "JSON" and "Graph" System)

Usually, changing a battery design in a computer program is like trying to rewrite the entire dictionary just to change one word. BattMo is different.

  • The Recipe Card: You tell the software what your battery looks like and what it's made of using a simple text file (called JSON). It's like filling out a form where you say, "I want a cylindrical battery made of this specific type of lithium."
  • The Flowchart: Inside the computer, the battery isn't just a blob of code; it's built like a flowchart or a computational graph. Imagine a family tree where the "parents" are the laws of physics and the "children" are the results. If you want to change how the battery heats up, you just swap out one branch of the tree without breaking the whole family. This makes it very easy to mix and match different ideas.

2. The Simulator (The "Virtual Lab")

Once you build your virtual battery, BattMo acts as a high-speed simulator.

  • 3D Modeling: It doesn't just look at a flat slice of the battery; it builds a full 3D model. Whether your battery is a flat coin, a rolled-up jelly roll, or a big rectangular block, BattMo can visualize it in 3D.
  • The "Heat" Factor: It doesn't just track electricity; it tracks heat, too. It simulates how the battery gets hot while charging and cools down while sitting, all at the same time.
  • The "Aging" Watch: It can even predict how the battery gets old. It simulates things like a thin layer of gunk (called the SEI layer) building up on the inside, or how silicon materials swell up like a sponge when they soak up energy.

3. The "Smart Tutor" (Calibration and Optimization)

One of the hardest parts of battery science is guessing the right numbers for the materials.

  • The Auto-Adjuster: BattMo has a built-in "smart tutor" that uses a technique called automatic differentiation. Imagine you are trying to tune a radio to get the clearest signal. BattMo can instantly calculate exactly which knobs to turn to get the perfect match between your computer model and real-world experiments. This saves researchers from spending weeks guessing and checking.

4. Who is this for?

  • The Experts: Battery designers who want to test 50 different shapes in an hour instead of building 50 physical prototypes.
  • The Students: Beginners who want to see how electricity and heat move inside a battery without needing a PhD to understand the code.
  • The Developers: People who want to plug this tool into their own software workflows.

5. What makes it special?

While other tools exist (like PyBaMM), BattMo is unique because:

  • It was built from the ground up to handle 3D shapes and heat together from the start.
  • It is built on a foundation called MRST (a toolbox originally used for oil reservoirs), which means it is very good at solving complex math problems quickly.
  • It is open and flexible. You can swap out the "engine" (the math equations) easily, just like swapping a car engine, to try new battery chemistries.

In a Nutshell

BattMo is a digital workshop where you can design, build, and test batteries in 3D. It uses a modular, block-based system that lets scientists easily swap parts, predict how batteries will age, and automatically tune their designs to match reality—all without needing to build a single physical battery in the real world.

Note: This software is currently being used in major European research projects (like HYDRA and BATMAX) to design new types of batteries for electric vehicles and energy storage, but the paper focuses on the tool itself, not on specific future products it will create.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →