Challenge

Project 1

AIM:-

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

  1. Fuel cell power
  2. Battery power
  3. FC Operating state (running, standby)

Create plot of these outputs against time.

Simulink model:-

signal bulider wave:-

The Interval test block are used for setting the limits of the Fc minimum maximum and operation region the limits are been set as discussed avbove then as per logic the switch block are been set and the output is been connected to FC or battery as mentioned in flowchart

Signal Builder profile is as shown below:-

sub system block:-

The signal builder block is used as the input to give teh power demand required by the vehicle the simulation is been run for 593 sec. and the output such as FC power Battey power and FC status are been studied by connecting it to the scope

if we look inside the logic block of the simulink the model ias as shown below:-

As shown in the above flowchart there are two power sources mention as fuel cell and Battery

The logic which is been told to develop in this is that if the power demand from the vehicle is less than the minimum FC power than the FC must go on standby and the power should be supplied from the battery storage system and if the power demand is greater than the min FC power than the FC should be used and if the power demand of vehicle is force than the max power of FC then the battery should supply the power

The simulink model is been developed for this as shown below.

For this the min FC Power is kept between 0 to 100w

Operating region of FC is 100 to 3003

and max power demand is set till 300 to 593w.

OUTPUT results :-

From the results its clear that the logic which is been developed is full proof and working proper as per the logic defined we can even see that when the FC is in opeartion the FC status is been showed as when its on the FC status is turned as 1 and when off its as shown 0

As in Signal buiilder for 0 to 100 sec the power demand is between 0-100w and from 100-300 sec the power demnad is in between 100-300and for rest to the time its above 593w so respectivley first the battery should provide the power at the same time the FC should be at standby and when the power demand is greater than min FC power then Fc should be used and if the power demand exceeds max FC power then battery should be switched back.

Result scope displaying FC power, Battery power, fuel cell status and actual power demand.

CONCLUSION:-

Hence,the simulation has been verified

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.