# A Multistory Building Evacuation Model Based on Multiple-Factor Analysis

Authors: Yang Zhou; Tanghong Wu; Gaofan Zhang; Zichuan Fan
Journal: Advances in Civil Engineering
 (2019)

---

## Abstract

Emergency evacuation is an important issue in public security. To make a considerate plan, various situations are presented including blocking the accident area and letting the emergency access path available. In order to offer dynamic evacuation routes due to different circumstances, a multistory building evacuation model is proposed. Firstly, to analyse the patency of the building, an evacuation formula is applied after binary processing. The function of evacuation time and some other parameters is given by means of regression analysis. Secondly, the cellular automata (CA) algorithm was applied to illustrate the effect of the bottleneck. The response of evacuation time could be approximately optimized through calculating time step of the CA simulation. Finally, the value of maximum evacuation population density could be determined according to the analysis of CA simulation results, which was related to the switch state of the emergency channel. The emergency evacuation model was simulated by using the Louvre museum as an example. The results of the simulation presented some feasible evacuation routes in all kinds of situations. Furthermore, the functional relationship would also be given among evacuation time with the diversity of tourists, pedestrian density, and width of exits. It can give a different perspective that the multistory building evacuation model shows excellent adaptability to different circumstances.


---

## Body

## 1. Introduction

In recent years, there have been many terrorist attacks around the world, which poses a great threat to the safety of residents and tourists [1, 2] and caused great psychological trauma to the victims after terrorist attacks [3, 4]. Terrorist attacks require the rapid evacuation of all tourists. The safety of tourists, evacuation time, and emergency handling are always the focus of such problem.This paper would discuss the evacuation of multistory buildings based on the Louvre terrorist attack [5, 6]. To measure the number of people and to detect an emergency condition in the building, two devices have been included in Louvre’s evacuation system. Preprocessing of binary images can describe the details of Louvre’s architectural thoroughly. The location of the bottleneck can be determined by analysing the patency rate. Furthermore, the multistory building evacuation algorithm was established to provide dynamic optimal path allocation, where the emergency and dangerous area were considered based on the 3D model. A cellular automata (CA) model was used to simulate the effect of the bottleneck on evacuation time and modified the evacuation time [7]. It is necessary to simulate the situations of congestion in the accident area and allow the emergency personnel to enter the Louvre. According to the simulation data, the influence of diversity of tourists (disability, age group, and pregnant women), pedestrian density, and width of exits on evacuation time was analysed. It should be pointed out that the adaptation of the model in different buildings may be verified by the simulation of evacuation in rectangular, L-shaped, and composite structures.In this paper, the summary and unnoticed things of related work were studied and discussed in Section2. Image processing and evaluation formula of the patency of the bottleneck were discussed and calculated in Section 2. Moreover, a multistory building evacuation algorithm was used to calculate the optimal path, and the cellular automata model was used to simulate. Section 3 simulated the evacuation routes planning for different emergency situations. Section 4 analysed the influence of different variables on evacuation time based on the simulation data. Finally, the conclusions were shown in Section 5.


## 2. Related Works

The evacuation system in the building has been a hot issue over recent decades [8, 9], especially for multifloor building with at least one certain stairway or elevator. Different methods such as cellular automata models, social force models, and fluid-dynamic models have been investigated based on mathematics by computing.Early works proposed a classic problem which is a highly transient, stochastic, nonlinear, integer programming problem [10]. A utilizing queueing network model was proved useful in the design of emergency evacuation plans soon after. Targeting at these issues, Pauls [11] summarized the history of investigations into calculating evacuation times, including the basic concepts along with selected calculation methods [11]. Moreover, Smith [10] discussed this special class of problem. His team improved the previous methodology by adding state-dependent queueing models to capture the nonlinear effects of increased occupant traffic flow along emergency evacuation routes [10].A preliminary model was proposed by Liu et al. [12] in 2009. In the context of evacuation from a water-related hazard, his team prototyped a multiagent-based evacuation simulation system. But relevant work is short for the definition of evacuation congestion in the numerical value. The functional relationship between evacuation time and correlation factors should also be investigated deeper. Furthermore, the arrangement of emergency personnel entering the building and dangerous situations and their safety should be considered in some special circumstances.Ma et al. [13] proposed an ultrahigh-rise building evacuation model with elevator aided based on cellular automaton which considered pedestrian movement and elevator operation. After summarizing previous researches, flow capacity and human behavior were considered to be of great importance in investigating the safety of the evacuation process. During the same period, Zhang et al. [14] established a multinode hierarchical data model based on a hierarchical route algorithm. A large crowd evacuation simulation was then given. They also gave some social factors to the model as the formula of social force. Their 3D model showed more efficiently on the topological relations and geometric properties of the building features. However, such previous research has not considered the influence brought by the diversity of tourists. In addition, the evacuation time and related factors may not be accurate with the calculation of the evacuation route.Xiong et al. [15] proposed a dynamic indoor field model with three typical characteristics. Firstly, there was not only static information but also dynamic information, such as outdoor and indoor building geometry, sensors, fire spread, and personal behavior. Spatial calculations were given based on a three-dimensional space grid. They analysed potential congestion and stagnation during the evacuation. The result of the designed evacuation method can support individual evacuation route and evacuation assessment.


## 3. Model Design

### 3.1. Image Preprocessing

An accurate evacuation plan needs a schematic diagram of the floor plan, which thoroughly described the architectural details of Louvre. It is reasonable to put the structure map of Louvre into binarization as a pretreatment after analysing the map [16]. The gray level image of the Louvre area should be converted into a binary image based on im2bw function of Matlab [17]. To realize the binarization of the map, the grayscale of pixels which is larger than a certain gray value should be set as 1; similarly, the gray level which is less than this value should be set as the 0. Hence, the quantifying terrain factor was accomplished. Figure 1 shows the result of the binarization of the ground floor in the exhibition area.Figure 1
The binarization of topographic distribution on the first floor of the Louvre.


### 3.2. Bottleneck Location Determination Model

When an emergency situation happened, exits would be filled with evacuees immediately. The number of people in each exit of the exhibition area will increase sharply due to the panic sensation of the visitors. Visitors will peak the human density at the exit which exceeds the maximum operational capacity. Such disturbance will finally result in congestion. This kind of phenomenon, which limited people’s activity space, is defined as the bottleneck in this paper. As the maximum allowable pedestrian movement is not enough for evacuation flow of the exit, a semiellipse-shaped crowded area will appear at the exit. Hence, this paper investigated the extent of bottlenecks by examining the characteristics of the semiellipse area.As shown in Figure2, the yellow part represents the exit. The white area means the tendency of export population evacuation where the individual in a group of people is simplified into a single white point. The red semiellipse border shows a standard trend of the congestion area. The exit is simplified into a two-dimensional rectangular space of length l and height h, with the midpoint of the exit as the origin. Due to the complicated and narrow terrain of the Louvre, the increasing human density at the exits is also restricted by the topography inside, which is also one of the key factors causing the bottleneck.Figure 2
An illustrative diagram of the bottleneck.The bottleneck is a dynamic process which starts from generation to enlargement and then disappearance. The approximate semielliptical shadow area near the exit in Figure2 indicates the area of bottleneck S. The discriminant equations of bottleneck Bott are as follows:(1)BottS=2∫0pqpp2−x2dx,S0=hl,r=SS0,where p is the short semiaxis length of the ellipse, q is the long semiaxis length of the semiellipse, S is the area of semiellipse, S0 is the area of the rectangular space, and R is the ratio between S and S0. This paper regulated that the bottleneck occurs when elliptical area S occupies 10% of the space area S0. To ensure personal safety, the proportion of the certain area in the model should be less than 30%.In terms of the patency rate, after obtaining the binary matrix of Louvre’s topographic distribution, all the possible bottlenecks in the certain floor were analysed on the basis of the binary graph. Consequently, theObs evaluation formula of patency was applied in the model according to the interaction among points in the k-means clustering algorithm.As for the index of the similarity degree, individual with larger correlation coefficient “Ca” has more similarity. In the planar structure of the Louvre, the coefficient of the movable range (white region) which is signed as 1 has an influence on other people, while the coefficient of inaccessible range (black region) which is signed as 0 has no influence on other people. The smaller the distance index Od is, the more similar it is for individuals.Euclidean distance was used as the evaluation index in terms of the planar structure of the Louvre in this paper. Exponential attenuation function can establish the discriminant function based on the Euclidean distance. The exponential function (basee) was chosen as the correlation discriminant function. The Obs evaluation formula of the patency is shown as follows [18].(2)Obs=fOd=∑n=1∞A0e−Od×b+c,Od=xn−x2+yn−y2,where x,y is the coordinate position of the point to be evaluated, xn,yn is the coordinate position of some other point, A0 is the amplitude of the evaluation formula, and b and c are variables related to the sensitivity of the discriminant function.Then, the evaluation system was applied to the binary matrix of the Louvre terrain distribution which obtained the patency coefficient of each point in the matrix. The distribution is shown in Figure3.Figure 3
Patency distribution map of each area on the first floor of the Louvre.The channel may be congested, as shown in Figure3. Patency rate of the region could be seen by the corresponding value of the ribbon. The blue area represents inaccessible, the green part represents congested, and the yellow part represents smooth.If turning the image into 3D, congestion would be more likely to occur when the contribution rate was lower. The potential point of the bottleneck signed as “×” at the valley is indicated in Figure 4 (D1,…,D5 represents 5 regional distribution of Louvre in hereinafter).Figure 4
3D diagram of regional patency on the first floor of the Louvre.


### 3.3. Multistory Building Evacuation Algorithm

The Louvre is a multistory building. The model building and algorithm design are quite different compared to single-story buildings. There must be some common parts due to the limited path capacity and common areas among floors. Higher source points need to share certain sections with lower source points. The actual flow of these shared sections is generally affected by the convergence of staff on each floor. Hence, the pedestrian movement “n” in each path is not always a constant but a variable that changed constantly according to time.Before construction, the rules for the multistory building evacuation algorithm were defined as follows [17]:Rule 1: ifP1, P2, …,Pk is the path selected to evacuating people, then all evacuation groups in the optimal evacuation plan require an equal evacuation time, which is indicated as T1, T2, …,TkRule 2: letP be an aggregation of paths determined by the feasible path algorithm. For any path Pk∈P, adding the path Pk to the set of feasible paths will not improve the evacuation schemeRule 3: letP be a set of feasible paths determined by subalgorithms. For the elements of P satisfying T1≤T2≤…≤Tk, the optimal evacuation routes P1,P2, …,Pk (m1≤m) are determined by(3)∑k=1m1Tpm1−Tpk−1fk≤x≤∑k=1m1+1Tpm1+1−Tpk−1fk.In order to optimize the whole evacuation model of Louvre, the minimization of evacuation time was taken as the objective function. Considering the existence of the common section, the floor requiring longer evacuation time should be evacuated first. Meanwhile, the shorter evacuation route should be saturated to optimize utilization of time.The following is a partial description of the algorithm for the evacuation model of multistory buildings [13]:Step 0: initialize the input floor setS. Initialize the number of people who need to be evacuated on each floor; initialize the passage time tij of each section; initialize the total number of trapped people in each layer input qW; add Z0 as the superoutlet, Z0 is the set of four exits in the Louvre which is signed as C2, C5, C7, and E1 in the following text; K0wr is the initial evacuation route set; H is the floor set; F is the dynamic flow set; Γ is the evacuation time set of each floor.Step 1: use Dijkstra algorithm to find the shortest pathPw from evacuation zone S to superterminal Z0 and calculate the passage time TPw of the path.Step 2: calculate the maximum capacityPk of the path. Let fk=mincij∣eij∈Pk, and update the maximum capacity:(4)cij=cij−fk,eij⊆pk,cij,eij⊊pk,on each arc. Ifcij=0, delete the arc eij from the original network and update the network.Step 3: determine the path setKwr∪k,rPkwr for evacuation according to P1,P2,…,Pmi, end of evacuation time Γ0=∪Twr, and traffic collection F0=fkwr. The flow chart of the algorithm is shown in Figure 5.Figure 5
Algorithm flow chart of model two.


### 3.4. Cellular Automata Model

In actual situations, the number of evacuees in the Louvre is possible to be greater than the sum of the maximum capacity per unit time of all paths [19]. Hence, during the process of evacuation, people rushing into exits can result in different degrees of bottlenecks, which greatly extended the evacuation time of each section of the road. Due to this situation, the evacuation time Γ of each path calculated through the multistory building evacuation model (model 2) was not accurate and meaningless.To solve the problem, modifying the evacuation time aggregationΓ of each layer through the CA model must be done to simulate the effect of the bottleneck on evacuation time, which means to infer the revised evacuation time aggregation Γ∗ of each layer [20]. As a common method, the dynamic process of crowd evacuation can be observed intuitively using the cellular automata model. It also helps to discuss the determinants of bottlenecks. Therefore, this paper modifies and simulates the agent model through cellular automata.Regarded as a dynamic system in a cellular space, CA is composed of discrete, finite state cells. CA evolves in discrete time dimension according to certain local rules. Each cell has one or more states as a specific parameter. The state of the cell was selected in the finite state set such as the spatial characteristic “occupied and vacant.” In the cellular automata model, the evacuation pedestrian can only move the length of one cell within each time stept. Two dynamic parameter values including the direction parameter and the space parameter is the sum of the mobile income. Its formula is represented as follows:(5)Pij=Dij+Eij,where Pij is the mobile income parameter, Dij is the directional dynamic parameter, and Eij is the space dynamic parameter. The simulation process using cellular automata is shown in Figure 6.Figure 6
Simulation flow chart based on CA.Some significant parameters will be explained in the following sections.


#### 3.4.1. Description of Competitiveness Value

Due to the difference of age and physical fitness of individual based on the cellular automata model, the competitiveness valueComp is put forward to describe the ability of the agent reaching the target point firstly when encountering a conflict of the target point. The bigger the value of the individual’s competitiveness is, the easier it is to win the confliction and reach the target point.Taking into consideration that personal physiological aspects have genderGen, age Age, the degree of disability Dis, and whether to bring a child Chi, the competitiveness formula is represented as follows:(6)CompGen+Age/18−ChiDis,0≤Age≤22,Gen+40/Age−ChiDis,22<Age.


#### 3.4.2. Cell

The simulation model of pedestrian evacuation is built in a 2D discrete cellular grid system with the size ofUx×Uy. The moving area of pedestrian evacuation space was divided into Ux×Uy discrete cellular spaces with equal size. There is only one pedestrian that can be accommodated in each cell position in the system. The pedestrian simulation process is also discretized to equal time step. Within each discrete time step, a pedestrian can only move a cell’s position.


#### 3.4.3. Directional Dynamic Parameter

In a moving area where evacuees are located in the center, the value of the corresponding directional parameter matrix element is shown as follows:(7)Dij=S00−Sij1,i+j=1or−1,S00−Sij2,i+j=1,2,or−2,where S00 is the shortest distance of the safe exit in the center of the mobile field and Sij is the shortest distance from cellular i,j to safe exit in pedestrian movement field.


#### 3.4.4. Space Dynamic Parameter

Pedestrians are not allowed to cross fences or obstacles; at the same time, they can get out of the cellular space only through the safe exit of the room. The value of the center cellular position is 0. If the cell is not occupied by a person or an obstacle, its occupation value is 1; otherwise, is −1. If the cell is −1, pedestrians in the center cell cannot reach this cell:(8)Eij=1,empty  cellular,0,central  cellular,1,central occupied or obstructed.


#### 3.4.5. Attraction

