Parallelizing a 1-Dim Nagel-Schreckenberg Traffic Model
Ramses van Zon, Marcelo Ponce

TL;DR
This paper discusses the development and analysis of a parallel, reproducible implementation of the 1D Nagel-Schreckenberg traffic model, emphasizing techniques for Monte Carlo simulations and pseudo-random number generation.
Contribution
It introduces a shared-memory parallel version of the Nagel-Schreckenberg model with a focus on reproducibility and scaling analysis, suitable for scientific computing education.
Findings
Achieved scalable parallel implementation
Maintained reproducibility in stochastic simulations
Analyzed performance and scaling behavior
Abstract
The Nagel-Schreckenberg model is a stochastic one-dimensional traffic model. In this assignment, we guide students through the process of implementing a shared-memory parallel and reproducible version of an existing serial code that implements this model, and to analyze its scaling behavior. One of the key elements in this traffic model is the presence of randomness, without which it would lack realistic phenomena such as traffic jams. Its implementation thus requires techniques associated with Monte Carlo simulations and pseudo-random number generation (PRNG). PRNGs are notoriously tricky to deal with in parallel when combined with the requirement of reproducibility. This assignment was created for the graduate course PHY1610 Scientific Computing for Physicists at the University of Toronto, which had its origin in the training program of the SciNet HPC Consortium, and is also very…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Distributed and Parallel Computing Systems · Scientific Computing and Data Management
