wang-fujin/PINN4SOH
关于
用于电池 SOH 估计的物理信息神经网络
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +5
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PINN4SOH
This code is for our paper: Physics-informed neural network for lithium-ion battery degradation stable modeling and prognosis
[!IMPORTANT] Summary of articles using the XJTU Battery Dataset: https://github.com/wang-fujin/XJTU-Battery-Dataset-Papers-Summary
1. System requirements
python version: 3.7.10
| Package | Version |
|---|---|
| torch | 1.7.1 |
| sklearn | 0.24.2 |
| numpy | 1.20.3 |
| pandas | 1.3.5 |
| matplotlib | 3.3.4 |
| scienceplots |
2. Installation guide
If you are not familiar with Python and Pytorch framework, you can install Anaconda first and use Anaconda to quickly configure the environment.
2.1 Create environment
conda create -n new_environment python=3.7.10
2.2 Activate environment
conda activate new_environment
2.3 Install dependencies
conda install pytorch=1.7.1
conda install scikit-learn=0.24.2 numpy=1.20.3 pandas=1.3.5 matplotlib=3.3.4
pip install scienceplots # for beautiful plots
3. Demo
We provide a detailed demo of our code running on the XJTU dataset.
- Run the
main_XJTU.pyfile to train our model. The program will generate a folder namedresultsand save the results in it. - Run the
main_comparison.pyfile. You can changesetattr(args,'model','MLP')to select the CNN or MLP model. It will generate a folder in theresultsto save the results of the corresponding model (CNN or MLP). - Run the
results analysis/XJTU results.pyfile. It will process the results in Step one and generate theXJTU_results.xlsxfile. At the same time, the results of each batch in the XJTU dataset will also be printed on the Command Console, corresponding to the results in Table 2 of our manuscript. - Run the
results analysis/Comparision results.pyfile to generate theXJTU-MLP_results.xlsxfile and save it in theresultsfolder. The results of each batch in the XJTU data set will also be printed on the Command Console, corresponding to the results in Table 2 of our manuscript.
Note: As we all know, the training process of neural network models is random, and the volatility of regression models is often greater than that of classification models. Therefore, the results obtained from the above process are not expected to be exactly identical to those mentioned in our manuscript. However, it is evident that the results obtained from our method are superior to those of MLP and CNN.
In addition, we also provide the results of our training,
which are saved in the results folder and results analysis folder.
These results correspond exactly to the data in our manuscript.
What's more, we also provide the codes corresponding to the Figures in our manuscript,
which are saved in the plotter folder.
You can use these codes to draw the Figures in the manuscript.
4. Additional information
The data in the data folder is preprocessed data.
Raw data can be obtained from the following links:
The code for reading and preprocessing the dataset is publicly available at https://github.com/wang-fujin/Battery-dataset-preprocessing-code-library
We generated a comprehensive dataset consisting of 55 lithium-nickel-cobalt-manganese-oxide (NCM) batteries.
It is available at: Link
Zenodo link: https://zenodo.org/records/10963339.


5. Citation
If you find it useful, please cite our paper:
@article{wang2024physics,
title={Physics-informed neural network for lithium-ion battery degradation stable modeling and prognosis},
author={Wang, Fujin and Zhai, Zhi and Zhao, Zhibin and Di, Yi and Chen, Xuefeng},
journal={Nature Communications},
volume={15},
number={1},
pages={4332},
year={2024},
publisher={Nature Publishing Group UK London}
}
探索相关项目
加载中…