sandialabs / lim1tr

Lithium-Ion Modeling with 1-D Thermal Runaway (LIM1TR)
GNU Affero General Public License v3.0
16 stars 4 forks source link
scr-2402 snl-applications

LIM1TR: Lithium-Ion Modeling with 1-D Thermal Runaway

LIM1TR is a control volume code with 1D heat transport and reaction kinetics for modeling thermal runaway in Li-ion batteries.

Setup

Install the following requirements, preferably in a fresh environment. Begin with installing Spitfire following the documentation.

After installing the required packages, build the tridiagonal matrix algorithm from the main LIM1TR directory with:

$ python setup.py build_ext --inplace

To Run

$ python main_fv.py input_file_name.yaml

Setting up an alias for python main_fv.py is recommended.

Output

Output is saved in the current working directory as a pickle file containing a list of the following objects:

User Guide

The user guide for version 1.0 can be found at https://www.sandia.gov/ess-ssl/wp-content/uploads/2021/10/LIM1TR_Guide_SAND2021-12281.pdf