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 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 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
Isaac Ito (2021). Battery Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/releases/tag/v1.1.1), GitHub.