Hybrid Electric Vehicle Model in Simscape

version 1.4.0 (15.3 MB) by Isaac Ito
A Hybrid Electric Vehicle (HEV) model in Simscape

719 Downloads

Updated 28 Jun 2022

From GitHub

View License on GitHub

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.4 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.
To develop with git, add git in the Source Control of the MATLAB Project.
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 includes MATLAB Project but 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-OnsGet 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.
License

Cite As

Isaac Ito (2022). Hybrid Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.4.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R2021a 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!

Components/BatteryHighVoltage/harnessModels

Components/BatteryHighVoltage/test

Components/BatteryHighVoltage/utils

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

Interface

test

utils

Components

Components/BatteryHighVoltage

Components/BatteryHighVoltage/harnessModels

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/BatteryHighVoltage

Components/BatteryHighVoltage/testcases

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

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.