Some considerations on crowd Congestion Level
2Tokyo University
3 Kyoto University
August 16, 2025)
1 Introduction
The concept of (crowd) Congestion Level () was introduced in [1], and presented at the PED 2018 conference by C. Feliciani [2]. Following the PED presentation, along with appreciation for the novel contribution, a few interesting questions were raised, concerning the integral/differential nature of the definition of , and the possibility of defining a related pure number. In these short notes we are going, although with no attempt at rigour or formality, to present some considerations suggesting that the two problems are related, and providing a possible solution. Furthermore, using both theoretical arguments and analysis of simulated data in complex scenarios, we will try to shed further light on the meaning and applications of this concept. Finally, we analyse some results of an experiment performed with human participants in a “crossing-flows” scenario.
In the following, we are going to:
-
•
Recall the original definition and possible theoretical issues
-
•
Propose a related but possibly theoretically more appealing concept, Congestion Number ()
-
•
Analyse the values obtained by and in some simple scenarios, using respectively:
-
–
fully discrete models,
-
–
fully continuous models,
and use these models to better clarify the original numerical details in the definition
-
–
-
•
Perform, using simulations, the analysis of a complex scenario (two high density crossing pedestrian flows) under the following assumptions:
-
–
centralised motion, in which the velocity and positions of pedestrians are decided in advance in order to avoid any collision
-
–
zero body size limit, in which pedestrians move independently but their bodies are so small that no collision is possible (and no collision avoidance is performed)
-
–
“realistic” physical dynamics and collision avoidance behaviour
and verify the ability of the / concept to reflect the increase in congestion levels as the model becomes more realistic.
-
–
-
•
Analyse / data from an experiment with human participants in a scenario similar to the simulation setting (two crossing pedestrian flows).
This work will not, nevertheless, try to justify the relevance of (or ) in the assessment of crowd safety. These notes are intended as a clarification of some mathematical and numerical issues, and as a, hopefully significant and more coherent, re-definition of some quantities. Through the study of simulated and controlled crowds we will suggest that the proposed metric possess some of the minimal properties expected to be relevant in crowds assessment, but for the actual justification of the relevance of the congestion metrics we refer to the original works [1, 2].
2 Definition and issues
2.1 Definition
Let us first recall the definition: assuming a field of pedestrian (crowd) velocity is given, we may define in a point of planar space
(1) |
In this equation, stands for the magnitude of the velocity field, extrema and averages are computed over a Region Of Interest (ROI) centred around , and denoted as , while denotes the component of the rotor of the velocity field (i.e., the only non-zero component). We remind the readers that the numerator is defined as “Rotation Range”, while “Crowd Danger” is defined as the product of and crowd density [1], although we will not consider these important metrics in this work.
Obviously, defining a velocity field for a crowd is not a trivial issue, as it involves problems related to the characteristic scales of crowd dynamics. Indeed, any “fluid dynamics” approach to crowd dynamics involves non trivial problems, since often the interesting scale of the problem (e.g., corridor width) is very similar to that of the basic component of the crowd (humans). Although these problems will be extremely relevant to the following discussion, for technical details such as choosing the correct time and space smoothing tools to define the velocity field from tracking trajectories we refer the reader to the original work [1].
2.2 Issues
In this work we are interested in two possible problems with this definition, and namely:
-
1.
is not a pure number, and thus does not have an easy to interpret scale (its dimension is , i.e. the inverse of a length),
-
2.
the definition mixes local (differential) quantities such as the rotor with global ones (extrema, averages), which, along with the original problems in definition of a velocity field (or, equivalently, of a density field), makes again its interpretation difficult.
Concerning the physical dimension aspect, it should be noticed that, being the ratio between the variation of the velocity rotor and the average velocity, is left unchanged by a re-scaling of the velocity field. As a result, changing the time units will not change the value (since both the the numerator and denominator will be scaled of the same factor, or, in an equivalent way, since has no dimensional dependence on time). This also means that a high velocity field and a low velocity field will have the same value if the are just obtained through a constant (over space) scaling. This may seem counter-intuitive, but it is actually a nice property of the concept, as we will see in our analysis111Obviously, crowd velocity may be relevant to crowd risk. It has to be expected that relatively simple measures may not fully take in consideration every aspect of crowd risk, and should be always used along other measures that may take velocity in consideration..
On the other hand, will change if we change the spatial units, or, in an analogous way, if the spatial properties of the field are scaled. As the original definition introduces a spatial scale, the grid size , the adimensional product should be expected to be related to a meaningful definition of a crowd metric. Let us see how to formalise this idea.
3 Definition of a Congestion Number
3.1 Relation to the rotor gradient (Differential congestion)
As stated above, [1] provides a detailed discussion on the scales at which the grid for the velocity field and the ROI should be computed to obtain results that are significant and useful from a crowd management point of view. It seems reasonable that the ROI should be large enough to be able to assess the change in the component of the rotor, but not too large, as this would lead to an under estimate of the growth rate. Namely, assuming to be the linear scale of the ROI, we may use a linear approximation
(2) |
We may now see that the numerator is proportional, according to the proposed approximation and interpretation, to the magnitude of differential operator applied on the velocity field, namely the gradient of the only non-zero component of the rotor of the velocity field. We may call the latter Differential Congestion (), namely
(3) |
3.2 Congestion Number as a ratio with an Extreme Differential Congestion
We still need to explain the remaining terms. The proposed explanation is that Congestion is indeed related to , but the remaining terms arise by taking a ratio between the measured and a reference value, that we may call Extreme Differential Congestion, or . Such a ratio will be obviously a pure number, which we may call Congestion Number ()
(4) |
In the following, we are going to define (which still will depend on , as it is related to the local magnitude of the velocity) and derive the relation between and .
3.3 Definition of Extreme Differential Congestion
To introduce a “maximally rotating field”, let us first recall Stokes theorem
(5) |
where the 1-D path is the boundary of the 2-D region . For a circular path of radius , denoted as , over which the magnitude of the velocity field is fixed to a constant value, , the maximum value for the integrals defined above will be given by a field exactly directed along the tangent to the path
(6) |
where is the angular versor whose Cartesian component are or . For this field, we have
(7) |
regardless of the value attained inside the disc . Obviously, the reversed field assumes the minimum value .
We may choose the values assumed inside by requiring the field to go continuously and linearly to 0 towards the centre
(8) |
For this field, the non zero component of the rotor is given by the cylindrical coordinate formula222Or equivalently by .
(9) |
The original formula for includes the average value of , and for this reason it may be useful to compute the average value of over , which is
(10) |
or
(11) |
Substituting in eq. (9) we obtain
(12) |
These considerations on vectorial analysis are obviously independent of pedestrian dynamics. Let us now assume that the maximum value for the rotor in a pedestrian velocity field is given when a maximally rotating field, as defined above, occurs on a scale comparable to the pedestrian body size, m, which is incidentally the value chosen in [1] for the size of the cell grid333Readers may notice that for defining the maximally rotating vector field we used a continuous field defined obviously at a scale much smaller than ; we will come back on this issue in section 4.2..
We now define the as a gradient corresponding to a change from two different but opposed maximally rotating fields located at a distance , which corresponds to the linear size of the ROI. Namely444We will again consider later the relation between this “approximated macroscopic gradient” and the actual local gradient defined on a continuous field, see in particular section 4.
(13) |
Furthermore, we are going to assume that the average of the magnitude of vector field on the ROI is equivalent to that of the average over the maximally rotating area555Again, we will discuss this approximation in section 4., which leads to
(14) |
3.4 Operational definition of
Recalling our definition of , eq. (4), and the approximation eq. (2), we have
(15) |
or
(16) |
which may be also considered as the operational definition of .
According to this derivation, in the experiments reported by [1], maximum registered values of would be around 0.5. It looks clear that values of should correspond to non-congested crowds, while as gets comparable to 1, the crowd should be extremely congested. Nevertheless, it should be noticed, as we will show in detail later (section 4), that values of are possible, as it is possible to define fields for which the is larger than the proposed . Anyway, as the maximum possible depends on the discretisation and numerical scheme, and corresponds to highly artificial setting, we will not try to define in such a way to have always .
4 Toy models of high settings
4.1 Discrete approach
Let us study some settings that correspond to very high values, first using a derivation more closely related to the numerical nature of the computation. The following “discrete derivation” has the following interesting properties:
-
1.
does not rely on a fictitious continuous field defined at a scale much smaller than ,
-
2.
clearly explains the relation between and ,
-
3.
clearly explains the role of the approximation in our derivation,
-
4.
explains the role of numerical approximations (e.g. choice of integration/differentiation schemes).
In the subsection 4.2, we will consider the opposite approach, i.e., perform all computations on a microscopic, continuous velocity field.
4.1.1 Separated, random constant velocity
The discrete equivalent of two opposing maximally rotating fields located at a close distance can be realised on the grid shown in Fig. 1. The maximum rotor value occurs in the cell 2, while the minimum occurs in cell 3. We are going to compute in cell 1, which is in the middle of the two flows (and separated from them). If the cells have size , the distance between cell 2 and 3 is . The vector field has magnitude in the direction given by the arrows, and we will assume it to have constant magnitude but random direction on all other cells. In such a way, regardless of the choice of the ROI, the value of is going to be .
We recall that
(17) |
Using the most trivial numerical differentiation scheme, in cell 2 we have
(18) |
while obviously in 3 we will have the opposite value, so that
(19) |
and
(20) |
The reason we obtained a value different from 1 is due to the difference between the values of the average velocity in the continuous model used to define and in the discrete model. Anyway, higher values of are possible, as shown next.
4.1.2 Separated, negligible velocity outside flows
Let us now go back to Fig. 1, but this time we may assume that velocity is almost 0 (i.e., ) where arrows are lacking (including cells 1, 2 and 3). This choice of having a lot of cells with very low velocity is due to the attempt of keeping as small as possible, and thus as large as possible. It should be noticed that an empty cell is, from the crowd dynamics viewpoint, extremely different from a non-empty cell with a low velocity, and indeed [1] reminds us to compute average velocities only using occupied cells. Anyway, in the computations below, the cells without arrows may be considered with such a small velocity (e.g., ) that their contribution to averages and rotors is simply ignored (from an actual crowd dynamics viewpoint, obviously, this is quite unrealistic).
The value of depends now strongly on the definition of the ROI. It seems obvious that the ROI should include all non-zero cells, so that its “diameter” (maximum distance between two included cells) has to be at least , which is exactly the value empirically proposed in [1]. The actual choice of the ROI depends then on the definition of the distance on the grid. We propose here 3 schemes:
-
1.
Manhattan distance: only cells at a Manhattan distance are included. This includes exactly cells, as shown in Fig. 1 left (Minimum Manhattan scheme, or MM).
-
2.
The original scheme proposes by [1], i.e., including, since the diameter of the ROI is 7, all cells that have an Euclidean distance between their centres . This includes 37 cells (Original Euclidean scheme, or OE).
-
3.
As above, using Euclidean distance but, since the distance between 2 and 3 is , requiring . This includes 49 cells (Maximum Euclidean scheme, or ME).


