Battery Modeling

Lithium ion battery characterization, state estimation, cell balancing, and thermal management

Download
Download

You are now following this Submission

Editor's Note: Popular File 2020

Cite As

Javier Gazzarri (2026). Battery Modeling (https://www.mathworks.com/matlabcentral/fileexchange/36019-battery-modeling), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2019a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
Version Published Release Notes Action
1.27.0

Updated description with mention of the tools needed for physical modeling

Download
1.26.0

Demos use new battery cell block

Download
1.25.0

This version uses the new battery cell block and incorporates new SOC and SOH workflows

Download
1.24.0

Fixed incompatibilities with new Simscape(TM) unit system

Download
1.24.0-1

Updated license

Download
1.24.0-0

updated a hyperlink in description

Download
1.23.0

updated links in description only

Download
1.22.0

Corrected webinar links

Download
1.21.0

Added acknowledgement for other entry - electrical system simulation

Download
1.19.0

Description updated - added a link to the Battery Data Acquisition webinar. No changes to the files.

Download
1.18.0

Updated description only. No file changes.

Download
1.17.0

Added a new webinar link to the description

Download
1.16.0

Updated a bad link to the parameter estimation video.

Download
1.15.0

Fixed an issue with temperature units on R2012b demos.

Download
1.14.0

Modified description only to add links to new publications.

Download
1.13.0

Updated the R2012b+ version of the models:
1. The shortcut block to open the custom library was broken
2. Use Kelvin temperature units within the Simscape model

There is a known bug in R2013a. Please see README.txt for info.

Download
1.12.0

R2012b folder with .SLX file format. Excluded R2012b +LiBatteryElements folder because it is a shipping demo.

ssc_lithium_cell_SDO_Project.mat parallel computing unchecked as default, due to a bug if the toolbox is not installed. See Readme.txt

Download
1.10.0

Added 80-cell battery pack model.

Download
1.6.0

Added link to demo video. Removed extraneous Simscape mex files. (Note: you will need to run "ssc_build LiBatteryElements" to build a machine-specific Simscape library for the battery building blocks.

Download
1.3.0

Updated copyright statement, link to webinar.

Download
1.1.0

n/a

Download
1.0.0

Download