AttractionS is used to describe the behavior of pedestrians which tend to choose the nearest exit. Pedestrian evacuation movement is purposeful and directional. The destination of pedestrian evacuation is the exit. The direction of movement is the safe direction of the pedestrian evacuation. The closer the cellular position is to the exit, the stronger the attraction of the cell is to the pedestrian, and the bigger the possibility is to the pedestrian entering the exit. The formula for calculating the attraction of a cell is as follows [7, 21]:(9)Sij=1minmx−xnm2+y−ynm2,empty  cellular,M,cellular  with obstacles,where Sxy is the shortest distance from the cellular x,y to the safe exit, x,y are coordinates of cells in the evacuation system, xnm,ynm are coordinates in the evacuation system of the nth cell from mth room, and M is a positive number which tends to infinity. The plan of the simplified refuge floor and the corresponding static floor field for the doors with the colour bar indicate different distant values, as shown in Figure 7. The red part indicates the exits whose center points are (40, 0) and (60, 0) and (30, 0), (70, 0), and (50, 100), respectively. The contour line indicates the attraction of individual. The darker the colour is, the less attractive it is for each person.Figure 7
The plan of a static floor field for the doors.
(a)
(b)In Figure8, simulation by using cellular automata method gives three different conditions during evacuation. Figure 8(a) shows a state of an impending bottleneck, Figure 8(b) shows the state of the bottleneck when it reaches a critical size, and Figure 8(c) shows a state in the bottleneck recession.Figure 8
Simulation process of bottleneck formation and disappearance.
(a)
(b)
(c)


## 3.1. Image Preprocessing

An accurate evacuation plan needs a schematic diagram of the floor plan, which thoroughly described the architectural details of Louvre. It is reasonable to put the structure map of Louvre into binarization as a pretreatment after analysing the map [16]. The gray level image of the Louvre area should be converted into a binary image based on im2bw function of Matlab [17]. To realize the binarization of the map, the grayscale of pixels which is larger than a certain gray value should be set as 1; similarly, the gray level which is less than this value should be set as the 0. Hence, the quantifying terrain factor was accomplished. Figure 1 shows the result of the binarization of the ground floor in the exhibition area.Figure 1
The binarization of topographic distribution on the first floor of the Louvre.


## 3.2. Bottleneck Location Determination Model

When an emergency situation happened, exits would be filled with evacuees immediately. The number of people in each exit of the exhibition area will increase sharply due to the panic sensation of the visitors. Visitors will peak the human density at the exit which exceeds the maximum operational capacity. Such disturbance will finally result in congestion. This kind of phenomenon, which limited people’s activity space, is defined as the bottleneck in this paper. As the maximum allowable pedestrian movement is not enough for evacuation flow of the exit, a semiellipse-shaped crowded area will appear at the exit. Hence, this paper investigated the extent of bottlenecks by examining the characteristics of the semiellipse area.As shown in Figure2, the yellow part represents the exit. The white area means the tendency of export population evacuation where the individual in a group of people is simplified into a single white point. The red semiellipse border shows a standard trend of the congestion area. The exit is simplified into a two-dimensional rectangular space of length l and height h, with the midpoint of the exit as the origin. Due to the complicated and narrow terrain of the Louvre, the increasing human density at the exits is also restricted by the topography inside, which is also one of the key factors causing the bottleneck.Figure 2
An illustrative diagram of the bottleneck.The bottleneck is a dynamic process which starts from generation to enlargement and then disappearance. The approximate semielliptical shadow area near the exit in Figure2 indicates the area of bottleneck S. The discriminant equations of bottleneck Bott are as follows:(1)BottS=2∫0pqpp2−x2dx,S0=hl,r=SS0,where p is the short semiaxis length of the ellipse, q is the long semiaxis length of the semiellipse, S is the area of semiellipse, S0 is the area of the rectangular space, and R is the ratio between S and S0. This paper regulated that the bottleneck occurs when elliptical area S occupies 10% of the space area S0. To ensure personal safety, the proportion of the certain area in the model should be less than 30%.In terms of the patency rate, after obtaining the binary matrix of Louvre’s topographic distribution, all the possible bottlenecks in the certain floor were analysed on the basis of the binary graph. Consequently, theObs evaluation formula of patency was applied in the model according to the interaction among points in the k-means clustering algorithm.As for the index of the similarity degree, individual with larger correlation coefficient “Ca” has more similarity. In the planar structure of the Louvre, the coefficient of the movable range (white region) which is signed as 1 has an influence on other people, while the coefficient of inaccessible range (black region) which is signed as 0 has no influence on other people. The smaller the distance index Od is, the more similar it is for individuals.Euclidean distance was used as the evaluation index in terms of the planar structure of the Louvre in this paper. Exponential attenuation function can establish the discriminant function based on the Euclidean distance. The exponential function (basee) was chosen as the correlation discriminant function. The Obs evaluation formula of the patency is shown as follows [18].(2)Obs=fOd=∑n=1∞A0e−Od×b+c,Od=xn−x2+yn−y2,where x,y is the coordinate position of the point to be evaluated, xn,yn is the coordinate position of some other point, A0 is the amplitude of the evaluation formula, and b and c are variables related to the sensitivity of the discriminant function.Then, the evaluation system was applied to the binary matrix of the Louvre terrain distribution which obtained the patency coefficient of each point in the matrix. The distribution is shown in Figure3.Figure 3
Patency distribution map of each area on the first floor of the Louvre.The channel may be congested, as shown in Figure3. Patency rate of the region could be seen by the corresponding value of the ribbon. The blue area represents inaccessible, the green part represents congested, and the yellow part represents smooth.If turning the image into 3D, congestion would be more likely to occur when the contribution rate was lower. The potential point of the bottleneck signed as “×” at the valley is indicated in Figure 4 (D1,…,D5 represents 5 regional distribution of Louvre in hereinafter).Figure 4
3D diagram of regional patency on the first floor of the Louvre.


## 3.3. Multistory Building Evacuation Algorithm

The Louvre is a multistory building. The model building and algorithm design are quite different compared to single-story buildings. There must be some common parts due to the limited path capacity and common areas among floors. Higher source points need to share certain sections with lower source points. The actual flow of these shared sections is generally affected by the convergence of staff on each floor. Hence, the pedestrian movement “n” in each path is not always a constant but a variable that changed constantly according to time.Before construction, the rules for the multistory building evacuation algorithm were defined as follows [17]:Rule 1: ifP1, P2, …,Pk is the path selected to evacuating people, then all evacuation groups in the optimal evacuation plan require an equal evacuation time, which is indicated as T1, T2, …,TkRule 2: letP be an aggregation of paths determined by the feasible path algorithm. For any path Pk∈P, adding the path Pk to the set of feasible paths will not improve the evacuation schemeRule 3: letP be a set of feasible paths determined by subalgorithms. For the elements of P satisfying T1≤T2≤…≤Tk, the optimal evacuation routes P1,P2, …,Pk (m1≤m) are determined by(3)∑k=1m1Tpm1−Tpk−1fk≤x≤∑k=1m1+1Tpm1+1−Tpk−1fk.In order to optimize the whole evacuation model of Louvre, the minimization of evacuation time was taken as the objective function. Considering the existence of the common section, the floor requiring longer evacuation time should be evacuated first. Meanwhile, the shorter evacuation route should be saturated to optimize utilization of time.The following is a partial description of the algorithm for the evacuation model of multistory buildings [13]:Step 0: initialize the input floor setS. Initialize the number of people who need to be evacuated on each floor; initialize the passage time tij of each section; initialize the total number of trapped people in each layer input qW; add Z0 as the superoutlet, Z0 is the set of four exits in the Louvre which is signed as C2, C5, C7, and E1 in the following text; K0wr is the initial evacuation route set; H is the floor set; F is the dynamic flow set; Γ is the evacuation time set of each floor.Step 1: use Dijkstra algorithm to find the shortest pathPw from evacuation zone S to superterminal Z0 and calculate the passage time TPw of the path.Step 2: calculate the maximum capacityPk of the path. Let fk=mincij∣eij∈Pk, and update the maximum capacity:(4)cij=cij−fk,eij⊆pk,cij,eij⊊pk,on each arc. Ifcij=0, delete the arc eij from the original network and update the network.Step 3: determine the path setKwr∪k,rPkwr for evacuation according to P1,P2,…,Pmi, end of evacuation time Γ0=∪Twr, and traffic collection F0=fkwr. The flow chart of the algorithm is shown in Figure 5.Figure 5
Algorithm flow chart of model two.


