Simulation App For A Hybrid Electric Vehicle
Updated 06 Apr 2022
This project contains a simulation dashboard GUI for a customized version of the HEV P4 Reference Application Simulink® model that ships with the Powertrain Blockset™ software. The user configures input parameters such as the drive cycle, environment variables (temperature, pressure, wind speed, grade), vehicle-related parameters (engine type, battery SOC, wheel radius, etc.), then runs a simulation. The results can be displayed in the app while the simulation is running, exported, loaded, and compared with those from a previous simulation. A report of the simulation can be generated using MATLAB® Report Generator™. The app can be deployed as a standalone desktop app or as a web app using MATLAB Compiler™ and Simulink Compiler™. Watch the video "App_Presentation.mp4" to learn additional details.
To run the app, follow these steps:
- Open the MATLAB project "HEVProject.prj"
- Open "HEVApp.mlapp" in App Designer (e.g., via the project shortcut)
- Run application
Note: The first time the simulation is run from the app code will be generated, so longer execution times are expected.
- Powertrain Blockset™
- MATLAB Report Generator™
- Simulink Compiler™
The license for Simulation App For A Hybrid Electric Vehicle is available in the license.txt file in this GitHub repository.
Copyright 2021-2022 The MathWorks, Inc.
Gianluca Carnielli (2022). Simulation App For A Hybrid Electric Vehicle (https://github.com/mathworks/hev-p4-app/releases/tag/v2.2.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!