Skip to content

zihaooo/auction-based-realtime-control

Repository files navigation

Auction based real-time traffic signal control

About the project

This is a course project of CEE 551 (2022Fall). In this project, we use an auction based algorithm to control the switch between phases. The weight is calibrated offline by the algorithm ... . The final result is tested in SUMO.

Getting Started

Prerequisites

Python

This project is compatible with Python 3.9+.

SUMO

You need to install SUMO to run the simulation, you can find instruction here.

Virtual Environment

Virtual environment is highly recommended for all the project in mtldp. It can help you isolate your project environment from one to another. With virtual environment, you can avoid most dependency issue and reproducible problems.

You can use Anaconda or Miniconda, or you can use python standard library [venv](https://docs.python.org/3.8/library/venv.html).

Anaconda/Miniconda will be used in the following documentation.

Usage

Get the source code

Get the source code via git clone command.

Create virtual environment

$ conda create -n cee-551 python=3.9 -y
$ conda activate cee-551
(cee-551) $

Install the dependencies

(cee-551) $ pip install -r requirements.txt

Run the simulation

You can run the test with following command:

(cee-551) $ python test_auction_based.py

Or

(cee-551) $ python test_fixed.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published