## 3.4. Cellular Automata Model

In actual situations, the number of evacuees in the Louvre is possible to be greater than the sum of the maximum capacity per unit time of all paths [19]. Hence, during the process of evacuation, people rushing into exits can result in different degrees of bottlenecks, which greatly extended the evacuation time of each section of the road. Due to this situation, the evacuation time Γ of each path calculated through the multistory building evacuation model (model 2) was not accurate and meaningless.To solve the problem, modifying the evacuation time aggregationΓ of each layer through the CA model must be done to simulate the effect of the bottleneck on evacuation time, which means to infer the revised evacuation time aggregation Γ∗ of each layer [20]. As a common method, the dynamic process of crowd evacuation can be observed intuitively using the cellular automata model. It also helps to discuss the determinants of bottlenecks. Therefore, this paper modifies and simulates the agent model through cellular automata.Regarded as a dynamic system in a cellular space, CA is composed of discrete, finite state cells. CA evolves in discrete time dimension according to certain local rules. Each cell has one or more states as a specific parameter. The state of the cell was selected in the finite state set such as the spatial characteristic “occupied and vacant.” In the cellular automata model, the evacuation pedestrian can only move the length of one cell within each time stept. Two dynamic parameter values including the direction parameter and the space parameter is the sum of the mobile income. Its formula is represented as follows:(5)Pij=Dij+Eij,where Pij is the mobile income parameter, Dij is the directional dynamic parameter, and Eij is the space dynamic parameter. The simulation process using cellular automata is shown in Figure 6.Figure 6
Simulation flow chart based on CA.Some significant parameters will be explained in the following sections.


### 3.4.1. Description of Competitiveness Value

Due to the difference of age and physical fitness of individual based on the cellular automata model, the competitiveness valueComp is put forward to describe the ability of the agent reaching the target point firstly when encountering a conflict of the target point. The bigger the value of the individual’s competitiveness is, the easier it is to win the confliction and reach the target point.Taking into consideration that personal physiological aspects have genderGen, age Age, the degree of disability Dis, and whether to bring a child Chi, the competitiveness formula is represented as follows:(6)CompGen+Age/18−ChiDis,0≤Age≤22,Gen+40/Age−ChiDis,22<Age.


### 3.4.2. Cell

The simulation model of pedestrian evacuation is built in a 2D discrete cellular grid system with the size ofUx×Uy. The moving area of pedestrian evacuation space was divided into Ux×Uy discrete cellular spaces with equal size. There is only one pedestrian that can be accommodated in each cell position in the system. The pedestrian simulation process is also discretized to equal time step. Within each discrete time step, a pedestrian can only move a cell’s position.


### 3.4.3. Directional Dynamic Parameter

In a moving area where evacuees are located in the center, the value of the corresponding directional parameter matrix element is shown as follows:(7)Dij=S00−Sij1,i+j=1or−1,S00−Sij2,i+j=1,2,or−2,where S00 is the shortest distance of the safe exit in the center of the mobile field and Sij is the shortest distance from cellular i,j to safe exit in pedestrian movement field.


### 3.4.4. Space Dynamic Parameter

Pedestrians are not allowed to cross fences or obstacles; at the same time, they can get out of the cellular space only through the safe exit of the room. The value of the center cellular position is 0. If the cell is not occupied by a person or an obstacle, its occupation value is 1; otherwise, is −1. If the cell is −1, pedestrians in the center cell cannot reach this cell:(8)Eij=1,empty  cellular,0,central  cellular,1,central occupied or obstructed.


### 3.4.5. Attraction

AttractionS is used to describe the behavior of pedestrians which tend to choose the nearest exit. Pedestrian evacuation movement is purposeful and directional. The destination of pedestrian evacuation is the exit. The direction of movement is the safe direction of the pedestrian evacuation. The closer the cellular position is to the exit, the stronger the attraction of the cell is to the pedestrian, and the bigger the possibility is to the pedestrian entering the exit. The formula for calculating the attraction of a cell is as follows [7, 21]:(9)Sij=1minmx−xnm2+y−ynm2,empty  cellular,M,cellular  with obstacles,where Sxy is the shortest distance from the cellular x,y to the safe exit, x,y are coordinates of cells in the evacuation system, xnm,ynm are coordinates in the evacuation system of the nth cell from mth room, and M is a positive number which tends to infinity. The plan of the simplified refuge floor and the corresponding static floor field for the doors with the colour bar indicate different distant values, as shown in Figure 7. The red part indicates the exits whose center points are (40, 0) and (60, 0) and (30, 0), (70, 0), and (50, 100), respectively. The contour line indicates the attraction of individual. The darker the colour is, the less attractive it is for each person.Figure 7
The plan of a static floor field for the doors.
(a)
(b)In Figure8, simulation by using cellular automata method gives three different conditions during evacuation. Figure 8(a) shows a state of an impending bottleneck, Figure 8(b) shows the state of the bottleneck when it reaches a critical size, and Figure 8(c) shows a state in the bottleneck recession.Figure 8
Simulation process of bottleneck formation and disappearance.
(a)
(b)
(c)


## 3.4.1. Description of Competitiveness Value

Due to the difference of age and physical fitness of individual based on the cellular automata model, the competitiveness valueComp is put forward to describe the ability of the agent reaching the target point firstly when encountering a conflict of the target point. The bigger the value of the individual’s competitiveness is, the easier it is to win the confliction and reach the target point.Taking into consideration that personal physiological aspects have genderGen, age Age, the degree of disability Dis, and whether to bring a child Chi, the competitiveness formula is represented as follows:(6)CompGen+Age/18−ChiDis,0≤Age≤22,Gen+40/Age−ChiDis,22<Age.


## 3.4.2. Cell

The simulation model of pedestrian evacuation is built in a 2D discrete cellular grid system with the size ofUx×Uy. The moving area of pedestrian evacuation space was divided into Ux×Uy discrete cellular spaces with equal size. There is only one pedestrian that can be accommodated in each cell position in the system. The pedestrian simulation process is also discretized to equal time step. Within each discrete time step, a pedestrian can only move a cell’s position.


## 3.4.3. Directional Dynamic Parameter

In a moving area where evacuees are located in the center, the value of the corresponding directional parameter matrix element is shown as follows:(7)Dij=S00−Sij1,i+j=1or−1,S00−Sij2,i+j=1,2,or−2,where S00 is the shortest distance of the safe exit in the center of the mobile field and Sij is the shortest distance from cellular i,j to safe exit in pedestrian movement field.


## 3.4.4. Space Dynamic Parameter

Pedestrians are not allowed to cross fences or obstacles; at the same time, they can get out of the cellular space only through the safe exit of the room. The value of the center cellular position is 0. If the cell is not occupied by a person or an obstacle, its occupation value is 1; otherwise, is −1. If the cell is −1, pedestrians in the center cell cannot reach this cell:(8)Eij=1,empty  cellular,0,central  cellular,1,central occupied or obstructed.


## 3.4.5. Attraction

AttractionS is used to describe the behavior of pedestrians which tend to choose the nearest exit. Pedestrian evacuation movement is purposeful and directional. The destination of pedestrian evacuation is the exit. The direction of movement is the safe direction of the pedestrian evacuation. The closer the cellular position is to the exit, the stronger the attraction of the cell is to the pedestrian, and the bigger the possibility is to the pedestrian entering the exit. The formula for calculating the attraction of a cell is as follows [7, 21]:(9)Sij=1minmx−xnm2+y−ynm2,empty  cellular,M,cellular  with obstacles,where Sxy is the shortest distance from the cellular x,y to the safe exit, x,y are coordinates of cells in the evacuation system, xnm,ynm are coordinates in the evacuation system of the nth cell from mth room, and M is a positive number which tends to infinity. The plan of the simplified refuge floor and the corresponding static floor field for the doors with the colour bar indicate different distant values, as shown in Figure 7. The red part indicates the exits whose center points are (40, 0) and (60, 0) and (30, 0), (70, 0), and (50, 100), respectively. The contour line indicates the attraction of individual. The darker the colour is, the less attractive it is for each person.Figure 7
The plan of a static floor field for the doors.
(a)
(b)In Figure8, simulation by using cellular automata method gives three different conditions during evacuation. Figure 8(a) shows a state of an impending bottleneck, Figure 8(b) shows the state of the bottleneck when it reaches a critical size, and Figure 8(c) shows a state in the bottleneck recession.Figure 8
Simulation process of bottleneck formation and disappearance.
(a)
(b)
(c)


