by Rachel Han, Brian Wetton and Colin Macdonald
This repository contains the solver for pseudo-2D model of Li-ion battery based on Finite Difference Method with automatic differentiation via JAX.
The model is taken from the P2D model outlined in the paper by Torchio et al.
pip install numpy scipy
(or get these from your OS)pip install jax[cpu]
pip install scikit-umfpack
Then run examples/main_reorder.py
.