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.
Use the "Download from GitHub" button above to get files compatible with the latest release of MATLAB.
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 this free, hands-on tutorial to learn how to use Simscape:
To learn more about Simscape, visit the resources page for tutorials and examples: