Lithium-Ion Battery Single Particle Model Tutorial
Lithium-Ion Battery Single Particle Model is the code to simulate the lithium-ion battery cell model.
The code contains various models.
-
Finite Difference Method Model without Degradation. (FDM Model)
-
Finite Difference Method Model with Linearized Degradation. (FDM LM Model)
-
Finite Difference Method Model with Nonlinear Degradation. (FDM NM Model)
-
Pade Approximation Model without Degradation (Pade Model)
-
Pade Approximation Model with Degradation (Pade-D Model)
-
Optimization-Based Model (O-B Model)
-
Simulink (Open “battery_cell_model.slx”)
Battery Cell
Negative Electrode
Positive Electrode
- MATLAB File
To run the code, open the file “RUN_ROM_battery_cell.m”
The following steps are the setup to run the battery cell model.
(1) You have to choose what model you will run. (FDM Model, FDM_LM Model, FDM_NM Model etc.)
(2) After choosing the battery cell model, you have to select what parameters you will use. Skip this part if you choose the model that does not contain a degradation model
In this code, we have two options. The first is ‘SD’ (General Parameters). The second is ‘BD’ (Increased Parameters)
(3) Select the model’s order
FDM Model & FDM LM Model
FDM NM Model
In FDM NM Model, we have to load the nonlinear map to calculate the negative surface concentration. There are two nonlinear maps. 'degradation_map_SD.mat' is for ‘SD’. 'degradation_map_BD.mat' is for ‘BD’.
Pade Model & Pade-D Model
O-B Model
(4) Setup the input current
If you want to use the 1-D look up table block you have to setup the ‘t’ and ‘u’ variables.
Or you can setup the various input current using Simulink block as shown above. (Sinusoid wave, square wave etc.)
(5) Initial Condition
In initial condition part, the only thing you have to change is “line 137”.
(6) Linearized side reaction current density coefficients (minor step)
- Setup the time range