image thumbnail

Hybrid Electric Vehicle Model in Simscape

version 1.0.0 (12.4 MB) by Isaac Ito
A Hybrid Electric Vehicle (HEV) model in Simscape

280 Downloads

Updated 25 May 2021

From GitHub

View license on GitHub

Hybrid Electric Vehicle Model in Simscape™

View Hybrid Electric Vehicle Model in Simscape on File Exchange

Version 1

Copyright 2021 The MathWorks, Inc.

https://www.mathworks.com/

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 components are managed in a MATLAB project and some components come with their own test setups.

Model Screenshot

Plot of Simulation Result

Tool Requirements

Supported MATLAB version: R2020b or newer releases

Required: MATLAB, Simulink®, Stateflow®, Powertrain Blockset, Simscape, Simscape Driveline™, Simscape Electrical™

How to Use

Open HybridElectricVehicle.prj in MATLAB, and it will automatically open the Live Script HEV_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 (2021). Hybrid Electric Vehicle Model in Simscape (https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/releases/tag/v1.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b 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/DriverAndEnvironment

Components/DriverHEVPowerSplit

Components/DrivingPatternBasic

Components/MotorDriveUnitBasic

Components/MotorDriveUnitBasic/utils

Components/MotorGenerator1Basic

Components/MotorGenerator1Basic/utils

Components/MotorGenerator2Basic

Components/MotorGenerator2Basic/utils

Components/PowerSplitDriveUnitBasic

Components/PowerSplitDriveUnitBasic/utils

Components/Vehicle1DBasic

Components/Vehicle1DBasic/utils

HEV

HEV/PowerSplitHEV_DirectInput

HEV/PowerSplitHEV_DirectInput/testcases2

HEV/PowerSplitHEV_DirectInput/utils

HEV/PowerSplitHEV_SpeedTracking

HEV/PowerSplitHEV_SpeedTracking/utils

utils

Components/DrivingPatternBasic

Components/DrivingPatternBasic/testcases

Components/MotorDriveUnitBasic

Components/MotorDriveUnitBasic/testcases

Components/MotorDriveUnitBasic/utils

Components/MotorGenerator1Basic

Components/MotorGenerator1Basic/testcases

Components/MotorGenerator2Basic

Components/MotorGenerator2Basic/testcases

Components/PowerSplitDriveUnitBasic

Components/PowerSplitDriveUnitBasic/testcases

Components/Vehicle1DBasic

Components/Vehicle1DBasic/testcases

Components/Vehicle1DBasic/utils

HEV/PowerSplitHEV_DirectInput

HEV/PowerSplitHEV_DirectInput/testcases

HEV/PowerSplitHEV_DirectInput/testcases2

HEV/PowerSplitHEV_SpeedTracking

HEV/PowerSplitHEV_SpeedTracking/drive_patterns

HEV/PowerSplitHEV_SpeedTracking/testcases

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.