# Examples#

This folder contains a collection of Jupyter notebooks that demonstrate how to use PyBaMM and reveal some of its functionalities and inner workings. The notebooks are organised into subfolders, and can be viewed in the galleries below.

Tutorial 1 - How to run a model

Tutorial 2 - Compare models

Tutorial 3 - Basic plotting

Tutorial 4 - Setting parameter values

Tutorial 5 - Run experiments

Tutorial 6 - Managing simulation outputs

Tutorial 7 - Model options

Tutorial 8 - Solver options

Tutorial 9 - Changing the mesh

Tutorial 10 - Creating a model

Tutorial 11 - Creating a submodel

Comparison of PyBaMM and COMSOL Discharge Curves

Comparing with Experimental Data

Compare lithium-ion battery models

Compare particle diffusion models

A composite electrode particle model

Modelling coupled degradation mechanisms in PyBaMM

Doyle-Fuller-Newman Model with particle-size distributions

Doyle-Fuller-Newman Model (DFN)

Electrode State of Health

Half-cell models in PyBaMM

Jelly roll model

Using latexify in PyBaMM

Lead-Acid Models

Modelling lithium plating in PyBaMM

Many Particle Model (MPM)

Multi-Species Multi-Reaction model

Pouch cell model

Generate rate capability plots

Saving PyBaMM models to file

Modelling SEI growth on particle cracks

Simulating a 3E cell

Run simulations with O’Regan 2022 parameter set (LG M50)

Single Particle Model (SPM)

Single Particle Model with Electrolyte (SPMe)

Using crack submodels in PyBaMM

Loss of active material submodels

Thermal models

Solving the heat equation in PyBaMM

Using model options in PyBaMM

Using submodels in PyBaMM

Test the parameter set of the Enertech cells