Hybrid Electric Vehicle Model in Simscape
version 1.3.2 (18.2 MB) by
Isaac Ito
A Hybrid Electric Vehicle (HEV) model in Simscape
Hybrid Electric Vehicle Model in Simscape™
This example includes a Hybrid Electric Vehicle model in Simscape™, demonstrating some new features of the recent releases of MATLAB® and featuring Subsystem Reference which enables modular physical modeling workflow.
The model includes an abstract Power-Split Hybrid Electric Vehicle (HEV) model with a simple rule-based controller for speed tracking simulation. It can be used to better understand how to work with Subsystem Reference for an automotive application. For a vehicle model that includes more detailed supervisory and engine controllers, please see the reference applications in Powertrain Blockset™.
The included abstract model is suitable for the system level simulation of longitudinal vehicle behavior as it runs faster than real time. The model consists of components such as motor, engine, power-split device, and so on, and they are built in a modular manner using Subsystem Reference and Simscape product family demonstrating a workflow where physical components are built and tested individually and also they can be easily integrated into a complete vehicle system model.
The HEV model and its component files are managed by a MATLAB project and some components come with their own test setups.
For MATLAB R2022a
The latest version 1.3 is available.
This version requires MATLAB, Simulink®, Simscape, Simscape Driveline™, Simscape Electrical™, Stateflow®, Powertrain Blockset and optionally Parallel Computing Toolbox™.
Download Project - This includes MATLAB Project but does not include Git repository data.
Fork or clone the repository - You can continue development in git, but the repository size is larger than the zip archive because the zip does not include the repository data.
For MATLAB R2021a and R2021b
Version 1.2, which is in maintenance mode, is available.
This version requires MATLAB, Simulink®, Simscape, Simscape Driveline™, Simscape Electrical™, Stateflow®, Powertrain Blockset and optionally Parallel Computing Toolbox™
Download Project - This does not include Git repository data.
How to Use
Open HybridElectricVehicle.prj in MATLAB, and it will automatically open the Live Script HEVProject_main_script.mlx. 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.
Changes
License
Cite As
Isaac Ito (2022). Hybrid Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.3.2), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with R2021a and later releases
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.
Components/DrivePattern
Components/DrivePattern/harnessModels
Components/DrivePattern/test
Components/DrivePattern/utils
Components/Engine/+EngineUtility
Components/Engine/harnessModels
Components/Engine/test
Components/Engine/utils
Components/HEVPowerSplitControl
Components/HEVPowerSplitControl/MG2Controller/test
Components/HEVPowerSplitControl/MG2Controller/utils
Components/MotorDriveUnitBasic
Components/MotorDriveUnitBasic/utils
Components/MotorGenerator1Basic
Components/MotorGenerator1Basic/utils
Components/MotorGenerator2Basic
Components/MotorGenerator2Basic/utils
Components/PowerSplitDriveUnit/harnessModels
Components/PowerSplitDriveUnit/test
Components/PowerSplitDriveUnit/utils
Components/Vehicle1D/+Vehicle1DUtility
Components/Vehicle1D/harnessModels
Components/Vehicle1D/test
Components/Vehicle1D/utils
HEV
HEV/PowerSplitHEV_DirectInput/test
HEV/PowerSplitHEV_DirectInput/utils
HEV/PowerSplitHEV_SpeedTracking/test
HEV/PowerSplitHEV_SpeedTracking/utils
HEV/test
HEV/utils
test
utils
Components
Components/BatteryHighVoltage
Components/ComponentsForTest
Components/DcDcConverter
Components/DrivePattern
Components/DrivePattern/harnessModels
Components/Engine
Components/Engine/harnessModels
Components/HEVPowerSplitControl
Components/HEVPowerSplitControl/MG2Controller
Components/HEVPowerSplitControl/MG2Controller/harnessModels
Components/MotorDriveUnitBasic
Components/MotorGenerator1Basic
Components/MotorGenerator2Basic
Components/PowerSplitDriveUnit
Components/PowerSplitDriveUnit/harnessModels
Components/Vehicle1D
Components/Vehicle1D/harnessModels
HEV
HEV/PowerSplitHEV_DirectInput
HEV/PowerSplitHEV_SpeedTracking
Components/DrivePattern
Components/DrivePattern/testcases
Components/Engine
Components/MotorDriveUnitBasic
Components/MotorDriveUnitBasic/testcases
Components/MotorDriveUnitBasic/utils
Components/MotorGenerator1Basic
Components/MotorGenerator1Basic/testcases
Components/MotorGenerator2Basic
Components/MotorGenerator2Basic/testcases
Components/PowerSplitDriveUnit
Components/PowerSplitDriveUnit/testcases
Components/Vehicle1D
Components/Vehicle1D/+Vehicle1DUtility
Components/Vehicle1D/testcases
Components/Vehicle1D/utils
HEV
HEV/PowerSplitHEV_DirectInput
HEV/PowerSplitHEV_DirectInput/testcases
HEV/PowerSplitHEV_SpeedTracking
HEV/PowerSplitHEV_SpeedTracking/drive_patterns
HEV/PowerSplitHEV_SpeedTracking/testcases
HEV/utils
test
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.