Evaluation of different kinds of collective dynamics resulting from unidirectional flows in a street of length
l = 8 m and width
w = 3 m. The total number of pedestrians varied from 6 to 96, assuming periodic boundary conditions. (
A) Velocity–density relation, determined by averaging over the speeds of all pedestrians for 90 s of simulation. The occupancy corresponds to the fraction of area covered by pedestrian bodies. Our simulation results (black curve) are well consistent with empirical data (dots), which were collected in real-life environments (21). The
Inset indicates the average body compression

where the brackets indicate an average over all pedestrians
i and over time
t (
Materials and Methods). (
B) Correlation coefficient between the average local speeds
V(
x,
t) and

, measuring the occurrence of stop-and-go waves (see
Materials and Methods for the analytical definition of the local speed). Here, the value of
X is set to 2 m. The increase at intermediate densities indicates that speed variations at positions
x and
x −
X are correlated for an assumed time delay
T of 3 s. Significant
P values for the correlation coefficient are found for occupancies between 0.4 and 0.65, indicating the boundaries of the stop-and-go regime (Fig. S3). (
C) Typical space–time diagrams at four density levels, representing different kinds of collective motion. The color coding indicates the local speed values along the street (where pedestrians move from left to right). At occupancy level 1, the diagram displays a smooth, laminar flow with occasional variations in speed. For occupancy levels 2 and 3, stop-and-go waves appear, as they have been empirically observed at high densities (figure 2a in ref. 4). At occupancy level 4, the average traffic flow is almost zero, but turbulent fluctuations in the flow occur (Fig. 4). The underlying model parameters are τ = 0.5 s, ϕ = 45°,
dmax = 8 m, and
k = 5 × 10
3. The desired speed

was chosen according to a normal distribution with mean value 1.3 m/s and SD = 0.2.