Since only 8 cells have non-zero , the value of would be 8 , and thus
(21) |
which gives a value higher than 4 in the ME scheme. It seems anyway reasonable that these extremely artificial conditions may not occur in the real world and values of should already be considered as extremely high666In such a setting, the same proposed values are found if we use a single maximally rotating field (e.g. in the centre of the cell), since the numerator is decreased by a factor two, but also the denominator is (the number of non-empty cells would be 4). These results may be puzzling, but, again, we should remember that has been proposed in [1] to deal with actual crowds, and not with our handpicked situations. Furthermore, “empty cells” in our settings should actually represent occupied cells with very low velocity (packed crowd), and it is clear that having a strongly rotational movement inside a packed, almost non-moving crowd should be an hint of a potentially very dangerous situation in an actual crowd..
4.1.3 Overlapping, random constant velocity
4.1.4 Overlapping, negligible velocity outside flows
Assuming negligible velocity outside the flows, we now get, by having just 7 “non-zero” cells, one of them contributing to
(24) |
Interestingly, anyway, in this situation is possible to include all non-zero cells in a radius ball, which would have (Fig. 1 right) and thus close to 1 ().
4.2 Continuous approach
Models using a velocity field defined on a continuous scale smaller than have little physical or computational value, but allowing for analytical computations are helpful in better clarifying basic concepts. Let us generalise eq. 8 to
(25) |
so that
(26) |
where we defined
(27) |
Now, if , we have (eq. 9) , so we may define
(28) |
Furthermore, we define such that
(29) |
so that
(30) |
which gives us a differential equation for the value of the velocity field given the value of the rotor one. Furthermore, we have
(31) |
4.2.1 Continuous rotor field
Let us assume now that between two maximally rotating fields the value of the rotor passes gradually from to in a distance. This may be attained by using the following function777The function is clearly not differentiable in and , but a differentiable version in which the radial derivative of transits from 0 to (and vice versa in ) in a scale can be obtained using a “smoothed step function”, adapting the detailed description on bump functions found in [3]. for
(32) |
or
(33) |
Using
(34) |
we obtain
(35) |
or
(36) |
and
(37) |
We introduced this model because it reproduces our “linear approximation” for the gradient, so we may use it to check the validity of the approximation according to which . Using the above results, for we obtain . In the case of two different opposing rotating fields, we may use as ROI a disc of radius located in the middle point. A numerical integration gives for this case . This values suggest again that the maximal possible value should not depart strongly from 1.
4.2.2 Discontinuous rotor field
Defining the velocity field starting from the rotor may seem counter intuitive. We could have started from the velocity field, e.g., asking the velocity to be zero outside a disc of radius
(38) |
By straightforward differentiation we have now
(39) |
The rotor field is now discontinuous. The continuity can be regained by using bump function [3] in such a way that is re-defined as a differentiable function in , i.e. by having to make a continuous transition from 1 to zero over a scale . Anyway, in this way the gradient of the rotor would be increased of a scale with respect to the “macroscopic variation” scale . This toy model serves thus to remind us that trying to define the differential congestion ( and ) on a scale smaller than is meaningless, and justifies our use of a linear approximation, i.e. of the comparison between the maximum and minimum value on the ROI.
By integrating we obtain for this model
(40) |
The result for is the mathematical average, but since the velocity for is zero, the average according to the definition is the value, or . If the velocity for is negligible but non-zero, for two opposite flows included in in a ROI we have and , showing that also for continuous models we may have quite large in these seemingly artificial settings.
5 Simulations
Let us now study some interesting properties of this crowd metric when applied to a crowd system. In this theoretical work, we are using artificial data from simulations, and we are on purpose comparing a more realistic model with some very unrealistic ones, to show the ability of the metric to distinguish the former from the latter888Here we decided to compute in each cell, including those that do not present non-zero velocity and/or do not have a defined rotor field; obviously such cells have a non-zero only if in their ROI there is a non-zero rotor cell. The ROI was chosen as an Euclidean ..
The studied problem is the intersection of two corridors (width of 3 meters), each one with a high density/high flux uni-directional flow in it. We use three approaches for “simulating” this system
-
•
“Marching pedestrians”: the velocity and position of the pedestrians is decided in advance in a centralised way, such that even at a density as high as 9 pedestrians per squared meter the pedestrians do not need to slow down. Two uni-directional flow densities are proposed: 2 (Fig. 2) and 4.5 (Fig. 3) ped/m2, while the walking velocity is fixed to 1 m/s, using respectively 408 and 816 pedestrians.
-
•
“Bodiless pedestrians”: each pedestrian has a different velocity (from a Gaussian distribution centred on 1 m/s with m/s) and performs a “drifted random walk” towards its goal. Nevertheless, physical dynamics is performed in the zero body-size limit (collisions happen only with the walls) and pedestrians do not perform collision avoidance. Two uni-directional flow densities are proposed: 2 and 4 (Fig. 4) ped/m2, using respectively 408 and 816 pedestrians.
-
•
“Realistic”: pedestrians have rigid bodies ( and m ellipses) and perform collision avoidance. Two uni-directional flow densities are proposed: 1 (Fig. 5) and 2 (Fig. 6) ped/m2, using respectively 128 and 256 pedestrians. Velocity is Gaussian distributed around 1 m/s with m/s (here “realistic” refers to the fact that the pedestrians have a finite and realistic body size, and try to stop/avoid collisions; their behaviour may still differ from the one of actual pedestrians).















