Code and measurement data - Neural ordinary differential equations for grey-box modeling of lithium-ion batteries on the basis of an equivalent circuit model
Creators: name: Brucker, Jennifer
name: Behmann, René
name: Bessler, Wolfgang G.
name: Gasper, Rainer
Publisher: name: Zenodo
Year: 2022
Subjects: neural networks
neural ordinary differential equations
grey-box modeling
lithium-ion batteries
equivalent circuit modeling

description: This dataset contains code and measurement data for the paper 'Neural ordinary differential equations for grey-box modeling of lithium-ion batteries on the basis of an equivalent circuit model', which we recently submitted for publication. 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.
description: {"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\u00dfhar, Bj\u00f6rn; 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\u2013191. DOI: 10.1016/j.est.2017.10.002.", "Yagci, Mehmet C.; Behmann, Ren\u00e9; Daubert, Viktor; Braun, Jonas A.; Velten, Dirk; Bessler, Wolfgang G. (2021): Electrical and Structural Characterization of Large\u2010Format Lithium Iron Phosphate Cells used in Home\u2010Storage Systems. In: Energy Technol. 9 (6). DOI:10.1002/ente.20200091."]}