Week 7 Challenge
Week:8 (fuel cell)
Load the vehicle parameters. Complete the vehicle model by modelling the remaining equations. Set simulation stop time to 598 sec. the output should be the vehicle velocity.
Aim: To model the vehicle body using driver block, traction force, vehicle dynamics.
Blocks used: constants, Integrator, Saturation, terminator memory, add, product
We need to create a separate subsystem for the driver block, total resistance block, vehicle model block.
This resistance force includes rolling resistance, aerodynamic drag force, hill climbing force.
Rolling resistance Fr=m*g*U-res*cos(theta)
Aerodynamic drag force Fa=(1/2)*Af*adc*cd*v^2
Hill climbing is also called as gradability, Fg=m*g*U-res*sin(theta)
By using all the information now we need to model the vehicle as below
Simulink model:

Driver block:

Vehicle model:

Result:
