Hybrid Electric Vehicle Model in Simscape

Version 1.6.1.0 (10.9 MB) by Isaac Ito
A Hybrid Electric Vehicle (HEV) model in Simscape
1.2K Downloads
Updated 12 Jan 2023
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.
Requirements
This project requires MATLAB, Simulink®, Simscape, Simscape Driveline™, Simscape Electrical™, Stateflow®, Powertrain Blockset and optionally Parallel Computing Toolbox™.
Download Project
Version 1.6 is available for MATLAB R2022b.
Version 1.4 is available for MATLAB R2022a.
Version 1.2 is available for MATLAB R2021a and R2021b.
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
See LICENSE.txt.

Cite As

Isaac Ito (2024). Hybrid Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.6.1), 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

Components/BatteryHighVoltage/Harness

Components/BatteryHighVoltage/Test

Components/BatteryHighVoltage/Utility

Components/BatteryHighVoltage/Utility/Configuration

Components/BatteryHighVoltage/Utility/LocalTasks

Components/DrivePattern

Components/DrivePattern/harnessModels

Components/DrivePattern/test

Components/DrivePattern/utils

Components/Engine

Components/Engine/Harness

Components/Engine/Test

Components/Engine/Utility

Components/HEVPowerSplitControl

Components/HEVPowerSplitControl/MG2Controller/test

Components/HEVPowerSplitControl/MG2Controller/utils

Components/MotorDriveUnit

Components/MotorDriveUnit/Harness

Components/MotorDriveUnit/Test

Components/MotorDriveUnit/Utility

Components/MotorGenerator1

Components/MotorGenerator1/Harness

Components/MotorGenerator1/Test

Components/MotorGenerator1/Utility

Components/MotorGenerator2

Components/MotorGenerator2/Harness

Components/MotorGenerator2/Test

Components/MotorGenerator2/Utility

Components/PowerSplitDriveUnit

Components/PowerSplitDriveUnit/Harness

Components/PowerSplitDriveUnit/PowerSplitGeartrain

Components/PowerSplitDriveUnit/PowerSplitGeartrain/Harness

Components/PowerSplitDriveUnit/PowerSplitGeartrain/Test

Components/PowerSplitDriveUnit/PowerSplitGeartrain/Utility

Components/PowerSplitDriveUnit/Test

Components/PowerSplitDriveUnit/Utility

Components/Vehicle1D

Components/Vehicle1D/Harness

Components/Vehicle1D/Test

Components/Vehicle1D/Utility

HEV

HEV/PowerSplitHEV_DirectInput/test

HEV/PowerSplitHEV_DirectInput/utils

HEV/PowerSplitHEV_SpeedTracking/test

HEV/PowerSplitHEV_SpeedTracking/utils

HEV/test

HEV/utils

Interface

Test

Test/CheckProject

Utility

Utility/LocalTasks

Utility/SignalDesigner

Utility/SignalDesigner/+SignalDesignUtility

Utility/SignalDesigner/+SignalSourceBlockCallback

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Harness

Components/DcDcConverter

Components/DrivePattern

Components/DrivePattern/harnessModels

Components/Engine

Components/Engine/Harness

Components/HEVPowerSplitControl

Components/HEVPowerSplitControl/MG2Controller

Components/HEVPowerSplitControl/MG2Controller/harnessModels

Components/MotorDriveUnit

Components/MotorDriveUnit/Harness

Components/MotorGenerator1

Components/MotorGenerator1/Harness

Components/MotorGenerator2

Components/MotorGenerator2/Harness

Components/PowerSplitDriveUnit

Components/PowerSplitDriveUnit/Harness

Components/PowerSplitDriveUnit/PowerSplitGeartrain

Components/PowerSplitDriveUnit/PowerSplitGeartrain/Harness

Components/Vehicle1D

Components/Vehicle1D/Harness

HEV

HEV/PowerSplitHEV_DirectInput

HEV/PowerSplitHEV_SpeedTracking

Utility/SignalDesigner

Components/BatteryHighVoltage

Components/BatteryHighVoltage/Model-TabledBased

Components/BatteryHighVoltage/SimulationCases

Components/DrivePattern

Components/DrivePattern/testcases

Components/Engine/TestCases

Components/MotorDriveUnit/TestCases

Components/MotorGenerator1/TestCases

Components/MotorGenerator2/TestCases

Components/PowerSplitDriveUnit/PowerSplitGeartrain/TestCases

Components/PowerSplitDriveUnit/TestCases

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

Utility/SignalDesigner

Version Published Release Notes
1.6.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.6.1

1.6.0.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.6.0

1.4.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.4.0

1.3.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.3.2

1.3.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.3.1

1.3.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.3.0

1.2.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.2.0

1.1.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.1.2

1.1.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.1.1

1.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/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.