Skip to content

Freeway Traffic Simulation using the Nagel–Schreckenberg cellular automaton model and Agent-Based-Modelling

Notifications You must be signed in to change notification settings

flxwu/Traffic-Simulation-ABM

Repository files navigation

Traffic-Simulation-ABM

Freeway Traffic Simulation using the Nagel–Schreckenberg cellular automaton model and Agent-Based-Modelling. The ABM framework that I use is Python mesa.

The Nagel–Schreckenberg model is a theoretical model for simulating road traffic flow that can reproduce traffic jams. This way, we can explain "out of nowhere"-traffic jams.

Read more about it here: https://en.wikipedia.org/wiki/Nagel%E2%80%93Schreckenberg_model

Demo

Setup

Install dependencies

pip3 install -r requirements.txt 

Run locally

python3 run.py

The Interface can now be seen at http://127.0.0.1:8521

About

Freeway Traffic Simulation using the Nagel–Schreckenberg cellular automaton model and Agent-Based-Modelling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published