Copyright 2020 The MathWorks(TM), Inc.
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.
Please visit the Simscape Fluids page to learn more about modeling fluid systems.