Battery Electric Vehicle Model in Simscape

Version 2.6.0 (14.4 MB) by Isaac Ito
A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis
8.5K Downloads
Updated 16 Jun 2025
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.
FTP-75 drive cycle simulation
Plots of FTP-75 drive cycle simulation result
Use BEV Project Navigator App to quickly access some key files and tools.
Screenshot of BEV project navigator app
Use Vehicle1D Performance Design App to design the basic performance parameters of a road vehicle.
Screenshot of Vehicle1D performance design app
Use Motor Drive Unit Efficiency App for System Thermal Model to understand how the model parameters are affecting the motor efficiency.
Screenshot of MotorDriveUnit efficiency app
Use Motor Drive Unit App to select model and run simulation for the Motor Drive Unit.
Screenshot of MotorDriveUnit app
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.
Use the Download button to get the latest version for MATLAB R2025a
Main Live Script for BEV model
This script shows an example workflow to programmatically open model, run simulation, collect simulation data, visualize result, save data to text-format file, read saved data file, and analyze.
Try with Git Source Control
If you download a zip file of this project, the project does not include Git Source Control data. To add Git to it, read Using MATLAB Project page.
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 (2025). Battery Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.6.0), 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!

BEV

BEV/SimulationCases

BEV/Test

BEV/Utility

BEV/Utility/Configuration

BEV/Utility/LocalTasks

Components/BEVController

Components/BEVController/Harness

Components/BEVController/SimulationCases

Components/BEVController/Test

Components/BEVController/Utility/Configuration

Components/BEVController/Utility/LocalTasks

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Harness

Components/BatteryHighVoltage/SimulationCases

Components/BatteryHighVoltage/Test

Components/BatteryHighVoltage/Utility

Components/BatteryHighVoltage/Utility/Configuration

Components/BatteryHighVoltage/Utility/LocalTasks

Components/ControllerAndEnvironment

Components/ControllerAndEnvironment/Harness

Components/ControllerAndEnvironment/Harness/Components/Vehicle

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Harness

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Test

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Utility

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Utility/Configuration

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Utility/LocalTasks

Components/ControllerAndEnvironment/SimulationCases

Components/ControllerAndEnvironment/Test

Components/ControllerAndEnvironment/Utility

Components/ControllerAndEnvironment/Utility/Configuration

Components/ControllerAndEnvironment/Utility/LocalTasks

Components/MotorDriveUnit

Components/MotorDriveUnit/Model-Basic

Components/MotorDriveUnit/Model-Basic/SimulationCases

Components/MotorDriveUnit/Model-BasicThermal

Components/MotorDriveUnit/Model-BasicThermal/SimulationCases

Components/MotorDriveUnit/Model-SystemTable

Components/MotorDriveUnit/Model-SystemTable/SimulationCases

Components/MotorDriveUnit/Model-SystemThermal

Components/MotorDriveUnit/Model-SystemThermal/SimulationCases

Components/MotorDriveUnit/Utility-MDU

Components/Reducer

Components/Vehicle1D

Components/Vehicle1D/Model-Basic

Components/Vehicle1D/Model-Basic/SimulationCases

Components/Vehicle1D/Utility-Vehicle1D

Components/VehicleSpeedReference

Components/VehicleSpeedReference/SimulationCases

Components/VehicleSpeedReference/Utility

Components/VehicleSpeedReference/markdown

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Interface

Utility

Utility/+LiteApp5

Utility/+LiteApp5/+Component

Utility/+LiteApp5/+Graphics

Utility/+LiteApp5/+SimscapeUtility

Utility/+LiteApp5/+Utility

Utility/LocalTasks

Utility/SignalDesigner

Utility/SignalDesigner/+SignalDesignUtility

Utility/SignalDesigner/+SignalSourceBlockCallback

BEV

Components/BEVController

Components/BEVController/Harness

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Harness

Components/ControllerAndEnvironment

Components/ControllerAndEnvironment/Harness

Components/ControllerAndEnvironment/Harness/Components/Vehicle

Components/ControllerAndEnvironment/Harness/Components/Vehicle/Harness

Components/MotorDriveUnit

Components/MotorDriveUnit/Model-Basic

Components/MotorDriveUnit/Model-BasicThermal

Components/MotorDriveUnit/Model-SystemTable

Components/MotorDriveUnit/Model-SystemThermal

Components/Reducer

Components/Vehicle1D

Components/Vehicle1D/Model-Basic

Components/Vehicle1D/Model-Custom

Components/Vehicle1D/Utility-Vehicle1D

Components/VehicleSpeedReference

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Utility/SignalDesigner

BEV/SimulationCases

Components/BEVController/SimulationCases

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Model-TableBased

Components/BatteryHighVoltage/SimulationCases

Components/ControllerAndEnvironment/Harness/Components/Vehicle/SimulationCases

Components/ControllerAndEnvironment/SimulationCases

Components/MotorDriveUnit

Components/MotorDriveUnit/Model-Basic

Components/MotorDriveUnit/Model-Basic/SimulationCases

Components/MotorDriveUnit/Model-BasicThermal/SimulationCases

Components/MotorDriveUnit/Model-SystemTable/SimulationCases

Components/MotorDriveUnit/Model-SystemThermal

Components/MotorDriveUnit/Model-SystemThermal/SimulationCases

Components/Vehicle1D

Components/Vehicle1D/Model-Basic/SimulationCases

Components/VehicleSpeedReference/SimulationCases

DetailedModelApplications

DetailedModelApplications/MotorDrivePmsmFem

Utility/SignalDesigner

Version Published Release Notes
2.6.0

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

2.5.1

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

2.5.0

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

2.4.2

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

2.4.1

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

2.4.0

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

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

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

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.