Göm meny

Hand in assignment 4

This task is not mandatory but gives points for higher grades.

Downloads

  • mkPlots.m. Observe that you need some data files that is available in QSS to run this script.
  • A basic vehicle model called OrdinaryVehicle.mdl.
If limitations are in some of the components in model are not fulfilled the simulation stops. To get information about if the simulation is completed or not, the following code may be added in your model at 'File -> Model Proerties -> Callbacks -> Stop function' (it is allready included in OrdinaryVehicle.mdl):
if t(end)==str2num(get_param(char(bdroot(gcb)),'StopTime'))
msgbox('Simulation completed.')
elseif exist('engine_limit') && engine_limit(end)==1
msgbox('Simulation aborted due to limitation in the engine.','','error')
elseif exist('em_limit') && em_limit(end)==1
msgbox('Simulation aborted due to limitation in the electric machine.','','error')
elseif exist('gen_limit') && gen_limit(end)==1
msgbox('Simulation aborted due to limitation in the generator.','','error')
elseif exist('sc_limit') && sc_limit(end)==1
msgbox('Simulation aborted due to limitation in the super capacitor.','','error')
elseif exist('batt_limit') && batt_limit(end)==1
msgbox('Simulation aborted due to limitation in the battery.','','error')
else
msgbox('Simulation aborted due to limitation in one of the components.','','error')
end

FAQ

  • We are supposed to calculate the maximum velocity and acceleration for the ordinary vehicle. Is this the top speed in the drive cycle or for the vehicle?
    You are supposed to roughly estimate the top speed and acceleration of the vehicle. You are free to make appropriate assumptions, but make sure your results are reasonable. The modified vehicle does not have to have the same performance, but you should reflect on the difference regarding this.
  • Which driving cycle is to be used in this assignment?
    You are free to choose driving cycle. It is recommended to compare different cycles to analyse the performance of the developed vehicles in different driving situations. NEDC is a well known driving cycle that has been used earlier in this course.

Informationsansvarig: Lars Eriksson
Senast uppdaterad: 2014-10-31