Skip to content

Simulation of Traffic Flow between 10th & 14th Peachtree Street, Atlanta, GA

Notifications You must be signed in to change notification settings

asrayousuf/CSE6730-TrafficSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSE6730-TrafficSimulation

Event-Oriented Simulation

Change directory to the 'event_simulation' folder: cd event_simulation

Compile classes:

find ./src -name "*.java" > sources_list.txt

javac -cp "./lib/*" @sources_list.txt

Run Command:

java -cp src main.java.Engine args1 args2

where args1 = Number of seconds in event time that the simulation should run. Eg. 200

where args2 = Number of simulation runs. Eg. 5

Process-Oriented Simulation - Adithya

Change directory to the 'process_simulation' folder: cd process_simulation

Run Command: python ProcessOrientedSimulator.py

Output: Number of Cars Traversing Corridor, Warm-up Time, and Mean Travel Time

Cellular Automata Simulation

Change directory into the 'cellular_automata' folder

There are two simulation models; single lane and double lane.

To run the single lane model,

Run command: python Cellular_Automata_Single_Lane.py

To run the double lane model,

Run command: python Cellular_Automata_Double_Lane.py

Simualation is initially populated with cars and none added afterwards

Simulation runs until all cars have exited

Output format: A histogram showing how many cars exit at each simulation step

About

Simulation of Traffic Flow between 10th & 14th Peachtree Street, Atlanta, GA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published