Battery Pack Design Solution for Battery EVs in Simscape

Battery pack model for thermal management tasks, with modules of cells in series and parallel.
2.4K Downloads
Updated 18 Aug 2024
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
4. Battery Management System for State of Charge estimation
Shows how to use Kalman Filters (EKF) and predict battery state of charge.
5. Battery Temperature estimation using Neural Networks
Shows how to use Neural Networks to eliminate a sensor in the battery pack. Demonstrates a workflow to generate training data for neural networks, train the network, validate it and use for time-series prediciton, and code generation for hardware deployment.
Open batteryExamplesProjectSetup.prj to get started up the project path. The project shortcut buttons in the toolstrip open these three examples.
Use the links below to get files compatible with earlier releases of MATLAB.
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.
Try these free, hands-on tutorials to learn how to use Simscape:
To learn more about Simscape, visit the resources page for tutorials and examples:

Cite As

Steve Miller (2024). Battery Pack Design Solution for Battery EVs in Simscape (https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/24.1.1.5), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with R2020b to R2024a
Platform Compatibility
Windows macOS Linux
Categories
Find more on Propulsion and Power Systems in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
24.1.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/24.1.1.5

23.2.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/23.2.1.5

23.1.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/23.1.1.5
See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/23.1.1.5

22.2.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/22.2.1.5

22.1.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/22.1.1.5

21.2.1.4

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/21.2.1.4

21.2.1.3

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/21.2.1.3

21.1.1.4

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/21.1.1.4

21.1.1.2

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/21.1.1.2

20.2.1.4

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/20.2.1.4

20.2.1.1

See release notes for this release on GitHub: https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/20.2.1.1

20.2.1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.