Code and measurement data - Neural ordinary differential equations for grey-box modelling of lithium-ion batteries on the basis of an equivalent circuit model
Description
This dataset contains code and measurement data for the paper 'Neural ordinary differential equations for grey-box modelling of lithium-ion batteries on the basis of an equivalent circuit model'.
The code is implemented in Python and uses the following packages: Pandas, SciPy, NumPy, Torch, and Matplotlib. It also builds on the torchdiffeq library (Chen 2018), which provides various differential ODE solvers. The torchdiffeq library including instructions on its installation can be found in this repository.
The investigated prismatic single cell is a 180 Ah home storage cell of the Chinese manufacturer CALB and uses lithium iron phosphate at the positive electrode and graphite at the negative electrode. The cell was investigated experimentally under a controlled laboratory environment (climate chamber CTS 40/200 Li) using a battery cycler with four-wire measurement (Biologic VMP3). Details on the cell and characterization methods can be found in Yagci et al. (2021).
We measured experimental data sets representing several different operation scenarios. Constant current constant voltage (CCCV) charge and discharge with different C-rates of 0.1 C (18 A), 0.28 C (50 A), and 1 C (180 A) during the CC phase, and one charge and one discharge curve with included current pulses were measured. Furthermore, we carried out two independent measurements for model testing. Firstly, the cell was cycled with 50 A between 25 % and 75 % SOC. Secondly, the cell was subjected to a dynamic load profile taken from Weißhar, Bessler (2017) and downscaled to the present cell. All measurements were carried out at an ambient temperature of T = 25 °C.
The number of data points per measurement series was large. Therefore, beginning from the first value, we decided to only keep measurement values if the current varied by |∆ibat| ≥ 0.5 A or the measured voltage varied by |∆ubat| ≥ 0.5 mV between two subsequent values. We used SI units for our upload. The current was measured in milliamperes. However, here it is given in amperes. The time is given in seconds and the voltage is given in volts. The open-cirucit voltage (OCV) - state-of-charge (SOC) data was taken from Yagci et al. (2021), which is licensed under CC BY 4.0. The OCV is given in volts and the SOC is given as a value between zero (empty battery) and one (fully-charged battery).
Download the CSV files, and the code files and save them in the same folder. First, run the code 'ECM_GB_static_model.py' to train the static network neglecting the double-layer capacitance of the RC circuit. The learned parameters are stored. After finishing the first training part run 'ECM_GB_complete.py' to proceed with the training. The pre-trained parameters are loaded and the additional double-layer capacitance is initialized. The learned parameters are stored.
Files
CCCV_180A_chg.csv
Files
(10.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:7b2acde2a1d5b462facf200c1ae470ae
|
120.6 kB | Preview Download |
|
md5:f983815b764aac7058087a2da473a514
|
33.7 kB | Preview Download |
|
md5:1316bb590326e03d1eec42414a85d76c
|
170.8 kB | Preview Download |
|
md5:bdefdfd5b129c0f17a1b5baecbf77612
|
188.5 kB | Preview Download |
|
md5:a41d7c66be0c77ecc465c64fc4a7dad3
|
81.7 kB | Preview Download |
|
md5:e588421f2bd0b44d211c32171497fcd4
|
81.8 kB | Preview Download |
|
md5:18fcab69031527858fe51ea54efda01d
|
15.3 kB | Download |
|
md5:6eacc182933db8579707cd49c1b29df2
|
11.6 kB | Download |
|
md5:9f74aae2d49afa55a754afd6a8f2c0c7
|
3.0 MB | Preview Download |
|
md5:2fa00da4ce60cbae4484ae4fd399a8b5
|
2.7 MB | Preview Download |
|
md5:baa250276f02666b0b17cb7d74c64382
|
2.6 MB | Preview Download |
|
md5:22d679928f14c192b4b457015cac1fbc
|
486.3 kB | Preview Download |
|
md5:e8973028b7aed36c37a9a43dc7f30297
|
586.3 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Journal article: 10.3390/en15072661 (DOI)
References
- Chen, Ricky T. Q. (2021): torchdiffeq. Version 0.2.1. Available online at https://github.com/rtqichen/torchdiffeq, checked on 2/22/2022.
- Weißhar, Björn; Bessler, Wolfgang G. (2017): Model-based lifetime prediction of an LFP/graphite lithium-ion battery in a stationary photovoltaic battery system. In: Journal of Energy Storage 14, S. 179–191. DOI: 10.1016/j.est.2017.10.002.
- Yagci, Mehmet C.; Behmann, René; Daubert, Viktor; Braun, Jonas A.; Velten, Dirk; Bessler, Wolfgang G. (2021): Electrical and Structural Characterization of Large‐Format Lithium Iron Phosphate Cells used in Home‐Storage Systems. In: Energy Technol. 9 (6). DOI:10.1002/ente.20200091.