Back to Trending
RepositoryHTML
mathworks

mathworks/Simscape-Hybrid-Electric-Vehicle-Model

A Power-Split Hybrid Electric Vehicle (HEV) model in Simscape

82stars
18forks
0issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: stateflow

#1 Repository of the week

1
TINIX TRENDING·Topic: hybrid-vehicles

#1 Repository of the week

1
TINIX TRENDING·Topic: electric-vehicles

#1 Repository of the week

Hybrid Electric Vehicle Model in Simscape™

View Hybrid Electric Vehicle Model in Simscape on File Exchange

Version 2.1

Introduction

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.

Model Screenshot

Plot of Simulation Result

For MATLAB R2023a

Version 2.1 is available.

See the change log for the details.

For MATLAB R2022b

Version 1.6 is available.

You can download the ZIP archive of the project from the link below. It does not include Git repository data.

This version requires MATLAB, Simulink®, Simscape, Simscape Driveline™, Simscape Electrical™, Stateflow®, Powertrain Blockset and optionally Parallel Computing Toolbox™.

You can also fork or clone the repository. Note that the latest repository may be ahead of the released version and potentially broken.

For previous MATLAB releases

You can download the ZIP archive of the project from the links below. It does not include Git repository data.

R2022a:

R2021a, R2021b

These versions require MATLAB, Simulink®, Simscape, Simscape Driveline™, Simscape Electrical™, Stateflow®, Powertrain Blockset and optionally Parallel Computing Toolbox™.

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

See ChangeLog.md for changes in each version.

See Also

License

See LICENSE.txt

Copyright 2021-2023 The MathWorks, Inc.

Similar Projects

Discover other similar projects and AI models.

RepositoryMATLAB
mathworks/Simscape-Battery-Electric-Vehicle-Model

A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis

164
Aug 20, 2026
RepositoryHTML
matlab/simulink-agentic-toolkit

The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

1.4k
Nov 25, 2026
RepositoryHTML
mathworks/Quadcopter-Drone-Model-Simscape

Quadcopter with multibody, electrical and thermal models follows a path to deliver a package.

135
May 18, 2026
RepositoryC++
JSBSim-Team/jsbsim

An open source flight dynamics & control software library

2.4k
Nov 29, 2026
RepositoryMATLAB
mathworks/awesome-matlab-students

An awesome list of helpful resources for students learning MATLAB & Simulink. List includes tips & tricks, tutorials, videos, cheat sheets, and opportunities to learn MATLAB & Simulink.

780
Nov 17, 2026
RepositoryMATLAB
mohammadrezwankhan/matlab-simulink-energy-lab

Run reduced-order battery, thermal, converter and BESS control models with transparent equations and repeatable testing.

383
Nov 23, 2026
RepositoryMATLAB
mathworks-robotics/modeling-and-simulation-of-an-AUV-in-Simulink

This repository contains a variety of demonstration example models associated with the Design, Modeling and Simulation of Autonomous Underwater Vehicles webinar and video series.

119
May 14, 2021
RepositoryMATLAB
MathWorks-Teaching-Resources/Virtual-Controls-Laboratory

Virtual labs and mechanisms for studying controls.

109
Nov 4, 2026
RepositoryMATLAB
mathworks-robotics/designing-robot-manipulator-algorithms

MATLAB and Simulink files for modeling and simulation of ROBOTIS OpenManipulator

59
Oct 14, 2025