SPMeT

Single Particle Model with Electrolyte and Temperature: An Electrochemical-Thermal Battery model

DOI

Originally published November 5, 2016 by Professor Scott Moura
Energy, Controls, and Applications Lab (eCAL)
University of California, Berkeley
http://ecal.berkeley.edu/

Executive Summary

This repository provides Matlab code for the Single Particle Model with Electrolyte & Thermal Dynamics (SPMeT). A diagram of the SPMeT is below. The SPMeT can be run and edited from filename spmet.m. The SPMeT model code is based upon the equations in the publications below.

“Battery State Estimation for a Single Particle Model with Electrolyte Dynamics”
by S. J. Moura, F. Bribiesca Argomedo, R. Klein, A. Mirtabatabaei, M. Krstic
IEEE Transactions on Control System Technology, to appear
DOI: 10.1109/TCST.2016.2571663

“Optimal Charging of Batteries via a Single Particle Model with Electrolyte and Thermal Dynamics”
by H. E. Perez, X. Hu, S. J. Moura 2016 American Control Conference DOI: 10.1109/ACC.2016.7525538

SPMe Diagram

This repository also contains Matlab code for the SPMe, i.e. isothermal conditions with no temperature dynamics. The SPMe can be run and edited from filenames spme.m.

Features

Specifically, the code models the following dynamics:

Detailed Features

Features not included

Inputs

The SPMeT requires the following inputs:

Outputs

The SPMeT simulates the following outputs:

Visualizations

To visualize the SPMe simulation results, run the following code:

Numerical Method Parameters

The solid and electrolyte phase PDEs are solved with the central difference method and second-order accurate boundary conditions to ensure conservative solutions (i.e. conservation of matter). The accuracy / simulation speed can be adjusted by changing the following parameters.