this method is the classical method for calculating the density.

The density $\langle \rho \rangle_{\Delta x}$ is defined as the number of pedestrians divided by the area of the measurement section:

The spatial mean velocity is the average of the instantaneous velocities $v_i(t)$ for all pedestrians in the measurement area at time $t$:

Tags: