Battery Electric Vehicle Model in Simscape

Version 2.3.3 (12.5 MB) by Isaac Ito
A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis
7K Downloads
Updated 1 Aug 2024
This is a MATLAB Project containing a Battery Electric Vehicle (BEV) model and its components such as motor, high voltage battery, and longitudinal vehicle. This project demonstrates Simscape's modular and multi-fidelity modeling technology.
Plots of simulation result
The BEV model is built in a simple and modular fashion, and it can run faster than real-time. It is suitable as a baseline model for drive cycle simulation to estimate vehicle's electrical efficiency and other vehicle-level information.
This project also contains the model of a detailed permanent magnet synchronous motor and controller. It runs slower than real-time, but it captures the detailed behaviors of the AC motor drive unit and can estimate the electrical efficiency at the unit level.
A Live Script for a detailed motor drive unit demonstrates how to obtain the electrical efficiency from the detailed motor drive unit and use the result as the block parameter of the abstract motor drive block in the BEV model.
Try with Git Source Control
If you download this project with the Download button in this page, the project does not include Git Source Control data.
To use this project with Git, open MATLAB in your machine, create a folder where you want to have the project, and then in the HOME tab, navigate New > Project > From Git. A pop-up window (New Project From Source Control) will open. Then copy the following URL to the Repository path.
  • https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model.git
Click the folder icon for Sandbox, and select the folder you created.
Click Retrieve. This will start cloning the repository from GitHub.
For information about Git in MATLAB, see the documentation.
Try in MATLAB Online
You can use this project in MATLAB Online.
Go to MATLAB Online page: https://matlab.mathworks.com/
Click "Open MATLAB Online" to start a MATLAB session in the browser.
In MATLAB Online, select the HOME tab and click "Add-Ons" in the toolstrip. Add-On Explorer window will open. In Add-On Explorer, search "Battery Electric Vehicle in Simscape" and follow navigations. If it is already installed, you will see the "Installed" badge in the search result.
Once you installed, the project can be found in MATLAB at
  • /MATLAB Add-Ons/Collections/Battery Electric Vehicle Model in Simscape
To open the project, in the Files window of MATLAB Online, click the BatteryElectricVehicle.prj file.

Cite As

Isaac Ito (2024). Battery Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.3.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.3.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.3.3

2.3.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.3.2

2.3.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.3.1

2.3.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.3.0

2.2.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.2.2

2.2.0.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.2.0

2.1.2.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.1.2

2.1.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.1.1

2.1.0.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.1.0

2.0.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.0.1

2.0.0.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.0.0

1.2.2.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.2.2

1.2.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.2.1

1.2.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.2.0

1.1.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.1.1

1.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.1.0

1.0.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.