image thumbnail

Fuel Cell Vehicle Model in Simscape

version (1.07 MB) by Steve Miller
Fuel cell electric vehicle with battery model and cooling system.


Updated 18 May 2021

From GitHub

View license on GitHub

This example shows a fuel cell powertrain modeled in Simscape. A single fuel cell stack in parallel with a battery powers a single motor that propels the vehicle. The fuel cell is modeled using a custom domain to track the different species of gas that are used in the fuel cell. The vehicle can be tested on custom drive cycles or using the Drive Cycle Source from Powertrain Blockset.
Open the project Fuel_Cell_Vehicle.prj to get started.
The download button will let you access files compatible with the latest release (R2021a).
Use these hyperlinks to access versions from earlier releases.
* For R2021a: Click on "Download from GitHub" button above.
* For R2020b: GitHub Release zip file
This video, "Getting Started with Simscape" explains the purpose of the model and introduces you to modeling with Simscape:
Additional Simscape Resources
* Free, hands-on tutorial to learn how to use Simscape: Simscape Onramp
* Tutorials and examples: Simscape Resource Page

Cite As

Steve Miller (2021). Fuel Cell Vehicle Model in Simscape (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R2020b to R2021a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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.