Skip to content

hanrach/p2d_fast_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2D Solver

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.

Getting started

  • pip install numpy scipy (or get these from your OS)
  • pip install jax[cpu]
  • pip install scikit-umfpack

Then run examples/main_reorder.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages