next up previous
Nächste Seite: Parallel Computing of the Aufwärts: . Vorherige Seite: Possible Traffic Models

Unterabschnitte


Queue Model

Original Queue Model

Each link has, from the input files, the attributes free flow velocity $v_{0}$, length $L$, capacity $C$ and number of lanes $n_{lanes}$. Free flow travel time is calculated by \( T_{0}={L / v_{0}}\). The storage constraint of a link is calculated as \( N_{sites} = {L
\cdot n_{lanes}}/ \ell\), where $\ell$ is the space a single vehicle in the average occupies in a jam, which is the inverse of the jam density. We use $\ell = 7.5 \hbox{m}$.

The intersection logic by Gawron (21) is that all links are processed in arbitrary but fixed sequence, and a vehicle is moved to the next link if (1) it has arrived at the end of the link, (2) it can be moved according to capacity, and (3) there is space on the destination link (Fig. 2(a)). The three conditions mean the following:


Fair Intersections and Parallel Update

As discussed earlier, the problem with this algorithm is that links are always selected in the same sequence, thus giving some links a higher priority than others under congested conditions. One can modify the algorithm so that links are prioritized randomly proportional to capacity. That is, links with high capacity are more often first than links with low capacity. In contrast to Ref. (5), we serve all vehicles of an incoming link once that link is selected.

To make this work, the algorithm was moved from link-oriented to intersection-oriented (that is, the loop now goes over all intersections, which then look at all incoming links), and we have separated the flow capacity constraint from the intersection logic. The latter was done by introducing a separate buffer (see Fig. 3(a)) at the end of the link, which is of size $\lceil C_{link} \rceil$, i.e. the first integer number being larger or equal than the link capacity (in vehicles per time step). Vehicles are then moved from the link into the buffer according to the capacity constraint and only if there is space in the buffer; once in the buffer, vehicles can be moved across intersections without looking at the flow capacity constraints. This approach is borrowed from lattice gas automata, where particle movements are also separated into a ``propagate'' and a ``scatter'' step (19).

As a desired side effect, this makes the update in the algorithm completely parallel: If traffic is moved out of a full link, the new empty space will only open in the buffer and not on the link, and will thus not become available at the upstream intersection until the next time step - at which time it will be shared between the incoming links according to the method described above. This has the advantage that all information which is necessary for the computation of a time step is available locally at each intersection before a time step starts - and in consequence there is no information exchange between intersections during the computation of the time step. Further details are given in algorithmic form in Fig. 2(b).

In order to systematically test this intersection logic, an intersection test suite was implemented. This test suite goes through several different intersection layouts and tests them one by one to see if the dynamics behaves according to the specifications. The results typically look as shown in Fig. 3(b). In this particular example, one link with 500veh/sec and one link with 2000veh/sec merge into a link with a capacity of 500veh/sec. The curves are, for different algorithms, time-dependent accumulative vehicle numbers for the two incoming links. In this case, one sees that until approx time-step 3400, both links discharge at rates 400 and 100veh/sec, respectively. After that time, the first link is empty, and the second link now discharges at 500veh/sec. Not all algorithms are similarly faithful in generating the desired dynamics; the thick black lines denote results from the algorithm that got finally implemented. For further details, see (6).

Abbildung 2: (a) The original queue model. (b) Vehicle movement at the intersections. Note that the algorithm separates the flow capacity from intersection dynamics. (c) Parallel implementation of queue model.
[]



Algorithm A - Handling Constraints - Original algorithm

\begin{algorithmic}\small\FOR{all links}
\WHILE{vehicle has arrived at end of li...
...tion link}
\STATE{move vehicle to next link}
\ENDWHILE
\ENDFOR
\end{algorithmic}

[]



Algorithm B - Links and Intersections separated:

\begin{algorithmic}
% latex2html id marker 253\small \STATE{// Propagate vehi...
...r to destination link}
\ENDIF
\ENDWHILE
\ENDWHILE
\ENDFOR
\end{algorithmic}

[]



Algorithm C - Parallel computing implementation

\begin{algorithmic}\small \STATE{According to Alg. B, propagate vehicles along l...
...\STATE {place these vehicles into the local queues.}
\ENDFOR
\end{algorithmic}


next up previous
Nächste Seite: Parallel Computing of the Aufwärts: . Vorherige Seite: Possible Traffic Models
2003-05-31