Derek-Wds / traffic_simulation

This is an project about simulating traffic on overpass and roads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traffic Simulation

This is a matlab program simulating the traffic situation in Shanghai and Chengdu, which contains the grid road system and overpass ring road system.

  • The linked list is applied in moving cars.
  • Cars are randomly created and have a random generated destination. After reaching the destination, cars are deleted from the system.
  • There has certain rate of break down and recover of each car. The red dot in the gif following shows the broken cars.
  • There have traffic lights on the grid system but not on the ring road.
  • Run the main.m file in matlab to start the program.

About

This is an project about simulating traffic on overpass and roads.


Languages

Language:MATLAB 70.0%Language:M 30.0%