## 4. Simulated Analysis of Multistory Building Evacuation Algorithm

### 4.1. Simulation of Emergency Evacuation

Based on the multistory building evacuation model established in the previous sections, the model area partition and connection channel were shown in the schematic diagram (Figure9). The dots of each layer in the 3D diagram represent regions, and the line segments represent the channels [14]. The evacuation algorithm for the multistory buildings was simulated and programmed based on Matlab and presented on the 3D model [18].Figure 9
Multilayer structure planarization process diagram of the Louvre.Each floor of the Louvre is divided into areas depending on where the bottleneck may occur [14]. Figure 9 shows the ideal plan of the leaving Louvre after transformation. The triangles represent four exits, different colours represent the area of different floors (or the exit of the layer), and each line represents the passage or stairway among each area; the value was obtained according to the distance of each channel. Four points, A3, A6, B4, and B7, were selected to simulate the evacuation points of the people. Then, the certain number of evacuees was simulated in each of the four districts.To get the optimal evacuation routes, path capacity and other parameters need to be calculated. Using the algorithm introduced in previous sections, the actual evacuation routes of each floor could be determined. After finding out various solutions of all feasible paths, an optimal evacuation plan can be determined. The simulated results of the evacuation scheme are shown in Table1.Table 1
The Louvre evacuation plan table.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
94.44
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
50.00
Evacuation zoneB4
1000
B4 ⟶ C3 ⟶ C2
23.61
B4 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
51.79
B4 ⟶ B5 ⟶ C4 ⟶ D2 ⟶ E1
59.29
B4 ⟶ A4 ⟶ A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
76.79
Evacuation zoneB7
800
B7 ⟶ C6 ⟶ C5
25.00
B7 ⟶ B8 ⟶ C7
29.17
B7 ⟶ B6 ⟶ C4 ⟶ C5
54.17The evacuation scheme obtained by simulation was expressed by the 3D multistory structure model of the Louvre. As shown in Figure10, the starting points of the graph are A3 and A6, where the red part is the routes selected for A3 and the blue part is for A6. The evacuation paths of each evacuation area were marked with arrows in Figure 10.Figure 10
Simulated evacuation scheme.Obviously, the capacity of passages was saturated. For example, in the evacuation scheme of theA3 region, in the shortest path A3⟶B3⟶B4⟶C3⟶C2, when the road A3⟶B3 reaches saturation, it is necessary to reselect A3⟶A7⟶B3 instead of the original scheme.


### 4.2. Path Planning for Different Emergency Situations

The path scheme would change considering some special circumstances in the museum. There were some different situations discussed: The accident area needs to be sealed off, and evacuees cannot pass through a certain area as the source of fire when the fire occurs; emergency personnel is required to enter the stadium as soon as possible. The simulation design is shown as follows.A3 and A6 were used as the evacuation point and B4 as the accident zone.


#### 4.2.1. Normal Situation

When an emergency would not occur, the initial number of evacuees inA3 and A6 zones is 600 and 700, respectively. The scheme of evacuation routes is shown in Table 2.Table 2
Path planning table in a normal emergency.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
61.11
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40


#### 4.2.2. Situation One: Seal the Accident Zone

When the accident happened in zoneB4, the zone needs to be blocked which means it would not be allowed to enter any more. The scheme of evacuation routes is shown in Table 3.Table 3
The Louvre evacuation plan table.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ C1 ⟶ D5 ⟶ E1
75.00
A3 ⟶ A4 ⟶ A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
89.29
A3 ⟶ A7 ⟶ B3 ⟶ C1 ⟶ D1 ⟶ E1
108.33
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A5 ⟶ B5 ⟶ C4 ⟶ D2 ⟶ E1
73.57The evacuation route simulations compare the situation one to the general case by the 3D multistory structure model as shown in Figure11. Green triangle B4 is the blocked zone. Red triangle A3 and blue triangle A6 are zones to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the route selection scheme of the evacuation zone A6.Figure 11
Evacuation route contrast diagram one: evacuation route map of (a) areasA3 and A6 without a dangerous situation and (b) zones A3 and A6 when a dangerous situation occurs.


#### 4.2.3. Situation Two: Allowing Emergency Personnel to Enter the Building

When the emergency occurs inB4, emergency personnel need to be allowed to enter the area as soon as possible. Emergency access would not be allowed. The scheme of evacuation routes is shown in Table 4.Table 4
Path planning table in situation two.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneB4
0
E1 ⟶ D2 ⟶ C4 ⟶ B6 ⟶ B4
50.00
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
94.44
A3 ⟶ A2 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
127.78
Evacuation zoneA6
700
A6 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40The evacuation routes simulations results are shown in Figure12. Green triangle B4 is the blockade area, and also the emergency personnel need to reach the point. Red triangle A3 and blue triangle A6 are areas to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the routes selection scheme of the evacuation zone A6.Figure 12
Evacuation route contrast diagram two: evacuation route map of (a) areasA3 and A6 without emergency personnel and (b) zones A3 and A6 without emergency personnel to enter the bulidings.
(a)
(b)


## 4.1. Simulation of Emergency Evacuation

Based on the multistory building evacuation model established in the previous sections, the model area partition and connection channel were shown in the schematic diagram (Figure9). The dots of each layer in the 3D diagram represent regions, and the line segments represent the channels [14]. The evacuation algorithm for the multistory buildings was simulated and programmed based on Matlab and presented on the 3D model [18].Figure 9
Multilayer structure planarization process diagram of the Louvre.Each floor of the Louvre is divided into areas depending on where the bottleneck may occur [14]. Figure 9 shows the ideal plan of the leaving Louvre after transformation. The triangles represent four exits, different colours represent the area of different floors (or the exit of the layer), and each line represents the passage or stairway among each area; the value was obtained according to the distance of each channel. Four points, A3, A6, B4, and B7, were selected to simulate the evacuation points of the people. Then, the certain number of evacuees was simulated in each of the four districts.To get the optimal evacuation routes, path capacity and other parameters need to be calculated. Using the algorithm introduced in previous sections, the actual evacuation routes of each floor could be determined. After finding out various solutions of all feasible paths, an optimal evacuation plan can be determined. The simulated results of the evacuation scheme are shown in Table1.Table 1
The Louvre evacuation plan table.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
94.44
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
50.00
Evacuation zoneB4
1000
B4 ⟶ C3 ⟶ C2
23.61
B4 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
51.79
B4 ⟶ B5 ⟶ C4 ⟶ D2 ⟶ E1
59.29
B4 ⟶ A4 ⟶ A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
76.79
Evacuation zoneB7
800
B7 ⟶ C6 ⟶ C5
25.00
B7 ⟶ B8 ⟶ C7
29.17
B7 ⟶ B6 ⟶ C4 ⟶ C5
54.17The evacuation scheme obtained by simulation was expressed by the 3D multistory structure model of the Louvre. As shown in Figure10, the starting points of the graph are A3 and A6, where the red part is the routes selected for A3 and the blue part is for A6. The evacuation paths of each evacuation area were marked with arrows in Figure 10.Figure 10
Simulated evacuation scheme.Obviously, the capacity of passages was saturated. For example, in the evacuation scheme of theA3 region, in the shortest path A3⟶B3⟶B4⟶C3⟶C2, when the road A3⟶B3 reaches saturation, it is necessary to reselect A3⟶A7⟶B3 instead of the original scheme.


