1. Introduction
The study of crowd dynamics of multi-agent system has wide applications in engineering and social sciences. Researchers have been attracted by both analytical challenges and computational problems generated by the complexity features of these models. The modeling of crowd dynamics can be developed at different scales, ranging from micro-scale, meso-scale to macro-scale [1] [2] [3] [4] [5]. At the micro-scale, the motion is governed by coupling ordinary differential equations of each agent; in this case, their positions and velocities are identified as dependent variables of time, for example, the social force model used in [6] [7] [8], among others; At the macro-scale, the models by classical conservation equations are ultilized, where the multi-agent system is treated as a “thinking fluid”; The state of the system is described by averaged gross quantities such as density, linear momentum and kinetic energy, regarded as dependent variables of time and space [9] - [18]; At the intermediate scale, the system is described by kinetic equations, where the dependent variable is a probability distribution of the micro-state of the agents [1] [2] [5] [19] [20] [21]. Note that in the kinetic modeling of crowd dynamics, both collective strategy and the individual interactions have to be considered. We also mention that, the kinetic models provide an important link between the micro-scale and macro-scale models.
Crowd evacuation from a bounded domain is a very important topic in crowd dynamics, which has wide applications for example in safety control and crisis managing, see [22] [23] [24] [25] [26] and references therein. In the kinetic model proposed in [1] [2] [19], the agents are viewed as active particles, whose micro-states are defined by their position and velocity direction; the overall state of the system is governed by a distribution function of the micro-states, so evolutionary equation of the distribution function is obtained by a local balance of particles incorporating transport and interactions in a kinetic fashion. Note that the interactions are nonlinearly additive, so a nontrivial global effect is produced, rather than the sum of all the individual interactions. More precisely, there are several factors to be considered in crowd evacuation, including: firstly, due to geometrical effects, agents have the desire to reach the exits and the ability to avoid the walls or obstacles; secondly, in the process of interactions between agents, agents have the tendency to search for less crowded moving directions, and the trend to follow the main stream of the motion.
In the current study, we will investigate the crowd dynamics in more complex domain, in which there are interior walls and doors that divide the domain into several chambers, beside walls and exits on the boundary. For more complex domain, we emphasize that the geometrical effects may come from the walls both inside the domain and on the boundary, the exits, and the doors connecting the chambers. These geometrical properties are incorporated in the geometrical preferred direction which is specified such that an agent can avoid the wall and approach the exit through the evacuation vector defined with respect to its position. This vector field depends only on the geometry of the domain, thus independent of time. It will be useful for modeling the crowd evacuation from complex venue by specifying the corresponding evacuation vector field.
We also mention that there are various other applications of the crowd dynamics, such as vehicular traffic [27] [28], particle swarm [29], migration phenomena on networks [30], coupling between pedestrian movement with traffic flow or social interaction [31] [32] [33] [34], and others, see the recent books [35] [36] for the state of the art progress, challenges and future research perspectives in the area of modeling and simulation of crowd dynamics.
2. The Model and the Evacuation Vector Field
Follow the notations in [2] [19], let
denote a bounded domain, with boundary
including exists and walls. For instance, beside walls and exits on the boundary, we assume that there are interior walls and doors inside the domain that they separate the domain into several chambers, as shown in Figure 1. The key geometrical property of the domain is that, there are exits on the boundary, doors inside the domain, and walls both on the boundary and inside the domain.
Figure 1. Geometry of a bounded domain with exits on the boundary, doors inside the domain, and walls both on the boundary and inside the domain.
We consider a multi-agent system with J species. For
, we denote
the distribution function of j-th species at time
,
,
. Here
denote position and
denote velocity, where v is the velocity modulus,
is the velocity direction, and
is the velocity domain. Since polar coordinates for the velocity is used, the distribution function can also be written as
. Motivated by the granularity of crowd dynamics when the crowd size is not enough to justify the continuity of the distribution function over the variable
, following [2] [19], we assume that the variable
is discrete that can take values in the set:
(2.1)
where
is the maximum number of possible directions. Next, the velocity modulus v is modeled as a continuous deterministic variable which evolves in time and space according to macroscopic effects determined by the overall dynamics. In fact, experimental studies show that in practical situations the speed of pedestrians depends mainly on the level of congestion around them, this means that the velocity modulus v depends formally on the local density. Since the variable v is determined by local density, the kinetic type representation is given by the reduced distribution function
(2.2)
where
represents the distribution density of j-th species at time t and position
, move with direction
. Here
denotes the Dirac delta function. As in [19], dimensionless quantities are used. That is, we set reference quantities: L, the characteristic length of the domain;
, the highest velocity modulus that an agent can reach in low density and perfect environmental conditions; T, reference time, given by
;
, the maximal admissible number of agents per unit area. Then, the dimensionless position
, dimensionless time
, dimensionless velocity modulus
, and dimensionless distribution function
will be used, although hats will be omitted for simplicity. The local density of j-th species can be obtained by summing the distribution functions over the set of directions:
(2.3)
and the total local density is
(2.4)
then, similar to one species dynamics considered in [2] [19], for each
,
, the local balance of agents can be given by
(2.5)
where
on the right hand side is the collisional term representing the net balance of particles that move with direction
, due to geometrical effects and interactions between agents, which will be specified in next two subsections, and
(2.6)
is the transport coefficient indicating the transport velocity of j-th species along direction
, with velocity modulus specified by
. Here the square brackets are used to denote that
depends on
in a functional way, for instance, it can depend on
as studied in [37], or on the gradient of
by using the concept of perceived density [38]. For simplicity, we follow [37], that the maximal speed is kept under low density conditions (free flow regime), up to a certain critical density
, the velocity modulus decreases to zero (slowdown zone) for values of
greater than
. In the slowdown zone, a polynomial-type dependence of the velocity modulus on the local density is used. In this study, we take
, the functional
is taken as
(2.7)
To model the collision term on the right hand side of (2.5), we introduce the evacuation vector field. Follow [2] [19], we use the notion of test particles, with state
representing any agent in the whole system; candidate particles, with state
, which can reach in probability the state of the test particles after individual-based interactions with the environment or with field particles; and field particles, with state
, whose presence triggers the interactions of the candidate particles. The geometrical effects include:
1) The desire to reach the exit. In the crowd evacuation, the first rule in the dynamics is the desire to reach the exit. Recall that for a simple domain considered in [19], given a candidate particle at the point
, then the goal to reach the exit is determined by two factors, first, its distance to the exit, and second, a unit vector pointing from
to the exit. For the present case of complex domain with interior walls (or obstacles), these two factors should be modified. Since the domain is separated into several chambers, each agent at
should find the correct door or exit, called escaping exit (EE) for
, to escape from the current chamber, till finally reach the exit. Then the distance from
to its escaping exit is defined as
(2.8)
and the unit vector
, called evacuation vector, is defined pointing from
to the escaping exit. See Figure 2(a) for illustration of
and
, Figure 2(b) for illustration of an evacuation vector field. Note that we slightly modified this vector field near the top of the first chamber and the bottom of the second chamber to better avoid the wall, by taking the vector pointing to the midpoint of the door.
(a)(b)
Figure 2. (a) The distance from
to its escaping exit (EE) is denoted by
, and the unit vector pointing from
to the escaping exit is denoted by
. (b) The evacuation vector field for species aiming for Exit 1 on the right boundary.
2) The ability to avoid the wall. The second rule in the dynamics is the ability to avoid the wall. As in [19], given a candidate particle at the point
moving with direction
, we define the distance
from the particle to a wall at a point
where the particle is expected to collide with the wall. Then select the unit tangent vector
to the wall at
pointing to the direction much closer to the evacuation exit. See Figure 3 for illustration of
and
. This direction will be used to construct a geometrical preferred direction avoiding a collision with the walls.
By taking into account both factors described above, one has the geometrical preferred direction
defined by
(2.9)
Note that this choice means, the direction
(resp.,
) is more weighted while the agent is closer to the escaping exit (resp., wall).
To complete the model, we next consider the interactions between agents, by incorporating the tendency to search for less crowded directions, and the trend to follow the main stream of the motion, then the interaction-based preferred direction
is defined through the vector
(2.10)
where
is a parameter introduced to measure the compromise of the two factors, the unit vector
with direction
defined by taking
(2.11)
Figure 3. A particle in
moving with direction
is expected to collide the wall at
, with distance
.
is the tangent direction to the wall that would take it toward the evacuation exit.
where
denotes the directional derivative of
in the direction given by angle
.
Now we are ready to specify the collisional term
. First, for the geometrical effects, one introduces
for species j: the transition probability that a candidate particle h, i.e. with direction
, of species j, adjusts its direction into that of the test particle
due to the presence of evacuation exit and the wall. A natural constraint for
is
(2.12)
Consider that an agent changes direction, in probability, only to an adjacent clockwise or counter-clockwise direction in the discrete set
, that is, a candidate particle h may remain in the state h or turn to the states
. In the case
, we set
and, in the case
, we set
, due to periodicity of the velocity directions. Then a candidate particle h will update its direction by choosing the angle closest to
defined in (2.9) among the three candidate angles
and
. The transition probability is given by:
(2.13)
where
with
(2.14)
In (2.13),
denotes the Kronecker delta function. The coefficient
can be assumed proportional to a parameter
, up to a given constant transition rate
, thus it is defined by
(2.15)
where
, and
is a parameter representing the quality of the domain:
corresponds to the worst quality which forces agents to slow down or stop, while
corresponds to the best quality that agents can walk at the desired speed.
Next, for the interaction between agents, one introduces the transition probability
, that a candidate particle h, of species j, modifies its direction
into that of the test particle i, i.e.
, due to the search of less congested areas and the interaction with a field particle k of species
that moves with direction
. For each
and
, a natural constrain for
is
(2.16)
and the transition probability is given by
(2.17)
where r and
are defined by:
(2.18)
in which
is the interaction strength between species j and species
. Now the collisional term
in the kinetic Equation (2.5) can be specified thus (2.5) becomes
(2.19)
in which
and
are interaction rates.
3. Numerical Test
In this section, we perform a numerical simulation of crowd evacuation from the complex domain as illustrated in Figure 1. For simplicity, we only consider the crowd consists of agents with 2 species, and make species 1 and species 2 move in directions
and
, respectively. In the numerical tests, the side length of the square domain is normalized to be 1, and we take the best quality of the domain that agents can walk at the desired speed thus
. Some other parameters used in our simulation are: the transition rate due to geometrical effects
in (2.15), the interaction strength
in (2.18), that is, an agent only follows other agents of the same species, the interaction rates
and
are used in (2.19). Those parameters can be tuned to incorporate more complicated scenarios of interaction between different species and geometrical properties of the domain. Note that only normalized parameters are used in the tests, thus the model can be used for modeling different types of multi-agent system with specific characteristic length, time or speed.
In this test, the square domain is separated into three chambers arranged from left to right, with equal width being 1/3. For simplicity, we ignore the width of the wall. The length of the door connecting two adjacent chambers is set as 0.3, the first door located near the top between the first two chambers, and the second door located near the bottom between the last two chambers. Let species 1 located in the left chamber aiming for exit 1 located on the middle right boundary of the domain, and species 2 located in the right chamber aiming for exit 2 located on the middle left boundary of the domain. The evacuation vector field as discussed above can be adapted for each species, as illustrated in Figure 4.
Consider species 1 and species 2 with mass ratio 2:3. Assume that initially species 1 and species 2 are uniformly distributed in
and
, respectively, with equal distribution for each moving direction
, that is, the initial distribution is given, for
,
in which
is the characteristic function of D,
is the area of D. Note that with this distribution function, the total mass is normalized to be 1. Simulations are obtained by solving the kinetic Equations (2.19) with this initial distribution, while boundary conditions are implicitly imposed by the non-local action over the particles given by the interaction term. Indeed, agents are induced
(a)(b)
Figure 4. (a) Evacuation vector field for species 1 aiming for Exit 1. (b) Evacuation vector field for species 2 aiming for Exit 2.
to avoid walls through the effect of evacuation vector
pointing from
to the escaping exit, and wall-avoiding vector
tangent to the wall at
pointing to the direction more closer to the evacuation exit. Note that even in the extreme case of an agent reaching a point on the wall, the geometrical preferred direction (2.9) induces the agent to move with direction tangent to the wall. The kinetic Equations (2.19) are solved by splitting method, that is, in each time step, the distribution is first updated by the collision, followed by solving a transport equation with first order upwind difference scheme, see [2] [39] for details.
The time evolution of the local density function
for each species j,
, is shown in Figure 5, with species 1 in green and species 2 in red, by taking “the size of the exit” = 0.2.
Figure 6(a) shows that, the total “mass” for each species, the spatial integration of local density over
, is conserved before agents start leaving the domain. The total mass then decreases as agents evacuating the domain. We assume that all agents were evacuated at some time if the local density function is less than 10−8 for all
after this time, thus refer this time as evacuation time.
Figure 6(a) shows the time evolution of the mass for species 1, 2 and their summation in this setting. We noticed that species 1 starts to leave the domain earlier than species 2, with faster evacuation speed. This is reasonable since species 1 has less density than species 2. We also noticed that the two species are well separated in the motion, since we assumed that the agents only follow others of the same species in the interaction rules.
To further illustrate the relationship between the evacuation time and the size of the exit, we vary the size of the exit in the range
. The evacuation time is decreased as we increase the size the exit, as shown in Figure 6(b).
(a)(b)
Figure 6. (a) The evolution in time of the mass for species 1, 2 and their summation, with “size of the exit” = 0.2. (b) Evacuation time for different sizes of the exit. (a) Total mass inside the domain; (b) Evacuation time.
4. Conclusion and Perspectives
This paper is devoted to introducing the evacuation vector filed for a kinetic modeling of crowd evacuation in complex domain, in which interior walls and doors divide the domain into several chambers. The geometrical effects may come from the walls both inside the domain and on the boundary, the exits, and the doors connecting the chambers. The evacuation vector field incorporated all the geometrical effects in crowd evacuation. This is useful for modeling the crowd evacuation from complex venue. It will be useful for modeling the crowd evacuation from complex venue by specifying the corresponding evacuation vector field.
Acknowledgements
This research is partially support by National Natural Science Foundation of China (Nos. 11871335 and 11971008).