Lithium ion PI model

Version (378 KB) by Fiodar
The power-based integrated (PI) lithium-ion battery model for simulation.


Updated 18 Mar 2019

View License

This model can be calibrated for any Li-ion battery chemistry using a typical specifications sheet released by the battery manufacturer. Our evaluations indicate that it is a significant improvement in terms of accuracy over the default Simulink battery model, and a journal paper containing a comparison of these model is currently going through the review process.
The model is an extension to "Model 2" as described in "Li-Ion Storage Models for Energy System Optimization: The Accuracy-Tractability Tradeoff" (eEnergy 2016) by Kazhamiaka et al..
The zip file contains a number of examples for how to structure the configuration files, and how to use the model, both as part of a matlab script or as part of a Simulink simulation. Note that the model is not optimized for Simulink, and hence we recommend using is as part of a script for faster simulation. We provide parameter for two Li-ion chemistries: Lithium Titanate and Lithium Ferrous-Phosphate.

Cite As

Fiodar (2023). Lithium ion PI model (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated model name and parameters for the simulink demo

Added an option to select fast mode which uses an iterative method to solve equations

Changed the model name

Description typo.