The time evolution of the average density in the crossing area is shown for each setting and model in Fig. 7. Unidirectional flows and conditions have been chosen in such a way to have similar density peak values, and similar crossing time scales in each one of the “lower density” and “higher density” setting for all models. Anyway, as 128 “realistic” pedestrians need roughly the same time to clear the crossing area than 408 “bodiless” one, and 256 “realistic” ones double the time than 816 “bodiless” ones, it is clear that the flux (and velocity) is strongly decreased in the “realistic” case. Despite this, as shown in Fig. 8, the maximum of attains an higher value in the “realistic case”. In this (recognising the crowd congestion regardless of a slower velocity/lower flux) clearly the velocity scale independence of plays an important role. Figs. 9 and 10 show results concerning average .








Let us better analyse the results. The for the lower density “marching” setting is constantly zero. This is due to the fact that the velocity grid has many empty spaces, and the few points in which the rotor may be computed present the same local structure, and thus the same rotor (furthermore, the rotor field is even zero everywhere). The high density case is more interesting. The maximum attained value is constant at , reaching slightly higher values at the times in which the flows start and finish crossing. The , density, rotor and fields at the time of maximum density are shown if Fig. 11, while those at the time of maximum are shown in Fig. 12. At maximum density, the velocity patterns are regular over the central crossing area and in the corridors, and as a result in this areas we have low . reaches higher values in the “corners” were flows meet and separate. This effect is stronger when the flows are separating, as the velocity and rotor fields are less uniform.
An interesting result concerning the “bodiless” case is that the evolution is basically independent of the flow intensity. This is to be expected, since for non-interacting “particles” the increase in flow only changes the statistical sample, with no other effect on the vector fields. It is nevertheless important to see that the metric is not “tricked” by the increased flow. As shown in particular in Figs. 13 (maximum density) and 14 (maximum ), the “bodiless” fields are basically “noisy” versions of the “marching” ones.
For the “realistic” pedestrians, the crossing of the flows causes an actual increase in crowd congestion, due to the limited space and to the corresponding stopping/deviating behaviour. This is properly indicated by the higher (with respect to the “marching” and “bodiless” cases) value of , and by the increase in for higher flows. In the higher density setting, attains values . Fig. 15 shows the higher density setting , density, rotor and fields at the time of maximum density, and Fig. 16 the same fields at the time of maximum (which resulted to be as high as 1.26). For reference, the lower density setting is shown in Figs. 17 and 18.
An interesting feature is that in the higher density setting, reaches (locally) extremely high values also when density is decreasing. This is due to the situation depicted on the right in Fig. 6: some pedestrians are “dragged” in the wrong direction and high pressure/collision/congestion happens in the areas where they try to “go back”. Around the bottom-right corner, such behaviour continues even when the majority of pedestrians has crossed (the occurrence of such a dynamics may be related to the simplicity in the pedestrians’ local behaviour, and could be absent or reduced in actual pedestrians or in a more realistic model; anyway here we are not judging the pedestrian model but the ability of the metric to recognise congestion and dangerous areas). The areas where such congestion is happening are correctly identified by (Fig. 16).
































