## 4.2. Path Planning for Different Emergency Situations

The path scheme would change considering some special circumstances in the museum. There were some different situations discussed: The accident area needs to be sealed off, and evacuees cannot pass through a certain area as the source of fire when the fire occurs; emergency personnel is required to enter the stadium as soon as possible. The simulation design is shown as follows.A3 and A6 were used as the evacuation point and B4 as the accident zone.


### 4.2.1. Normal Situation

When an emergency would not occur, the initial number of evacuees inA3 and A6 zones is 600 and 700, respectively. The scheme of evacuation routes is shown in Table 2.Table 2
Path planning table in a normal emergency.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
61.11
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40


### 4.2.2. Situation One: Seal the Accident Zone

When the accident happened in zoneB4, the zone needs to be blocked which means it would not be allowed to enter any more. The scheme of evacuation routes is shown in Table 3.Table 3
The Louvre evacuation plan table.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ C1 ⟶ D5 ⟶ E1
75.00
A3 ⟶ A4 ⟶ A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
89.29
A3 ⟶ A7 ⟶ B3 ⟶ C1 ⟶ D1 ⟶ E1
108.33
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A5 ⟶ B5 ⟶ C4 ⟶ D2 ⟶ E1
73.57The evacuation route simulations compare the situation one to the general case by the 3D multistory structure model as shown in Figure11. Green triangle B4 is the blocked zone. Red triangle A3 and blue triangle A6 are zones to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the route selection scheme of the evacuation zone A6.Figure 11
Evacuation route contrast diagram one: evacuation route map of (a) areasA3 and A6 without a dangerous situation and (b) zones A3 and A6 when a dangerous situation occurs.


### 4.2.3. Situation Two: Allowing Emergency Personnel to Enter the Building

When the emergency occurs inB4, emergency personnel need to be allowed to enter the area as soon as possible. Emergency access would not be allowed. The scheme of evacuation routes is shown in Table 4.Table 4
Path planning table in situation two.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneB4
0
E1 ⟶ D2 ⟶ C4 ⟶ B6 ⟶ B4
50.00
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
94.44
A3 ⟶ A2 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
127.78
Evacuation zoneA6
700
A6 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40The evacuation routes simulations results are shown in Figure12. Green triangle B4 is the blockade area, and also the emergency personnel need to reach the point. Red triangle A3 and blue triangle A6 are areas to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the routes selection scheme of the evacuation zone A6.Figure 12
Evacuation route contrast diagram two: evacuation route map of (a) areasA3 and A6 without emergency personnel and (b) zones A3 and A6 without emergency personnel to enter the bulidings.
(a)
(b)


## 4.2.1. Normal Situation

When an emergency would not occur, the initial number of evacuees inA3 and A6 zones is 600 and 700, respectively. The scheme of evacuation routes is shown in Table 2.Table 2
Path planning table in a normal emergency.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
61.11
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40


## 4.2.2. Situation One: Seal the Accident Zone

When the accident happened in zoneB4, the zone needs to be blocked which means it would not be allowed to enter any more. The scheme of evacuation routes is shown in Table 3.Table 3
The Louvre evacuation plan table.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ C1 ⟶ D5 ⟶ E1
75.00
A3 ⟶ A4 ⟶ A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
89.29
A3 ⟶ A7 ⟶ B3 ⟶ C1 ⟶ D1 ⟶ E1
108.33
Evacuation zoneA6
700
A6 ⟶ B6 ⟶ C4 ⟶ D2 ⟶ E1
50.00
A6 ⟶ A5 ⟶ B5 ⟶ C4 ⟶ D2 ⟶ E1
73.57The evacuation route simulations compare the situation one to the general case by the 3D multistory structure model as shown in Figure11. Green triangle B4 is the blocked zone. Red triangle A3 and blue triangle A6 are zones to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the route selection scheme of the evacuation zone A6.Figure 11
Evacuation route contrast diagram one: evacuation route map of (a) areasA3 and A6 without a dangerous situation and (b) zones A3 and A6 when a dangerous situation occurs.


## 4.2.3. Situation Two: Allowing Emergency Personnel to Enter the Building

When the emergency occurs inB4, emergency personnel need to be allowed to enter the area as soon as possible. Emergency access would not be allowed. The scheme of evacuation routes is shown in Table 4.Table 4
Path planning table in situation two.
Zone
Initial number
PathP
Path lengthT
Evacuation zoneB4
0
E1 ⟶ D2 ⟶ C4 ⟶ B6 ⟶ B4
50.00
Evacuation zoneA3
600
A3 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
61.11
A3 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
94.44
A3 ⟶ A2 ⟶ A7 ⟶ B3 ⟶ B4 ⟶ C3 ⟶ C2
127.78
Evacuation zoneA6
700
A6 ⟶ A4 ⟶ B4 ⟶ C3 ⟶ C2
50.00
A6 ⟶ A4 ⟶ B3 ⟶ C3 ⟶ C2
50.40The evacuation routes simulations results are shown in Figure12. Green triangle B4 is the blockade area, and also the emergency personnel need to reach the point. Red triangle A3 and blue triangle A6 are areas to be evacuated. The red line is the route selection scheme of the evacuation zone A3, and the blue line is the routes selection scheme of the evacuation zone A6.Figure 12
Evacuation route contrast diagram two: evacuation route map of (a) areasA3 and A6 without emergency personnel and (b) zones A3 and A6 without emergency personnel to enter the bulidings.
(a)
(b)


## 5. Model Optimization and Simulation

### 5.1. Path Planning for Different Analyses of Topographic Structures

As mentioned above, the Dijkstra algorithm in the multistory building evacuation algorithm could calculate well the length of the shortest path. However, because of the bottleneck caused by congestion, the evacuation time cannot be calculated from the path length directly. Therefore, simulation based on cellular automata is necessary. Then, the functional relationship among evacuation time and other factors was fitted according to the multigroup data further by simulation data analysis.The program based on Matlab was used to simulate [17]. For the multistory structure model, the crowd dispersion in various regions of the Louvre was simulated, which shows the evacuation situation after calculating the optimal evacuation routes. As shown in the picture, the exhibition area was simulated on the first floor of the Louvre after binarization. The number of cells in the exhibition area was 500×1000, and the number of simulated populations was 10000, which was generated randomly in a movable area. In the simulation diagram, the black area was an inaccessible area such as obstacles or walls. The gray area was an empty cell, and the white parts were cells occupied by a pedestrian (Figure 13).Figure 13
Simulation images of cellular automata on the first floor of the Louvre.Through the simulation of cellular automata, the evacuation situation could be observed in a certain area in the multistory building structure model. The simulation of cellular automata could measure and analyse the time of bottleneck occurrence, the area of bottleneck, and time step by giving the planned paths.In view of the intricate internal structure of the Louvre, the basic topographic structures and simulation results of different populations were discussed in this paper.


#### 5.1.1. Rectangular Spatial Structure

The size of the cellular space is60×40 rectangular space structure evacuation model, as shown in Figure 14. The number of evacuees was 400, and the people were randomly distributed in the cellular space. The safe exit was located at the center of the wall whose size was 6 units.Figure 14
Simulation diagram of rectangular cellular automata.
(a)
(b)
(c)
(d)Table5 shows ten times of simulations of evacuation time. Note that the maximum bottleneck areas were under fixed parameters. Through ten times of simulation results, the standard deviation of evacuation time was 13.8076, which showed the range of experimental data was small and the simulation is stable. The average value of the maximum bottleneck area obtained by simulation was 360, as the rectangular region with this parameter tends to result in bottleneck.Table 5
Simulation results table of L-type channels.
Times of experiments
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
363
350
341
351
376
334
345
339
364
372
Maximum bottleneck area (grid)
340
370
364
397
354
384
364
312
336
387


#### 5.1.2. Spatial Structure of L-Shaped Channels

