The workflow consists of the following components (see the figure below):
- The The "Manhattan" job (Job 0)
is an application to generate inputs for the MadCity traffic simulator: a road network file and a "turn file".
The road network file is a sequence of numbers, representing a road topology of a road network.
The turn file describes the junction manoeuvres available in a given road network. Traffic light details are also included in this file.
The number of columns, rows, unit width and unit height are set as input parameters to this job.
- The "MadCity" job (Job 1 and Job2)
is a discrete-time microscopic traffic simulator that simulates traffic on a road network at the level of individual
vehicles behaviour on roads and at junctions.
The simulator models the movement of vehicles using the road network file the turn file and command line parameters as input.
After completing the simulation, a macroscopic trace file,
representing the total dynamic behaviour of vehicles throughout the simulation run, is created.
The workflow contains two simulations using the same simulator binary but started with different parameters.
As a result, the two simulations generate different trace files.
- A traffic density analyser (Job 3)
compares the traffic congestions using the trace files received from the simulators.
The component presents the comparative analysis on a diagram.
The graphical diagram is saved into a JPG file and represents the final result of the workflow.
This file is represented by "port 3".
Figure 1: Traffic simulation workflow
|