Simulation App For A Hybrid Electric Vehicle
Simulation App For A Hybrid Electric Vehicle
Description
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.
Required Products
- Powertrain Blockset™
- MATLAB
- Simulink
- MATLAB Report Generator™
- Stateflow®
- Simulink Compiler™
License
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.
Cite As
Gianluca Carnielli (2024). 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 Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
shortcuts
src
HEVP4/main/Controller/Powertrain
HEVP4/main/Plant
HEVP4/main/System
HEVP4/refs/SI Engine/Controller
HEVP4/refs/SI Engine/Plant
Version | Published | Release Notes | |
---|---|---|---|
2.2.1 | See release notes for this release on GitHub: https://github.com/mathworks/hev-p4-app/releases/tag/v2.2.1 |
||
2.2.0 | See release notes for this release on GitHub: https://github.com/mathworks/hev-p4-app/releases/tag/v2.2.0 |
||
1.1.0 | See release notes for this release on GitHub: https://github.com/mathworks/hev-p4-app/releases/tag/v1.1.0 |
||
1.0.0 |