The evacuation model of the L-shaped channel spatial structure with the size of70×100 cells is shown in Figure 15. Simulate when the number of evacuees is 800. The safety exit is located at the center of the wall on the left of the corner, whose size is 8 units. The simulation results are shown in Table 6.Figure 15
Evacuation model diagram of the L-shaped channel spatial structure.
(a)
(b)
(c)Table 6
Path planning table in a normal emergency.
Number of experiments (times)
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
382
378
391
381
376
394
401
412
384
392
Maximum bottleneck area (grid)
160
210
154
124
154
178
184
162
196
157Through ten times of simulation results, the standard deviation of evacuation time was 10.6719, which shows the range of experimental data was small and the simulation was stable. Compared to the rectangular spatial structure, the bottleneck was not easy to occur. The average value of the maximum bottleneck area obtained by simulation was 167.9, as the evacuation results of the L-shaped channel were more stable.


#### 5.1.3. Compound Structure

Figure16 shows a simulation diagram of a multistructure evacuation model. The evacuation of people in complex terrain was simulated based on the CA model. Four cellular spaces were all 60×40 rectangular space structure with 400 evacuees in each space. It can be seen that the bottlenecks always occur at the narrower exits, while the main channel was unobstructed.Figure 16
Evacuation model diagram of the compound structure.
(a)
(b)


#### 5.1.4. Stability Analysis

The Grubbs criterion [22] was used to test the stability of the model fitting, which is based on normal distribution and is often used to judge the stability of industrial instrument data. It declares that if the residual Vi of a measured value xi satisfies the lower formula Vi=xi−x≥gn,a×σx, the data should be reduced. The experimental data of the rectangular spatial structure evacuation model and the L-channel spatial structure evacuation model in the simulation above were processed and verified.According to the Grubbs critical value table, when the test data were 11 groups, the average value of evacuation time data is 353.5, and the standard deviation is 13.8076. When the abnormal probability of its data is 95%,gn,a=2.234 and residual error Vi=30.8462. The reasonable range of data is (322.6538, 384.3462). Observation and measurement data showed that the simulation data were distributed in the interval and the model output results were stable.


### 5.2. Influence of Visitor Diversity

The competitiveness of ordinary tourists and disabled tourists in the cellular automata model was different. In the simulation model of this paper, competitiveness discrimination was simply divided into matricesCom∈0,1. The competitiveness of ordinary tourists was 1, and the competitiveness of disabled tourists was 0. The simulated curves of evacuation time and the proportion of disabled tourists are shown in Figure 17.Figure 17
Functional relationship between evacuation time and the ratio of disabled tourists.It is shown that the evacuation time would increase nonlinearly with the increase in the proportion of tourists of disabilities.For the simulation data, regression analysis was carried out further based on the polynomial regression functiony=an·xn+an−1·xn−1+⋯+a1·x1+a0. The quadratic regression analysis by polyfit function of Matlab [17] gave that the polynomial coefficients were 795.3380,119.7016,and350.9371.


### 5.3. Simulation Data Analysis

Based on the model, there may be a functional relationship among the evacuation timeT, the pedestrian density, and the exit width L. Simulation is based on the rectangular spatial structure, as shown in Figure 18. The main channel grids LE=10, and the number of evacuees was 880, 960, 1024, respectively. The size of the cellular space was 60×40, and the number of simulated evacuees was 800. The functional images are shown in Figure 19. The functional relationship of evacuation time and pedestrian density at different exit widths was as follows.LineL=1: yl=1=819.09x+16.82; fitting curve’s correlation coefficient R2=0.990>0.950. It is considered that the fitting curve has good correlation.LineL=5: yl=5=364.09x+19.77. Fitting  line L=1: yl=1=819.09x+16.82; fitting curve’s correlation coefficient R2=0.990>0.950. It is considered that the fitting curve has good correlation.LineL=10: yl=10=92.18x+8.09; fitting curve’s correlation coefficient R2=0.986>0.950. It is considered that the fitting curve has good correlation.Figure 18
Evacuation model diagram of a rectangular spatial structure: (a)Le1 = 1; (b) Le2 = 2; (c) Le3 = 3.
(a)
(b)
(c)Figure 19
Functional relationship between evacuation time and pedestrian density at different exit widths.
(a)
(b)The theoretical analysis showed that the evacuation time tends to infinity when the channel length is 0, and the evacuation time was larger than zero when the channel length tends to infinity. Hence, the relationship among the functions should be an inverse proportional function. Assume that the function relation wasy=a/x+b+c. Through the nonlinear fitting by function Nlinfit of Matlab [17], the simulation results of the function were given as follows.(10)y=14644x+8.7405−705.4753.The function relation with egress timeT, outlet width L, and population density to be evacuated ρ was shown as follows:(11)Sij=T=gSL,ρ=k·ρ+b=aL+b+c.


## 5.1. Path Planning for Different Analyses of Topographic Structures

As mentioned above, the Dijkstra algorithm in the multistory building evacuation algorithm could calculate well the length of the shortest path. However, because of the bottleneck caused by congestion, the evacuation time cannot be calculated from the path length directly. Therefore, simulation based on cellular automata is necessary. Then, the functional relationship among evacuation time and other factors was fitted according to the multigroup data further by simulation data analysis.The program based on Matlab was used to simulate [17]. For the multistory structure model, the crowd dispersion in various regions of the Louvre was simulated, which shows the evacuation situation after calculating the optimal evacuation routes. As shown in the picture, the exhibition area was simulated on the first floor of the Louvre after binarization. The number of cells in the exhibition area was 500×1000, and the number of simulated populations was 10000, which was generated randomly in a movable area. In the simulation diagram, the black area was an inaccessible area such as obstacles or walls. The gray area was an empty cell, and the white parts were cells occupied by a pedestrian (Figure 13).Figure 13
Simulation images of cellular automata on the first floor of the Louvre.Through the simulation of cellular automata, the evacuation situation could be observed in a certain area in the multistory building structure model. The simulation of cellular automata could measure and analyse the time of bottleneck occurrence, the area of bottleneck, and time step by giving the planned paths.In view of the intricate internal structure of the Louvre, the basic topographic structures and simulation results of different populations were discussed in this paper.


### 5.1.1. Rectangular Spatial Structure

The size of the cellular space is60×40 rectangular space structure evacuation model, as shown in Figure 14. The number of evacuees was 400, and the people were randomly distributed in the cellular space. The safe exit was located at the center of the wall whose size was 6 units.Figure 14
Simulation diagram of rectangular cellular automata.
(a)
(b)
(c)
(d)Table5 shows ten times of simulations of evacuation time. Note that the maximum bottleneck areas were under fixed parameters. Through ten times of simulation results, the standard deviation of evacuation time was 13.8076, which showed the range of experimental data was small and the simulation is stable. The average value of the maximum bottleneck area obtained by simulation was 360, as the rectangular region with this parameter tends to result in bottleneck.Table 5
Simulation results table of L-type channels.
Times of experiments
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
363
350
341
351
376
334
345
339
364
372
Maximum bottleneck area (grid)
340
370
364
397
354
384
364
312
336
387


### 5.1.2. Spatial Structure of L-Shaped Channels

The evacuation model of the L-shaped channel spatial structure with the size of70×100 cells is shown in Figure 15. Simulate when the number of evacuees is 800. The safety exit is located at the center of the wall on the left of the corner, whose size is 8 units. The simulation results are shown in Table 6.Figure 15
Evacuation model diagram of the L-shaped channel spatial structure.
(a)
(b)
(c)Table 6
Path planning table in a normal emergency.
Number of experiments (times)
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
382
378
391
381
376
394
401
412
384
392
Maximum bottleneck area (grid)
160
210
154
124
154
178
184
162
196
157Through ten times of simulation results, the standard deviation of evacuation time was 10.6719, which shows the range of experimental data was small and the simulation was stable. Compared to the rectangular spatial structure, the bottleneck was not easy to occur. The average value of the maximum bottleneck area obtained by simulation was 167.9, as the evacuation results of the L-shaped channel were more stable.


