Skip to content

PyBaMM_logo

PyBaMM (Python Battery Mathematical Modelling) is an open-source battery simulation package written in Python. Our mission is to accelerate battery modelling research by providing open-source tools for multi-institutional, interdisciplinary collaboration. Broadly, PyBaMM consists of (i) a framework for writing and solving systems of differential equations, (ii) a library of battery models and parameters, and (iii) specialized tools for simulating battery-specific experiments and visualizing the results. Together, these enable flexible model definitions and fast battery simulations, allowing users to explore the effect of different battery designs and modeling assumptions under a variety of operating scenarios.

Check out the main PyBaMM repository pybamm-team/pybamm

Pinned Loading

  1. PyBaMM PyBaMM Public

    Fast and flexible physics-based battery models in Python

    Python 1.7k 800

  2. BattBot BattBot Public

    An automated Twitter Bot that Tweets random Battery Simulations and replies to requested Battery Simulations.

    Python 28 7

  3. liionpack liionpack Public

    A battery pack simulation tool that uses the PyBaMM framework

    Python 121 39

Repositories

Showing 10 of 24 repositories
  • PyBaMM Public

    Fast and flexible physics-based battery models in Python

    pybamm-team/PyBaMM's past year of commit activity
    Python 1,663 BSD-3-Clause 800 180 (2 issues need help) 81 Updated Sep 21, 2026
  • casadi-vcpkg-registry Public

    vcpkg registry for casadi

    pybamm-team/casadi-vcpkg-registry's past year of commit activity
    CMake 2 MIT 1 0 0 Updated Sep 21, 2026
  • pybamm.org Public

    pybamm.org website source code

    pybamm-team/pybamm.org's past year of commit activity
    HTML 11 BSD-3-Clause 12 5 9 Updated Sep 21, 2026
  • pybamm-cookie Public

    A copier template for battery modeling projects using PyBaMM

    pybamm-team/pybamm-cookie's past year of commit activity
    Jinja 17 BSD-3-Clause 6 2 (1 issue needs help) 1 Updated Sep 21, 2026
  • liionpack Public

    A battery pack simulation tool that uses the PyBaMM framework

    pybamm-team/liionpack's past year of commit activity
    Python 121 MIT 39 24 2 Updated Sep 14, 2026
  • sundials-vcpkg-registry Public

    A vcpkg registry providing SUNDIALS with KLU enabled

    pybamm-team/sundials-vcpkg-registry's past year of commit activity
    CMake 0 MIT 3 0 0 Updated Jul 16, 2026
  • pybammsolvers Public archive

    C/C++ solvers used by PyBaMM, and their Python bindings

    pybamm-team/pybammsolvers's past year of commit activity
    C++ 12 BSD-3-Clause 9 6 (1 issue needs help) 1 Updated Jun 19, 2026
  • pybamm-data Public

    A repository to host PyBaMM's data files

    pybamm-team/pybamm-data's past year of commit activity
    3 BSD-3-Clause 1 3 0 Updated Apr 29, 2026
  • pybamm-eis Public
    pybamm-team/pybamm-eis's past year of commit activity
    Python 42 MIT 17 11 2 Updated Apr 27, 2026
  • pybamm-team/pybamm-reservoir-example's past year of commit activity
    Python 0 1 0 0 Updated Apr 2, 2026