Battery Electric Vehicle Model in Simscape

Version 2.4.0 (12.3 MB) by Isaac Ito
A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis
7.6K Downloads
Updated 20 Nov 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.
Use the Download button to get the latest version for MATLAB R2024b
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 (2024). Battery Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.4.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/Harness

Components/MotorDriveUnit/SimulationCases

Components/MotorDriveUnit/Test

Components/MotorDriveUnit/Utility

Components/MotorDriveUnit/Utility/Configuration

Components/MotorDriveUnit/Utility/LocalTasks

Components/Reducer

Components/Vehicle1D

Components/Vehicle1D/Custom

Components/Vehicle1D/Custom/+Vehicle1DUtility

Components/Vehicle1D/Harness

Components/Vehicle1D/SimulationCases

Components/Vehicle1D/Test

Components/Vehicle1D/Utility

Components/Vehicle1D/Utility/Configuration

Components/Vehicle1D/Utility/LocalTasks

Components/VehicleSpeedReference

Components/VehicleSpeedReference/SimulationCases

Components/VehicleSpeedReference/Utility

Components/VehicleSpeedReference/markdown

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Interface

Test

Test/CheckProject

Utility

Utility/Checks

Utility/LiteAppAPI-v2-R2023b

Utility/LiteAppAPI-v2-R2023b/+LiteAppComponent

Utility/LiteAppAPI-v2-R2023b/+LiteAppUtility

Utility/LocalTasks

Utility/SignalDesigner

Utility/SignalDesigner/+SignalDesignUtility

Utility/SignalDesigner/+SignalSourceBlockCallback

Utility/TestTools

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/Harness

Components/Reducer

Components/Vehicle1D

Components/Vehicle1D/Custom

Components/Vehicle1D/Harness

Components/VehicleSpeedReference

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Utility/SignalDesigner

BEV

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/Notes-Efficiency

Components/MotorDriveUnit/SimulationCases

Components/Vehicle1D/Custom/+Vehicle1DUtility

Components/Vehicle1D/SimulationCases

Components/Vehicle1D/Utility

Components/VehicleSpeedReference/SimulationCases

DetailedModelApplications

DetailedModelApplications/MotorDrivePmsmFem

Test/CheckProject

Utility

Utility/SignalDesigner

Version Published Release Notes
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.