this method is the classical method for calculating the density.

Method_C

The density 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 for all pedestrians in the measurement area at time :