Nagel Schreckenberg model implementation

Simulation of the Nagel Schreckenberg single-lane traffic model, with visualization and plotting.
1.6K Downloads
Updated Tue, 10 Feb 2015 02:16:19 +0000

View License

Simulation the Nagel Schreckenberg single lane model. All standard parameters are implemented:
-vmax
-density
-braking probability

Also, rendering flag allows user to disable rendering for faster flow-density curve calculations.

Cite As

Alexander Farley (2024). Nagel Schreckenberg model implementation (https://www.mathworks.com/matlabcentral/fileexchange/34956-nagel-schreckenberg-model-implementation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Brakes and Detents in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.4.0.0

Updated to support Octave

1.3.0.0

Fixed calculated of total flow for FD plot

1.2.0.0

Fixed a problem with vmax=1 showing zero flow.

1.1.0.0

Fixed problem with vehicle velocity updates.

1.0.0.0