Battery Electric Vehicle Model in Simscape

Version 2.2.2 (21.6 MB) by Isaac Ito
A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis
6.2K Downloads
Updated 16 Dec 2023
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.
Watch YouTube video introducing the model: https://www.youtube.com/watch?v=i07MNXZc42c
See Also
The BEV model of this project is primarily for the vehicle system-level analysis. For detailed model applications, please see a new File Exchange entry:

Cite As

Isaac Ito (2024). Battery Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v2.2.2), 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/Test

BEV/Utility

BEV/Utility/Configuration

BEV/Utility/LocalTasks

Components/BEVController

Components/BEVController/Harness

Components/BEVController/Test

Components/BEVController/Utility/Configuration

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Harness

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

Components/ControllerAndEnvironment/Utility

Components/ControllerAndEnvironment/Utility/Configuration

Components/MotorDriveUnit

Components/MotorDriveUnit/Harness

Components/MotorDriveUnit/Test

Components/MotorDriveUnit/Utility

Components/MotorDriveUnit/Utility/Configuration

Components/Reducer

Components/Vehicle1D

Components/Vehicle1D/Custom

Components/Vehicle1D/Custom/+Vehicle1DUtility

Components/Vehicle1D/Harness

Components/Vehicle1D/Test

Components/Vehicle1D/Utility

Components/Vehicle1D/Utility/Configuration

Components/VehicleSpeedReference/Test

Components/VehicleSpeedReference/Utility

Components/VehicleSpeedReference/Utility/Configuration

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Interface

Test

Test/CheckProject

Utility

Utility/Checks

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

Components/VehicleSpeedReference/Harness

DetailedModelApplications/MotorDrivePmsmFem

DetailedModelApplications/MotorPmsmFem

Utility/SignalDesigner

BEV

BEV/SimulationCases

Components/BEVController/SimulationCases

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Model-TabledBased

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/VehicleSpeedReference/SimulationCases

DetailedModelApplications

DetailedModelApplications/MotorDrivePmsmFem

Test/CheckProject

Utility

Utility/SignalDesigner

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