Version 2.6
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.
The abstract 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 (PMSM) and controller. It captures the detailed behaviors of the AC motor drive unit and can estimate the electrical efficiency at the unit level.
A Live Script demonstrates how to obtain the electrical efficiency from the slow but detailed motor drive unit and use the result as the block parameter of the simple but fast motor drive block in the BEV model.
Use BEV Project Navigator App to quickly access some key files and tools.
Use Vehicle1D Performance Design App to design the basic performance parameters of a road vehicle.
Use Motor Drive Unit Efficiency App for System Thermal Model to understand how the model parameters are affecting the motor efficiency.
Use Motor Drive Unit App to select model and run simulation for the Motor Drive Unit.
- The project has been updated to MATLAB R2025a with some clean ups.
- Some Live Scripts have been converted to
the new plain text Live Code file format (
.m
) which works well with source control. - Past What's New contents up to version 2.4 have been moved to
ChangeLog.md
.
BEV Project
- The BEV Project Navigator app has been updated.
Motor Drive Unit component
- The folder organization of the component has been updated. Different models are stored in different folders. Related files for a model such as test scripts and apps are put in the same folder.
- Motor Drive Unit Efficiency apps have been added to the Basic model and the System Thermal model.
- Motor Drive Unit App has been added to help select MDU model and simulation case.
- The Build Tool is used to check code and run tests.
Vehicle1D component
- The folder organization of the component has been updated.
- Vehicle1D Performance Design app has been updated.
- The Build Tool is used to check code and run tests.
See Change Log for more details.
Supported MATLAB Version: R2025a or newer releases
Required: MATLAB, Simulink®, Powertrain Blockset, Simscape, Simscape Driveline™, Simscape Electrical™
Optional: MATLAB Test, Parallel Computing Toolbox™
Open BatteryElectricVehicle.prj
in MATLAB, and
it will automatically open the project main page BEV_main_script.html
.
The script contains the description of the model and
hyperlinks to models and scripts.
You can try this in MATLAB Online. In MATLAB Online, from the HOME tab in the toolstrip, select Add-Ons > Get Add-Ons to open the Add-On Explorer. Then search for the submission name, navigate to the submission page, click Add button, and select Save to MATLAB Drive.
Hybrid Electric Vehicle Model in Simscape provides an abstract power-split HEV model. The level of abstraction is similar to this BEV model in Simscape project.
Electric Vehicle Design with Simscape provides BEV design workflows using detailed models for detailed analysis. Note that the BEV model in Simscape project (the current project you are viewing) is focused on vehicle system-level applications using abstract models.
See license.txt
.
Copyright 2020-2025 The MathWorks, Inc.