This is a demonstration module for a manuscript titled "Voltage mining for delithiation-stabilized cathodes and a machine-learning model for Li-ion cathode voltage" (see last section for citation). The purpose of this demonstration module is to provide a way for those inserested to use the LIB cathode voltage prediction model constructed in the manuscript. For details and limits of the model, please see the manuscript.
To get started, navigate to a directory where you want to install this repo, and clone this repo:
git clone https://github.com/hmlli/voltage_mining_model_demo.git
The main functionalies of this demonstration model lives in the voltage_mining_model_demo.ipynb
jupyter notebook. To run this file, you need the following software:
python==3.10.14
jupyterlab==4.1.5
ipykernel==6.29.3
xgboost==2.0.3
joblib==1.3.2
matminer==0.9.0
scikit-learn==1.4.1.post1
pymatgen==2023.9.25
numpy==1.26.4
pandas==1.5.3
and their dependencies.
Make sure you have conda installed and start a new virtual environment to run this demo module:
conda create -n vmm_demo python=3.10.14
Then activate the environment and navigate to the repo directory:
conda activate vmm_demo
cd voltage_mining_model_demo
Then install the required dependencies using pip
:
pip install -r requirements.txt
or manually with:
pip install jupyterlab==4.1.5
pip install xgboost==2.0.3
pip install joblib==1.3.2
pip install matminer==0.9.0
pip install pymatgen==2023.9.25
All other softwares should have been installed with the installation of the above. If you run into uninstall packages or version issues, please follow the list at the top to ensure correct software and versions.
Then open the votlage_mining_model_demo.ipynb
file with a jupyter-compatible IDE or open it in your browser:
jupyter lab
and proceed to the instructions in the notebook.
Please cite the following work where this model is constructed if you use this code: [publication] [arXiv]
publication:
@article{Li2024Dec,
author = {Li, Haoming Howard and Chen, Qian and Ceder, Gerbrand and Persson, Kristin A.},
title = {{Voltage Mining for (De)lithiation-Stabilized Cathodes and a Machine Learning Model for Li-Ion Cathode Voltage}},
journal = {ACS Appl. Mater. Interfaces},
volume = {2024},
number = {2024},
year = {2024},
month = dec,
issn = {1944-8244},
publisher = {American Chemical Society},
doi = {10.1021/acsami.4c15742}
}
placeholder
arXiv:
@article{Li2024Sep,
author = {Li, Haoming Howard and Chen, Qian and Ceder, Gerbrand and Persson, Kristin A.},
title = {{Voltage Mining for (De)lithiation-stabilized Cathodes and a Machine Learning Model for Li-ion Cathode Voltage}},
journal = {arXiv},
year = {2024},
month = sep,
eprint = {2409.06921},
doi = {10.48550/arXiv.2409.06921}
}