CHAPTER 4. CODING PROCESS
27
Counting-cars-2 control same as Counting-cars-1 but when a configuration has
been chosen, it stays for a given moment. In this way, the traffic lights are not
switching too fast.
4.3.8 Automatic simulations
For testing diffent maps, traffic light controllers and parameters, it is easier to
write a program. This is done in GLDSimT ester. It is possible to sum the
different maps, the different traffic light controllers and the different parameters
which have to be tested by simulation. It will start the simulation for every com-
bination of a map, controller and parameters. After 3600 cycles, it will export the
simulation data to files with appropriate names. The average total waiting time
and the waiting queues of the nodes will be exported.
Every simulation with specific parameters is done 5 times.
The average trip waiting time files contain all intermediate ATWT values at
different cycles, until cycle 3600.
The waiting queues are given for every edge-node.
4.3.9 Processing simulation data
When testing a few maps, traffic densities, controllers and parameters which have
to be done multiple times, results are shown in a lot of export files. For every
combination there will be 5 files for ATWT and 5 for waiting queues. The values
of those files need to be collected and the average values have to be calculated and
written to a new file. This is done by DataP rocessor.