Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mathworks/simscape-hybrid-electric-vehicle-model

A Power-Split Hybrid Electric Vehicle (HEV) model in Simscape
https://github.com/mathworks/simscape-hybrid-electric-vehicle-model

automotive electric-vehicles hybrid-vehicles matlab simscape simulation simulink stateflow

Last synced: 11 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Hybrid Electric Vehicle Model in Simscape™

[![View Hybrid Electric Vehicle Model in Simscape on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/92820-hybrid-electric-vehicle-model-in-simscape)

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][url_subref]
for an automotive application.
For a vehicle model that includes
more detailed supervisory and engine controllers,
please see the reference applications in
[Powertrain Blockset™][url_ptbsref].

[url_subref]:https://www.mathworks.com/help/simulink/ug/referenced-subsystem-1.html

[url_ptbsref]:https://www.mathworks.com/help/autoblks/powertrain-reference-applications.html

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](Utility/image_PowerSplitHEV_system_model.png)

![Plot of Simulation Result](Utility/image_simulation_results_ftp75.png)

## For MATLAB R2023a

Version 2.1 is available.

See the [change log](ChangeLog.md) 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.

- https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/archive/refs/tags/v1.6.1.zip

This version requires
[MATLAB](https://www.mathworks.com/products/matlab.html),
[Simulink®](https://www.mathworks.com/products/simulink.html),
[Simscape](https://www.mathworks.com/products/simscape.html),
[Simscape Driveline™](https://www.mathworks.com/products/simscape-driveline.html),
[Simscape Electrical™](https://www.mathworks.com/products/simscape-electrical.html),
[Stateflow®](https://www.mathworks.com/products/stateflow.html),
[Powertrain Blockset](https://www.mathworks.com/products/powertrain.html)
and optionally
[Parallel Computing Toolbox™](https://www.mathworks.com/products/parallel-computing.html).

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

- https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/tree/R2022b

## 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:

- https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/archive/refs/tags/v1.4.0.zip

R2021a, R2021b

- https://github.com/mathworks/Simscape-Hybrid-Electric-Vehicle-Model/archive/refs/tags/v1.2.0.zip

These versions require
[MATLAB](https://www.mathworks.com/products/matlab.html),
[Simulink®](https://www.mathworks.com/products/simulink.html),
[Simscape](https://www.mathworks.com/products/simscape.html),
[Simscape Driveline™](https://www.mathworks.com/products/simscape-driveline.html),
[Simscape Electrical™](https://www.mathworks.com/products/simscape-electrical.html),
[Stateflow®](https://www.mathworks.com/products/stateflow.html),
[Powertrain Blockset](https://www.mathworks.com/products/powertrain.html)
and optionally
[Parallel Computing Toolbox™](https://www.mathworks.com/products/parallel-computing.html).

## 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][url_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**.

[url_online]:https://www.mathworks.com/products/matlab-online.html

## Changes

See [`ChangeLog.md`](ChangeLog.md) for changes in each version.

## See Also

- [Battery Electric Vehicle Model in Simscape][url-gh-bev]

[url-gh-bev]: https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model#readme

## License

See [LICENSE.txt](LICENSE.txt)

_Copyright 2021-2023 The MathWorks, Inc._