This submission contains a Simulink block that can produce several different standard driving cycles used for automotive emissions, range and energy consumption testing. Using this block might save time and effort - I am sharing it to speed up student simulation classes and projects.
At present, the block represents the following cycles: NEDC, Artemis, WLTP Class 3, UDDS, FTP and HWFET. It could easily be extended to provide more.
If you download this as a zip archive, you will need to unzip this and save the files on your computer. After that, you may need to use the 'install.m' script to make sure all the toolbox directories are on your MATLAB search path.
Anyone is using it with the Powertrain Blockset? I am and I am using the NEDC cycle. And with this cycle my simulation results are not good, the rpm is not stable in constants speeds. The RPM and also the Engine Torque looks like a sin wave, oscilating very quickly. I am trying for several days with Parameter Estimation one number for the PI controller but I can't get a good result. Anyone knows wich number should I put for this cycle?
Besides of that, thank you very much. It is a very usefull!
Very useful plugin. Thanks!
That´s very cool :)
plz help me..i am downloaded but i dont know how to use install.m file and how to get the drive cycle block in simulink?
can someone help me here, i used the NEDC drive cycle from the library and connected it with the scope and tried running it but my output is only a flat curve. how do i fix this? Thanks in advance.
Is there any way that I can get the data for these drive cycles in a tabular format?
Nice work. Thanks
its doesn't work!!
not able to run
Great to see so many people using Simulink for their vehicle studies!
Note that since R2016b MathWorks ships a Drive Cycle Source block in the Powertrain Blockset (includes support for units, more cycles, plotting and import capability).
for more details.
Thanks mate! It saved me some time!
Hey! I am unable to run this block. When I just simulate it and attach a scope then no output appears. Please help urgently.
@RENJITH R SHENOI I have getted the same error,have you solve the problem and how? please help. - and I...
@RENJITH R SHENOI I have getted the same error,have you solve the problem and how? please help.
i am doing project related to the driving cycle studies and i am looking for the apply force that can be applied on to the brake and throttle pedals to achieve the NEDC your help is highly appreciated.
Thank you !
Where is SIMULINK files? I can't find it(
Good day, do anyone how to connect dc motor from simscape simulink with NEDC? or anyone can help me to understand the connection of this block? i am new to matlab, please help. thank you.
Really practical, the nature of the different outputs could be clearer and I needed a dmux to work with them. Saved me a lot of time overall, if you want to limit to the city cycle reduce the simulation time to 780s
While running it getting error " Error in 'sldemo_drivecycle/Drive Cycle': Initialization commands cannot be evaluated.
Undefined function 'selectCycle' for input arguments of type 'char'."
I think there is a bug in the ECE-R15 and therefore also in the NEDC data.
As far as I'm informed the ECE-R15 part lasts 195 and not 196 seconds.
very nice work,thank you
Very good! Thank you!
This submission is very much a quick packaging of ad hoc work. Please let me know if you find any bugs! DJA
Minor fix to previous upload
Small change to hierarchy of zip folders; readme.txt added; short paragraph on installation instructions added.
Removed unused legacy files.
Deleted some slprj files from zip archive.
I have attempted to fix some minor bugs with timing - in particular, a few cycles had an extra second or two at zero velocity. This code is saved for R2016a - the oldest I have on my machine - but if you re-save in earlier formats, it might work!
Important bugfix: there was an error in the NEDC, EUDC and ECE R15 cycles - some "intermediate" velocity waypoints had been missed. This has now been corrected.
Added experimental versions of EPA cycles: UDDS, FTP and HWFET. Please let me know of any problems.
Removed Subversion files from upload.
More informative title.