Home

Awesome

Battery Electric Vehicle Model in Simscape™

View Battery Electric Vehicle Model in Simscape on File Exchange

Version 2.4

Introduction

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.

<img src="BEV/Utility/Images/BEV_system_model_screenshot.png" alt="Screenshot of the battery electric vehicle model" width="700">

<img src="BEV/results/BEV_SimulationResultPlot.png" alt="Screenshot of the simulation result plots" width="700">

<img src="Components/Vehicle1D/Utility/Images/screenshot_Vehicle1DPerformanceDesignApp.png" alt="Screenshot of the longitudinal vehicle performance design app" width="700">

What's New in 2.4 (November, 2024)

What's New in 2.3 (June, 2024)

What's New in 2.2 (September, 2023)

What's New in 2.1 (March, 2023)

See Change Log for more details.

What's New in 2.0 (February, 2023)

See Change Log for more details.

Tool Requirements

Supported MATLAB Version: R2024b or newer releases

Required: MATLAB, Simulink®, Powertrain Blockset, Simscape, Simscape Driveline™, Simscape Electrical™

Optional: MATLAB Test, Parallel Computing Toolbox™

How to Use

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.

How to Use in MATLAB Online

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.

Additional Notes

See Also

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.

License

See license.txt.

Copyright 2020-2024 The MathWorks, Inc.