Battery Pack Design Solution for Battery EVs in Simscape
Version 25.2.1.5 (29,7 Mo) par
Steve Miller
Battery pack model for thermal management tasks, with modules of cells in series and parallel.
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.
- For R2025b: Use Download button
- For R2025a: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/25.1.1.5.zip
- For R2024b: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/24.2.1.5.zip
- For R2024a: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/24.1.1.5.zip
- For R2023b: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/23.2.1.5.zip
- For R2023a: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/23.1.1.5.zip
- For R2022b: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/22.2.1.5.zip
- For R2022a: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/22.1.1.5.zip
- For R2021b: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/21.2.1.4.zip
- For R2021a: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/21.1.1.4.zip
- For R2020b: https://github.com/mathworks/Battery-Pack-Model-Simscape/archive/20.2.1.4.zip
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:
- https://www.mathworks.com/learn/tutorials/simscape-onramp.html
- https://www.mathworks.com/learn/tutorials/circuit-simulation-onramp.html
To learn more about Simscape, visit the resources page for tutorials and examples:
Citation pour cette source
Steve Miller (2026). Battery Pack Design Solution for Battery EVs in Simscape (https://github.com/mathworks/Battery-Pack-Model-Simscape/releases/tag/25.2.1.5), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2025b
Compatible avec les versions R2020b à R2025b
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Propulsion and Power Systems dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
