Project 1
Create a Stateflow or Simulink model for the following flowchart.
Load the .mat file into the workspace.
The input to the model would be the power demand.
The output should be:
- Fuel cell power
- Battery power
- FC Operating state (running, standby)
Create plot of these outputs against time.
(Note- The Simulink model file should be compulsorily attached)
Objective:
To create a Simulink model for the flowchart shown and to plot the graph for fuel cell power, battery power, and Fuel Cell operating state according to the power demand obtained from the mat file.
To model the flowchart, we have to assume the minimum and maximum values of power demand for fuel cells and batteries. The minimum power demand for the fuel cell is considered 100W and the maximum power demand is 1000 Watts.
Therefore, as per the flow chart, all the power demand between 100 and 1000 will be supplied by the fuel cell and other power demands will be supplied by the battery. The below tabular column shows a clear picture.
The values are assumptions and can be changed.
|
Power demand |
Supplied by |
|
0-100 |
Battery |
|
101-1000 |
Fuel cell |
|
1001-1200 |
Battery |