This section provides a simulation dashboard that models traffic flow using an Agent-Based Model (ABM) powered by MESA. The dashboard allows users to visualize and analyze traffic behavior dynamically, offering insights into how different parameters affect traffic patterns.
- Navigate to the
4_simulator_dashboard
folder. - Complete the
.env
files located in the base directory and inside thetraffic_model
folder. - Install the required dependencies in the base directory:
pip install -r requirements.txt
- Install the required dependencies inside the
traffic_model
directory (separate module):cd ./traffic_model pip install -r requirements.txt
- Run the simulation dashboard from the
dash_gui
directory:python app.py
Access the simulation dashboard at http://localhost:8050
.