File Exchange

image thumbnail

Battery Pack Design Solution for Battery EVs in Simscape

version (4.72 MB) by Steve Miller
Battery pack model for thermal management tasks, with modules of cells in series and parallel.


Updated 23 Feb 2021

From GitHub

View Version History

View license on GitHub

This repository shows use of Simscape to model an electric vehicle battery pack. There are three examples:

1. Battery Pack Thermal Management
Shows how to model an automotive battery pack for thermal management tasks.

2. Full Vehicle Thermal Management
Shows a BEV full vehicle thermal management with a detailed battery model.

3. Workflow from Module Design to Full Pack
Demonstrates a workflow to go from a detailed battery module design to a real-time pack plant model

Open batteryExamplesProjectSetup.prj to get started up the project path. The project shortcut buttons in the toolstrip open these three examples.

All examples have a battery-module custom component that is based on Simscape Electrical Battery (Table-Based) block for modeling battery behavior. Please visit the Simscape Electrical page to learn more about modeling electrical systems.

To learn more about Simscape, visit the resources page for tutorials and examples:

Cite As

Steve Miller (2021). Battery Pack Design Solution for Battery EVs in Simscape (, GitHub. Retrieved .

Comments and Ratings (5)

Ramana Anchuri

Kameswara Prakash

Hi, I am getting an error " failed to generate batterymodule_lib" kindly help to solve

Graham Dudgeon


MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!