Driving Cycle (Simulink Block)

Produces NEDC, Artemis, WLTC class 1, 2, 3a and 3b, and selected EPA driving cycles easily
19,6K téléchargements
Mise à jour 30 jan. 2024

Afficher la licence

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, WLTC class 1, 2, 3a and 3b, 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 will need to use the 'install.m' script to make sure all the toolbox directories are on your MATLAB search path. You can then find the block demos in the folder 'drivingcycledemos'.

Citation pour cette source

Daniel J. Auger (2024). Driving Cycle (Simulink Block) (https://www.mathworks.com/matlabcentral/fileexchange/46777-driving-cycle-simulink-block), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec les versions R2012b et ultérieures
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Environmental Science dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version

Replaced single WLTP Class 3 cycle with WLTC class 1, WLTC class 2, WLTC class 3a and WLTC class 3b cycles.


Fix to bug introduced at previous step.


Modified installation script to produce a warning if a global installation is impossible.


Added a missing image for the documentation.


Further tweaks to documentation.


Documentation update only.


Out of date plot replaced.


Updated image.


Fixed some display bugs - saving in R2012b format had accidentally removed ports from the blocks and units from scope axes; these have been reinstated.


Documentation update only,


Substantial tidy up, designed to make installation and use easier. Rudimentary documentation added to block masks.

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.