### 5.1.3. Compound Structure

Figure16 shows a simulation diagram of a multistructure evacuation model. The evacuation of people in complex terrain was simulated based on the CA model. Four cellular spaces were all 60×40 rectangular space structure with 400 evacuees in each space. It can be seen that the bottlenecks always occur at the narrower exits, while the main channel was unobstructed.Figure 16
Evacuation model diagram of the compound structure.
(a)
(b)


### 5.1.4. Stability Analysis

The Grubbs criterion [22] was used to test the stability of the model fitting, which is based on normal distribution and is often used to judge the stability of industrial instrument data. It declares that if the residual Vi of a measured value xi satisfies the lower formula Vi=xi−x≥gn,a×σx, the data should be reduced. The experimental data of the rectangular spatial structure evacuation model and the L-channel spatial structure evacuation model in the simulation above were processed and verified.According to the Grubbs critical value table, when the test data were 11 groups, the average value of evacuation time data is 353.5, and the standard deviation is 13.8076. When the abnormal probability of its data is 95%,gn,a=2.234 and residual error Vi=30.8462. The reasonable range of data is (322.6538, 384.3462). Observation and measurement data showed that the simulation data were distributed in the interval and the model output results were stable.


## 5.1.1. Rectangular Spatial Structure

The size of the cellular space is60×40 rectangular space structure evacuation model, as shown in Figure 14. The number of evacuees was 400, and the people were randomly distributed in the cellular space. The safe exit was located at the center of the wall whose size was 6 units.Figure 14
Simulation diagram of rectangular cellular automata.
(a)
(b)
(c)
(d)Table5 shows ten times of simulations of evacuation time. Note that the maximum bottleneck areas were under fixed parameters. Through ten times of simulation results, the standard deviation of evacuation time was 13.8076, which showed the range of experimental data was small and the simulation is stable. The average value of the maximum bottleneck area obtained by simulation was 360, as the rectangular region with this parameter tends to result in bottleneck.Table 5
Simulation results table of L-type channels.
Times of experiments
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
363
350
341
351
376
334
345
339
364
372
Maximum bottleneck area (grid)
340
370
364
397
354
384
364
312
336
387


## 5.1.2. Spatial Structure of L-Shaped Channels

The evacuation model of the L-shaped channel spatial structure with the size of70×100 cells is shown in Figure 15. Simulate when the number of evacuees is 800. The safety exit is located at the center of the wall on the left of the corner, whose size is 8 units. The simulation results are shown in Table 6.Figure 15
Evacuation model diagram of the L-shaped channel spatial structure.
(a)
(b)
(c)Table 6
Path planning table in a normal emergency.
Number of experiments (times)
1
2
3
4
5
6
7
8
9
10
Evacuation time (unit step 0.5 s)
382
378
391
381
376
394
401
412
384
392
Maximum bottleneck area (grid)
160
210
154
124
154
178
184
162
196
157Through ten times of simulation results, the standard deviation of evacuation time was 10.6719, which shows the range of experimental data was small and the simulation was stable. Compared to the rectangular spatial structure, the bottleneck was not easy to occur. The average value of the maximum bottleneck area obtained by simulation was 167.9, as the evacuation results of the L-shaped channel were more stable.


## 5.1.3. Compound Structure

Figure16 shows a simulation diagram of a multistructure evacuation model. The evacuation of people in complex terrain was simulated based on the CA model. Four cellular spaces were all 60×40 rectangular space structure with 400 evacuees in each space. It can be seen that the bottlenecks always occur at the narrower exits, while the main channel was unobstructed.Figure 16
Evacuation model diagram of the compound structure.
(a)
(b)


## 5.1.4. Stability Analysis

The Grubbs criterion [22] was used to test the stability of the model fitting, which is based on normal distribution and is often used to judge the stability of industrial instrument data. It declares that if the residual Vi of a measured value xi satisfies the lower formula Vi=xi−x≥gn,a×σx, the data should be reduced. The experimental data of the rectangular spatial structure evacuation model and the L-channel spatial structure evacuation model in the simulation above were processed and verified.According to the Grubbs critical value table, when the test data were 11 groups, the average value of evacuation time data is 353.5, and the standard deviation is 13.8076. When the abnormal probability of its data is 95%,gn,a=2.234 and residual error Vi=30.8462. The reasonable range of data is (322.6538, 384.3462). Observation and measurement data showed that the simulation data were distributed in the interval and the model output results were stable.


## 5.2. Influence of Visitor Diversity

The competitiveness of ordinary tourists and disabled tourists in the cellular automata model was different. In the simulation model of this paper, competitiveness discrimination was simply divided into matricesCom∈0,1. The competitiveness of ordinary tourists was 1, and the competitiveness of disabled tourists was 0. The simulated curves of evacuation time and the proportion of disabled tourists are shown in Figure 17.Figure 17
Functional relationship between evacuation time and the ratio of disabled tourists.It is shown that the evacuation time would increase nonlinearly with the increase in the proportion of tourists of disabilities.For the simulation data, regression analysis was carried out further based on the polynomial regression functiony=an·xn+an−1·xn−1+⋯+a1·x1+a0. The quadratic regression analysis by polyfit function of Matlab [17] gave that the polynomial coefficients were 795.3380,119.7016,and350.9371.


## 5.3. Simulation Data Analysis

Based on the model, there may be a functional relationship among the evacuation timeT, the pedestrian density, and the exit width L. Simulation is based on the rectangular spatial structure, as shown in Figure 18. The main channel grids LE=10, and the number of evacuees was 880, 960, 1024, respectively. The size of the cellular space was 60×40, and the number of simulated evacuees was 800. The functional images are shown in Figure 19. The functional relationship of evacuation time and pedestrian density at different exit widths was as follows.LineL=1: yl=1=819.09x+16.82; fitting curve’s correlation coefficient R2=0.990>0.950. It is considered that the fitting curve has good correlation.LineL=5: yl=5=364.09x+19.77. Fitting  line L=1: yl=1=819.09x+16.82; fitting curve’s correlation coefficient R2=0.990>0.950. It is considered that the fitting curve has good correlation.LineL=10: yl=10=92.18x+8.09; fitting curve’s correlation coefficient R2=0.986>0.950. It is considered that the fitting curve has good correlation.Figure 18
Evacuation model diagram of a rectangular spatial structure: (a)Le1 = 1; (b) Le2 = 2; (c) Le3 = 3.
(a)
(b)
(c)Figure 19
Functional relationship between evacuation time and pedestrian density at different exit widths.
(a)
(b)The theoretical analysis showed that the evacuation time tends to infinity when the channel length is 0, and the evacuation time was larger than zero when the channel length tends to infinity. Hence, the relationship among the functions should be an inverse proportional function. Assume that the function relation wasy=a/x+b+c. Through the nonlinear fitting by function Nlinfit of Matlab [17], the simulation results of the function were given as follows.(10)y=14644x+8.7405−705.4753.The function relation with egress timeT, outlet width L, and population density to be evacuated ρ was shown as follows:(11)Sij=T=gSL,ρ=k·ρ+b=aL+b+c.


## 6. Conclusion

This paper proposed a novel evacuation model instruction. Main contributions are as follows. First, the evaluation formula was proposed to analyse the patency of the buildings. The routes on the images of each floor in the buildings can be directly shown by three-dimensional architectural model after obtaining the binary image of the active region in a multistory building. The multistory building evacuation algorithm was established to provide the schemes of optimal evacuation routes. The result of evacuation routes in different emergency situations was discussed and compared in this paper. Simulation in CA illustrated the efficiency of the model that the stability and reliability of the simulation results were verified by Grubbs criterion. Then, different factors were considered, such as diversity of tourists, pedestrian density, and width of exit. Furthermore, a functional relationship was clearly given among the evacuation time with those factors, and the functional relationship has a good correlation. It was applied to optimize the initial evacuation routes. Based on these, the algorithm can adapt to different circumstances, and an accurate time of leaving the buildings can be calculated accurately.



---

*Source: 6585102-2019-06-02.xml*