Home
Name Modified Size InfoDownloads / Week
ReadMe.txt 2020-09-30 1.7 kB
intersection.o 2020-09-30 713.8 kB
pathgraphics.o 2020-09-30 1.4 MB
trafficparams.o 2020-09-30 562.0 kB
response.o 2020-09-30 513.2 kB
trafficsimulate.o 2020-09-30 1.3 MB
moc_trafficsimulate.o 2020-09-30 1.0 MB
plot.o 2020-09-30 647.3 kB
entity.o 2020-09-30 786.6 kB
perception.o 2020-09-30 525.6 kB
trafficconfig.o 2020-09-30 5.0 kB
libplot3d.a 2020-09-30 15.5 MB
traffic.o 2020-09-30 1.2 MB
cognizance.o 2020-09-30 1.3 MB
traffic 2020-09-30 3.5 MB
language.settings.xml 2020-09-30 1.5 kB
org.eclipse.cdt.core.prefs 2020-09-30 13.5 kB
org.eclipse.cdt.ui.prefs 2020-09-30 116 Bytes
response.cc 2020-09-30 1.2 kB
Targets.mk 2020-09-30 378 Bytes
trafficsimulate.hh 2020-09-30 1.5 kB
entity.hh 2020-09-30 1.0 kB
moc_trafficsimulate.cc 2020-09-30 4.2 kB
traffic.cc 2020-09-30 472 Bytes
trafficconfig.cc 2020-09-30 1.7 kB
trafficparams.cc 2020-09-30 1.8 kB
cognizance.hh 2020-09-30 1.5 kB
defs.hh 2020-09-30 994 Bytes
intersection.cc 2020-09-30 9.5 kB
IntersectionDescription.odt 2020-09-30 24.6 kB
pathgraphics.cc 2020-09-30 7.2 kB
perception.hh 2020-09-30 624 Bytes
mda.hh 2020-09-30 15.8 kB
plot.hh 2020-09-30 370 Bytes
trafficconfig.hh 2020-09-30 1.7 kB
trafficparams.hh 2020-09-30 3.8 kB
Defines.mk 2020-09-30 1.5 kB
intersection.hh 2020-09-30 911 Bytes
Patterns.mk 2020-09-30 412 Bytes
response.hh 2020-09-30 659 Bytes
trafficsimulate.cc 2020-09-30 11.1 kB
entity.cc 2020-09-30 3.5 kB
plot.cc 2020-09-30 1.6 kB
cognizance.cc 2020-09-30 9.1 kB
Makefile 2020-09-30 2.2 kB
pathgraphics.hh 2020-09-30 1.2 kB
perception.cc 2020-09-30 4.9 kB
TrafficIntersectionDescription.odt 2020-09-30 17.6 kB
Totals: 48 Items   29.1 MB 0

Traffic Intersection  Simulation

Traffic Intersection Simulation is a specific application of Objective Functional Analysis. Traffic Intersection Simulation models a real world traffic intersection. The duration of the green light in both directions of the intersection is chosen by maximizing the objective function. The objective function is formed as a separably additive function of three objective functions; (1) the number of vehicles that make it through the intersection, (2) the average speed of the vehicles, (3) the average distance moved by each vehicle.

This simulation grew out of my disgust with driving to and from work. The simulation currently models only a single intersection.  I had envisioned that I would expand the simulation to an array of 10x10 intersections. However, computations for a single intersection are quite time consuming. So unless I can figure out a more efficient computation or modeling mechanism, I am less inclined to pursue the multiple intersection modeling.

The model has been abandoned because after initial simulations it became apparent that for heavy traffic not much can be done to maximize throughput.  The algorithms used by the government's road authority are about as good as one can do for heavy traffic.  It is best just to make the duration of the green light proportional to the traffic load.  For light traffic, the government could do a lot better. But I realized that with a simple addition of a WWB clock chip and simple sensor of traffic load (traditional way is to use the ground stress sensor), a simple algorithm would be sufficient to efficiently handle light traffic loads. So I saw no real world usefulness and thus have abandoned this simulation.

Source: ReadMe.txt, updated 2020-09-30