Simulation App For A Hybrid Electric Vehicle

GUI developed with App Designer for the Simulink model "HEV P4 Reference Application". The app can be deployed as a standalone or web app.
794 Downloads
Updated 6 Apr 2022

Simulation App For A Hybrid Electric Vehicle

Open in MATLAB Online

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:

  1. Open the MATLAB project "HEVProject.prj"
  2. Open "HEVApp.mlapp" in App Designer (e.g., via the project shortcut)
  3. 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
Created with R2022a
Compatible with R2022a 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!
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

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.