File Exchange

image thumbnail

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 Version History

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 (2021). Lithium ion PI model (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)


Thanks for pointing this out. I have uploaded a version where the bug is fixed.

Kim Sommer

Using 2017b. When I open sim_model_test.slx Simulink says "System not found" for the IPmodel element

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!