Updated 3 Jun 2021
Javier Gazzarri (2023). Battery Modeling (https://www.mathworks.com/matlabcentral/fileexchange/36019-battery-modeling), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Industries > Automotive > Green Vehicles >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Sources >
- Control Systems > Simulink Design Optimization >
- Engineering > Aerospace Engineering > Propulsion and Power Systems >
Inspired by: Automotive Electrical System Simulation and Control
Inspired: Automotive Electrical System Simulation and Control
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Updated description with mention of the tools needed for physical modeling
Demos use new battery cell block
This version uses the new battery cell block and incorporates new SOC and SOH workflows
Fixed incompatibilities with new Simscape(TM) unit system
Updated link to: SAE 2014: Battery Pack Modeling, Simulation, and Deployment on a Multicore Real Time Target
updated links in description only
Corrected webinar links
Added acknowledgement for other entry - electrical system simulation
Description updated - added a link to the Battery Data Acquisition webinar. No changes to the files.
Updated description only. No file changes.
Added a new webinar link to the description
Updated a bad link to the parameter estimation video.
Fixed an issue with temperature units on R2012b demos.
Modified description only to add links to new publications.
Updated the R2012b+ version of the models:
There is a known bug in R2013a. Please see README.txt for info.
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
Added 80-cell battery pack model.
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.
Updated copyright statement, link to webinar.