After activating the virtual envrionment run
python main.py
and a browser window should open at localhost:8001 that looks like this:
The user interface you see above is divided into two sections:
- The left section contains the simulation parameters and controls
- The center section contains the simulation visualization and metrics
As a start, click the blue "Simulate" button on the bottom left. The simulation will be calculated for all time steps and you will shortly see the stree visualization and metrics update. Replay the simulation, by clicking the "▶" button below the visualization.
- Python 3.8 or higher
- Python virtual environment
-
Clone the repository
git clone https://github.com/pvonderlind/ModSim_Exercise_Group04.git
-
Create a virtual environment
python3 -m venv venv
-
Activate the virtual environment
source venv/bin/activate
-
Install the requirements
pip install -r requirements.txt
The report can be found in Report_Group4_TrafficJam.pdf and the source is available in Overleaf.