6 in a crossing scenario experiment
We now present some data from a controlled experiments in which 54 participants (27 for each flow) were asked to move in two different flows, using the same geometry as in the simulations settings999More precisely, the simulation settings where chosen to fit to those of this experiment, performed as part of a different research project by the Tokyo University team... Results corresponding to two different initial conditions (1 and 2 ped/m2) are shown (6 independent experiments were performed for each initial condition).
In Fig. 19 we report the density in the crossing area as a function of time for both settings, while in Fig. 20 we report the time evolution of the average in the central area, and in Fig. 21 the time evolution of the maximum .



Finally, for the 2 ped/m2 condition, we show in figure 22 the , density, rotor and fields at the time of maximum density, while those at the time of maximum are shown in Fig. 23.
















Acknowledgements
This research work was in part supported by: JSPS KAKENHI Grant Number 18H04121JSPS, JSPS KAKENHI Grant Number 20K14992, JST-Mirai Program Grant Number JPMJMI17D4.
References
- [1] C. Feliciani and K. Nishinari, Measurement of congestion and intrinsic risk in pedestrian crowds, Transportation Research part C: Emerging Technologies 91 (2018): 124-155
- [2] C. Feliciani and K. Nishinari, Investigation of pedestrian evacuation scenarios through congestion level and crowd danger, Collective Dynamics 5 (2020): 150-157.
- [3] L. Tu, An Introduction to Manifolds, 2nd edition, Springer, 2011 (pag. 142-143).
- [4] F. Zanlungo, L. Crociani, Z. Yücel and T. Kanda The effect of social groups on the dynamics of bi-directional pedestrian flow: a numerical study arXiv preprint arXiv:1910.04337 (2019).