## Figures

## Abstract

There is direct evidence for the spread of infectious diseases such as influenza, SARS, measles, and norovirus in locations where large groups of people gather at high densities e.g. theme parks, airports, etc. The mixing of susceptible and infectious individuals in these high people density man-made environments involves pedestrian movement which is generally not taken into account in modeling studies of disease dynamics. We address this problem through a multiscale model that combines pedestrian dynamics with stochastic infection spread models. The pedestrian dynamics model is utilized to generate the trajectories of motion and contacts between infected and susceptible individuals. We incorporate this information into a stochastic infection dynamics model with infection probability and contact radius as primary inputs. This generic model is applicable for several directly transmitted diseases by varying the input parameters related to infectivity and transmission mechanisms. Through this multiscale framework, we estimate the aggregate numbers and probabilities of newly infected people for different winding queue configurations. We find that the queue configuration has a significant impact on disease spread for a range of infection radii and transmission probabilities. We quantify the effectiveness of wall separators in suppressing the disease spread compared to rope separators. Further, we find that configurations with short aisles lower the infection spread when rope separators are used.

**Citation: **Derjany P, Namilae S, Liu D, Srinivasan A (2020) Multiscale model for the optimal design of pedestrian queues to mitigate infectious disease spread. PLoS ONE 15(7):
e0235891.
https://doi.org/10.1371/journal.pone.0235891

**Editor: **Nicky McCreesh, London School of Hygiene and Tropical Medicine, UNITED KINGDOM

**Received: **October 9, 2019; **Accepted: **June 25, 2020; **Published: ** July 9, 2020

**Copyright: ** © 2020 Derjany et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Data Availability: **All relevant data are within the manuscript and its Supporting Information files.

**Funding: **PD, SN and DL gratefully acknowledge the support of the Department of Transportation and the Center for Advanced Transportation Mobility (CATM). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests: ** The authors have declared that no competing interests exist.

## Introduction

Pedestrian crowds are commonly observed in all public locations offering entertainment, transportation, social or religious activities. The mass gathering of people congregated in limited space often elevates the risk of infectious disease spread due to the increased contacts between susceptible and infectious individuals. Further, individuals with different levels of vulnerability and receptivity due to variations in genetic background and intervention usage often congregate in touristic sites [1]. There is direct evidence for the occurrence of multiple epidemic outbreaks in high pedestrian density locations such as transportation hubs, entertainment venues, (e.g. theme parks, stadiums) and mass gatherings [2–13]. Gautret and Steffen [2] report that sixty-eight cited instances of outbreaks among crowds occurred between 1980 and 2016. Numerous reports deal with the spread of diseases like influenza, SARS, and measles during air travel [3–5]. Examples of epidemics in entertainment venues include the influenza outbreak in 2002 during the winter Olympiad [6] and the measles outbreak in Disney World in 2016 resulting in 125 cases [7]. Several outbreaks of directly transmitted gastrointestinal and respiratory diseases have been reported in religious and social outdoor mass gatherings [8–10], international meetings [11, 12] and concert halls [13].

Disease spread in high pedestrian density locations is inherently a multidisciplinary and multiscale problem involving epidemiology and crowd dynamics. Deterministic [14] and stochastic [15] epidemiological models including Susceptible-Infected-Recovered (SIR) models are effective tools for understanding epidemic spread. However, such models do not account for discrete human interactions in pedestrian crowds. Computationally intensive agent-based models *e*.*g*. EpiSimdemics [16], and stochastic models [17] include human interactions through behavioral rules but are targeted at modeling simple interactions over large populations and geographical areas [16, 17], rather than evaluating the impact of fine-scale interactions. Instances mentioned above involve a high density of pedestrians over relatively small areas. Modeling non-uniform mixing in such instances and designing strategies for mitigation can only be achieved through multiscale modeling involving the combination of epidemic modeling with pedestrian crowd dynamics.

Understanding pedestrian dynamics and efficient crowd management practices are essential to enable effective flow of pedestrians, and for meeting safety standards in high pedestrian density environments noted above. Pedestrian crowd management often involves the combination of crowd psychology [18] and engineering methods for assessing the capacities of corridors, ramps, stairs, and other bottlenecks [19]. While several approaches including cellular automata [20], fluid flow models [21] have been used for modeling pedestrian dynamics, social force models [22, 23] have the advantage of evaluating the complete individual trajectories necessary for contact estimation in epidemic studies. Since its conception, there have been several advances in social force models involving force field estimations [24], algorithmic developments [25, 26] and applications in situations like panic [27], traffic dynamics [28] and evacuation [29]. Namilae et al. [30, 31] have used pedestrian dynamics described by the social force model in a multiscale model to study the spread of epidemics during air travel.

Despite separate developments in pedestrian dynamics and epidemiology, there is a paucity of epidemiological models that utilize detailed information from pedestrian dynamics for contact estimation. There is a strong correlation between contact and infection rates in several disease epidemics such as SARS [32] and Ebola [33]. Given the preponderance of epidemic outbreaks in high pedestrian density locations, a model that accounts for pedestrian dynamics in contact estimation can be a design tool for developing mitigation strategies. In this paper, we develop such a multiscale model and utilize it to study disease spread in pedestrian queues. Winding queue formation is a ubiquitous crowd control procedure. Consequently, individuals in crowded gatherings often spend a significant amount of time in waiting queue lines. In the multiscale model, pedestrian dynamics are used to generate trajectories of pedestrian motion and estimate the rate of contact between infected and susceptible individuals. We incorporate this information into a stochastic infection dynamics model with infection transmission probability and contact radius as primary inputs. This generic model is applicable for several directly transmitted diseases like Ebola, SARS, and H1N1 influenza by varying the input parameters related to infection probabilities and transmission mechanisms. We utilize this multiscale model to analyze disease spread in various pedestrian queue configurations, suggest preferred layouts, and design strategies that would reduce contacts and consequently mitigate the overall disease spread.

## Modeling methodology

### Pedestrian dynamics

To first estimate the number of contacts between susceptible and infectious individuals, we model each mobile pedestrian as a particle and immobile objects like walls or barriers as groups of stationary particles. The evolution of pedestrian particles and their interaction with other pedestrians and stationary particles are described by molecular dynamics like the social force model [23]. The net force acting on an *i*^{th} pedestrian (or particle) can be defined as:
(1)
with the pedestrian position at a given time obtained by integration as . Here refers to the desired velocity of pedestrian, and is the actual velocity, *m*_{i} is the particle’s mass and *τ* is the time constant. The momentum generated by a pedestrian’s intention, denoted by , results in a self-propulsion force that is balanced by a repulsion force to obstacles in the direction of motion. In this study, we use the Lennard–Jones type repulsion term used earlier by Namilae et al. [30, 31].

While Eq (1) describes the general motion of pedestrians, we need to introduce modifications to this equation to account for slow-moving pedestrian queues. Pedestrians in a queue move at the speed of the nearest person ahead in the line. To model this scenario, we introduce location dependence to the desired velocity in the self-propulsion term as:
(2)
where is the desired direction of motion. *v*_{A} and *γ*_{i}*v*_{B} are the deterministic and stochastic components of the desired velocity respectively. The values of walking speed terms (*v*_{A} and *γ*_{i}*v*_{B}) can be varied to obtain a given distribution of age groups and gender of travelers [34]. *δ* is the cut-off distance constant between the *i*^{th} and *j*^{th} pedestrians at which the desired velocity of the *i*^{th} pedestrian reduces to zero velocity. *δ* is the minimum distance up to which two pedestrians can come close before the rear pedestrian stops to prevent overlap with the front pedestrian.

To mimic the real-life scenarios, we also account for the formation of groups of pedestrians. The groups’ formation is controlled by adjusting the distance (*δ*) in Eq (2). Literature [35] indicates that pedestrian spacing is different between pedestrians belonging to a group (e.g. family or friends in the queue) and other pedestrians. An average distance of *δ*_{1} = 0.46 m is chosen for pedestrian particles within the same group, while this distance between independent pedestrians is given a value of *δ*_{2} = 0.64 m.

### Contact estimation and infection model

Consider a population of size N consisting of I(t) infected and S(t) susceptibles at time t. The pedestrian’s position (*r*_{i}(*t*)) evolves through the pedestrian dynamics model and is a function of age, sex and infection status. A susceptible can become infected when coming into direct contact with an infected individual. Given the trajectory of pedestrians over time, the number of contacts *m*_{i} can be evaluated by counting the instances when the distance between the *i*^{th} and *j*^{th} pedestrians (*r*_{ij}) is less than a virus-specific contact radius (x). This transmission distance (x) used to define the contact is dependent on the type of pathogen and mechanisms for its spread. For diseases like Ebola, studies indicate that the primary mode of transmission is through contact droplets [36, 37]. Consequently, a distance that enables direct touch needs to be used for estimating contact for such diseases. Other infectious diseases like SARS and influenza are known to be transmitted by both shorter and longer range airborne mechanisms [38, 39]. Studies show that micrometer-sized aerosol clouds generated during cough can travel over 2 m [40, 41]. We vary the contact radius between these distances to account for the various infection spread mechanisms. Duration of contact is also needed to define a contact. Here, a contact is defined when a susceptible pedestrian is in the proximity of infective pedestrian within the contact distance (x) for a period of 4 seconds. The contact duration is chosen based on the breathing cycle as time sufficient to complete one inhalation of a contagion laden particle [42, 43].

Next, consider the probability (*P*_{inf}) that a contact between a susceptible and an infective results in a successful infection transmission. We can divide this input parameter into two components: A viral shedding probability distribution (P_{c}) which is a function of time since acquiring infection for the specific virus in question, and a pathogen spread mechanism component (P_{m}). This includes contributions of several independent mechanisms comprising (a) aerosol exposure and inhalation probability (P_{a}) common in infections such as SARS and influenza [38, 39], (b) Coarse pathogen droplet inoculation (P_{d}) common in infectious diseases like Ebola [36]. Other mechanisms including fomite mechanism, which involves contaminated surface-to-hand transfer would contribute to the infection spread, but such mechanisms do not involve human-to-human contacts in this context and are not considered here. The infection probability would then be defined as:
(3)

First, consider the viral shedding probability distribution (P_{c}). Studies indicate that the amount of viral shedding is typically dependent on the length of the incubation period and the number of days since the appearance of symptoms. In a previous study [31], we used CDC data on the amount of RNA (ribonucleic acid) virus copies in the blood serum since the illness contraction to generate this probability distribution for Ebola [44]. A similar approach can be used for other diseases, for example, for SARS pathogen, the viral gene expression of the nucleocapsid (N) protein, detected at different rates along with the evolution of the virus from post-onset of the symptoms till convalescence is indicative of viral shedding [45]. For influenza, nasal, oral or ocular shedding of the H1N1 virus has been detected by determining the relative equivalent unit from viral RNA level [46]. Such data can be used to generate the P_{c} distribution. Fig 1 shows the viral shedding distributions we generated based on [45] and [46] for SARS and H1N1 influenza respectively.

(A) H1N1 influenza. (B) SARS virus.

There are many formulations in the literature to compute the mechanism-specific probability of transmission. Table 1 lists the details of the popular mechanisms for aerosol and coarse droplet mechanisms. The functional form of the aerosol inhalation probability is described in the data-driven modeling framework in Teunis *et al*. [47], which in turn is based on Riley’s Dose-response model [48]. The probability for coarse droplet inoculation mechanism considers the droplet cone emitted during expiratory events like coughing [49].

The probability that an infectious individual “i” in the crowd comes into contact with other individuals is m_{i}/N, where m_{i} is the number of contacts. Using Bayes’ theorem of conditional probability, *P(contact and infection) = P (infection |contact). P (contact)* = . To account for the demographic stochasticity of the susceptible individuals, the number of newly infected by this infective “i” is estimated by a binomial distribution I_{i} (t)~B(n_{i},p_{i}) with parameters n_{i} = S_{i} (t-1), the number of susceptibles exposed to the contagion at time t, and . Eq (3) is used for estimating P_{inf}.

For each infective individual, all the possible permutations are considered, i.e. the infective is considered to be in all possible positions in the queue. Binomial distributions are obtained to estimate a range of newly infected pedestrians with variations in the position and infectivity of the infective pedestrian. Denote by the variable *λ* the possible number of newly infected pedestrians ranging from zero to the maximum obtained number N_{inf} (*λ* = 0,…,*λ*_{i},…,N_{inf}). The mean binomial distribution of the number of people infected at time t by all the possible permutations is computed using Eq (4) below. Here *Comb* denotes the number of combinations of infective positions and *w*_{i} is the frequency of obtaining *λ*_{i} newly infected in the computations. The day post-onset of symptoms which defines the infectivity (see Fig 1) is denoted by *c*. We combine the probability distributions and average them as given by:
(4)

Note that the contacts are defined when pedestrians are within a specific transmission distance which is dependent on the transmission mechanism. Instead of using fixed parameters for defining contact, we will treat the contact distance and transmission prability as parameters in assessing epidemic spread. We will vary these parameters over a broad range to model the different scenarios (diseases and transmission mechanisms) for several pedestrian queue configurations. Expelled fine aerosols travel farther and remain suspended for a longer time than coarse droplets [40, 41]. We account for coarse droplets and aerosols transmission mechanisms by varying the contact radius parameter between 0.9 and 2.1 meters (36–84 inches). The contact radius range is based on the dynamics and the estimated travel distance of coarse droplets and fine aerosols expelled by an infective member from his respiratory tract during talking, breathing or coughing [40, 41]. We vary the transmittance probability *(P*_{inf}*)* between 0.025 and 0.2 to account for the variation in the infectivity of different diseases. This range is considers the transmission probability calculations based on viral shedding [44–46] discussed earlier (Fig 1). The model parameters and the ranges are tabulated in Table 2.

### Model application to pedestrian queue configurations

Pedestrian winding queues are an essential component of crowd management. These queues are often unidirectional and have different widths and configurations to fit the available area. The queues are often separated by rope stanchions for their ease of use. However, temporary walls could also be used for this purpose. Examples of such queues usage include airport security, waiting areas at theme parks and other crowded places. Within the same line and among adjacent lines, many susceptibles are often within the contact radius and viral infection may propagate if an infectious pedestrian is present.

We evaluate the role of motion pattern and contact creation between neighboring pedestrians, for different queue configurations. The aisles’ geometry, orientation. number of inlets and exits are altered between the different configurations. To model queue configurations that are used in practice, we used the dimensions of a waiting queue similar to those in typical theme park attraction as shown in Fig 2. We used these dimensions as a basis for the different configurations modeled in the study. Social force based pedestrian models have been validated in numerous studies [50, 51]. The model described here has been shown to reproduce pedestrian evacuation data from airplanes as well as reproduce the experimentally verified speed-density diagrams [31, 52].

(A) Schematic representation of an actual pedestrian queue in an entertainment venue. (B) Simulation snapshot of a corresponding model.

We utilize the queue layout shown in Fig 2 as the basis for evaluating the effect of the layout and shape of the queue configurations. The aisles’ length and orientation are altered between the configurations of the same area and aisle width. We investigated four different rectangular configurations with the same shape and area as shown in Fig 3. The four configurations are split vertically (configurations in Fig 3B and 3C) or horizontally (Fig 3A and 3D). Configurations in Fig 3A and 3B have one inlet and one exit whereas configurations in Fig 3C and 3D have two inlets and two exits due to the existence of separated zones. The width of the pedestrian lanes remains 1 m, which allows some pedestrians belonging to the same group to form a double line. The four configurations are termed Configurations 1, 2, 3 and 4 respectively.

(A) Configuration 1. (B) Configuration 2. (C) Configuration 3. (D) Configuration 4.

We also investigate the relation between the layout shape and the contact evolution, by modeling four square floor plans of the same area as above configurations. In all the simulations, a total of 600 pedestrians are distributed within the waiting area. We take into account the possibility of pedestrians within a group walking side-by-side. In general, presence of groups would reduce the average distance between pedestrians and increase the pedestrian density, therefore would increase the number of contacts and the number of new infections. For all of the configurations, the number of contacts between pedestrians is calculated where rope separators or temporary walls are placed between the aisles. For rope separators, contact extends to pedestrians in the neighboring aisles, whereas for temporary walls, transmission due to contact is limited only between the pedestrians within the same aisle. The data of pedestrian contact is then combined with the infection model to estimate infectious disease spread. We consider the situation of a single infective in the queue. The infectious individual is unidentifiable; his/her rank in the queue is not known *apriori*. Therefore, all permutations of the infectious individual’s position are simulated to determine the average number of contacts for a given queue configuration. This results in 600 combination for six variations of each configuration. We then parametrize the contact radius and transmission probability and analyze if and how the queue layout and features impact the disease spread.

For a given configuration and a set of infection parameters, the mean number of newly infected pedestrians is binomially distributed to account for the demographic stochasticity in the immunity and receptivity of the susceptible population. For instance, Fig 4 represents the distribution of newly infected individuals for the four configurations at an infection probability of 0.025 and a proximate contact radius of 1.2 meters for aisles separated by ropes. While, we compute such distributions for the entire parameter space, for ease of representation in subsequent analysis, we only plot the mean of the distributions as a function of pedestrian and infection parameters.

## Results

### Rectangular floor plan

Based on our observations of common queues, we consider the situations when two pedestrians belonging to the same group can move abreast or side-by-side in the four rectangular configurations shown in Fig 3. As initial conditions, the pedestrians are distributed side-by-side inside the aisle and in front of the inlet. The spacing between the pedestrian particles is varied to differentiate between individuals of the same groups and others from different groups as mentioned earlier. As time evolves, the abreast queues turn into a single file in the exit aisles where the pedestrian speed increases (See Fig 3). We do not consider a waiting time at the exit to decrease the computational effort.

With the commonly used rope separators and an infection radius less than 1.2m, which corresponds to coarse droplet mechanisms, the infective has an influence on the directly adjacent aisles on both sides. The bar chart in Fig 5A estimates the total number of contacts between the infective and the susceptible population. However, a given contact will lead to infection based on the transmission probability. Combining the contact data of the bar chart with the infection model leads to the mean distribution of infection over the probability range like in Fig 4. In Fig 5, we plot the corresponding mean of the binomial distribution for the different configurations and transmission probabilities. Configuration 3 is the best layout for all transmission probabilities, followed by configuration 2 (Fig 5A). In configuration 2, the vertical aisles are short with fewer pedestrians. Configuration 3 has the same aisle geometry as configuration 2; however, the pedestrian will exit the queue earlier (halfway) compared to that of configuration 2 which results in lower exposure time and consequently fewer contacts. Configurations 1 and 4 result in a higher mean number of infections. These configurations have long open aisles compared to configurations 2 and 3 with the lower aisle length, therefore more pedestrians are involved, and interaction occurs more frequently with pedestrians from neighboring aisles in these two configurations. Configuration 1 is the least favorable layout because diverse pedestrians from both sides come into proximity more frequently than in configuration 4 with comparatively shorter aisles. Configuration 4 is worse than configuration 2 because, at the common corners between the left and right zones, the infective comes into contact with additional pedestrians from the neighboring zones.

(A) The rope is used for separation between the rows. (B) The temporary shading walls are used for separation between the rows.

The use of temporary (or permanent) walls in the place of ropes limits the mixing of pedestrians within the same aisle and reduces the impact of common corners between aisles. In this case, we assume that the contagion cannot cross over to the adjacent aisles due to the solid wall barrier, therefore it results in a lower number of contacts. Fig 5B shows the mean number of infections when walls are used for crowd control. Overall, the mean number of new infections is significantly lower than when using rope separator. It can be inferred from Fig 5B that configuration 3 still results in the lowest number of infections at all transmission probabilities, and configuration 1 with long lines results in the highest number of infections in this case too. The primary difference between using rope separators and walls is for configurations 2 and 4. Configuration 2 resulted in a lower number of infections compared to 4 when using rope separators while this is reversed with walls. In configurations 3 and 4, the exit time is again shorter than that of configurations 1 and 2 resulting in lower overall contacts. Also, at 1.2m radius of infection, the configurations with long aisles and high pedestrian density corners result in higher contacts when using wall separators. This is explained by the fact that the same group of pedestrians remains in contact for a prolonged time.

Fig 6 shows the results of repeating the transmission probability variation over the same range, but assuming the aerosol transmission mechanism with a longer contact radius of 2.1 m. Configuration 3 still results in the lowest number of contacts for both rope and wall separators. For rope separator, we observe the same pattern of results as with the lower contact radius, but with increased infection spread (Fig 6A). The differences between the configurations reduce at low transmission probabilities, therefore, the results for configurations 2 and 3, and for configurations 1 and 4 overlap. At 2.1 m contact radius, the dispersion of the fine contagion laden particles crosses the aisle boundaries to two adjacent aisles on each side. Here, the findings of configurations 2 and 3 are nearly identical since the aisles are distributed in the same manner except that configuration 3 has two separated zones. When the transmission radius expands to many neighboring aisles, pedestrians of one zone in configuration 3 come into contact not only with other pedestrians within the same zone, but with those in the adjacent zone. Accordingly, configurations 2 and 3 have the same behavior. Here, the separation of these two groups has no effective role in reducing contact. The same principle applies to configurations 1 and 4; the offset between the data of configurations 1 and 4 is reduced compared to that of the coarse droplet transmission mechanism for the same reason. Configuration 1 remains the worst layout, especially at higher probabilities, due to the elongated, abundant contact between pedestrians from adjacent aisles.

(A) The rope is used for separation between the rows. (B) The temporary shading walls are used for separation between the rows.

Previously, when the coarse droplet transmission with wall separator was evaluated (Fig 5B), the maximum number of contacts for configurations 1 and 2 were highest, followed by configuration 4. With aerosol transmission mechanism (R = 2.1 m) as in Fig 6B, configuration 2 remains the greatest in terms of contacts generated, followed by configuration 4, and the resultant number of contact of configuration 1 drops. At a low contact radius (R = 1.2m), pedestrian density within the circle of infection is greater in aisles than at corners. Therefore, long aisles allow greater contact time. However, an infection circle with a 2.1m radius of contact will include more pedestrians at the corners rather than the aisles. Configuration 2 has the shortest aisles, with the greatest number of corners (21 corners), which leads to a higher number of contacts.

We now explore the contacts generated between pedestrians in the four configurations assuming different infection mechanisms represented by the radius variation. Configurations 2 and 3 result in a lower number of infections for rope separators, across the range of infection radii from 0.9 to 2.1 m as shown in Fig 7A. As explained earlier, for aisles separated with ropes, shorter aisles lead to lower exposure of an infective resulting in this behavior. For walls, the combination of the radius of infection, as well as the interaction time within the aisles and at the corners alter the results as shown in Fig 7B. Each combination of infection radius and queue layout generates a different number of mean newly infected individuals. At low infection radii, short-aisle and low exit time configurations are favorable. At higher radii, configurations with less turning corners are better.

(A) Rope separators used between the rows. (B) Walls used for separation between the rows.

### Square floor plan

We now consider square layouts with the same area as the rectangular layouts discussed previously. Since the aspect ratio of the square configuration changes from that of a rectangle, the number of aisles and their dimensions vary as shown in Fig 8. Note that configurations 1 and 2 in Fig 8A and 8B, are the same except for rotation, therefore, we do not discuss them separately.

(A) Configuration 1. (C) Configuration 2. (B) Configuration 3. (D) Configuration 4.

The results shown in Figs 9–11 for these configurations are aggregate of those observed for configurations 1 and 2. Here, the best configuration is again investigated by monitoring the variation of the number of newly infected individuals in terms of infection probability and radius sweep. Looking at the four configurations, by varying the infection probability range, configuration 3 is again the most favorable, whereas, the other three configurations result in a similar number of infections when using rope separators (Fig 9A). Configuration 3 only differs from configurations 1 and 2 by the two left and right zones, enabling faster flow at the inlets and exits. In contrast to configurations 1 and 2 where pedestrians remain in the queue for a longer duration, pedestrians in configuration 3 are exiting halfway with less elapsed time in the waiting line, thus, resulting in less interaction during the shorter wait. Although configuration 4 also possesses two inlets and exits (short exit time), the number of common corners where pedestrians from both zones are at proximate contact is more than that of a rectangular layout. Also, the square configuration 4 here retains the shortest aisle length among all the configurations of the same square layout and even the rectangular ones. Although short aisles with rope separators allow less interaction as mentioned previously, shorter aisles lead to congestions at the corners where pedestrians reduce their walking speed while changing the direction of motion. Therefore, even with a shorter waiting time than the other configurations, configuration 4 allowed more frequent interactions between pedestrians of both zones resulting in a similar number of newly infected members as configurations 1 and 2, for lower contact radius (Fig 9A). Thus, the long elapsed time in the queue (aisle and corner) and the abundancy of turning corners have the same effect in increasing infection for rope separators in a rectangular floor layout. For the same configuration geometries, if the floor layout is increased, i.e. wider and longer aisles, configuration 4 will have a better performance as the interaction at the corners and in the aisles as well as the time elapsed in the queue are lower than those of configurations 1 and 2.

(A) Rope stanchions are used for separation between the rows. (B) Wall separators are used for separation between the rows.

(A) Rope stanchions are used for separation between the rows. (B) Wall separators are used for separation between the rows.

(A) Rope separators used between the rows. (B) Walls used for separation between the rows.

With temporary walls used as aisle separators, the order of the configurations alters as shown in Fig 9B. In this case, only the waiting time within the same line and congestion at the corners play an important role. Referring to Fig 8, it can be noticed that the pedestrians’ density along the aisles is almost the same between all the configurations. However, at the corners of configuration 4, pedestrians are congregated at higher density than the other layouts leading to an increase in the number of infections for Configuration 4 (Fig 9B). This is explained by the shorter aisles and the necessity to keep changing velocity direction, thus the reduction in the magnitude of the velocity components. This phenomenon also applies to the rope separator scenario. However, with ropes, the maximum interaction with pedestrians in neighboring aisles and corners is of greater importance and frequency than that within the same line. Configuration 3 remains the most favorable as it comprises a combination of moderate aisle length and less waiting time at corners.

Expanding the contact radius to 2.1 m assuming aerosol transmission mechanism, all configurations behave in the same manner for rope separators as shown in Fig 10A. Here the infective’s influence crosses multiple surrounding aisles and separation zones, therefore, the number of corners and aisles do not have any effect. For walls, the pedestrians’ distribution at the corners alters the results with minor differences (Fig 10B). Configuration 4 has the most congested corners and highest number of contacts. Fig 11 summarizes these results. At a low infection radius, for a rope separator, configuration 3 results in fewer contacts, whereas, with higher contact radii, the differences between the different configurations are reduced. For walls, pedestrians’ density at the corners leads to higher contacts for configuration 4. The short waiting time of configuration 3 makes it competitive in all conditions.

## Discussion

The modeling approach developed in this study provides a unique approach to combine pedestrian movement models and infectious disease spread models. By tracing the trajectory of each pedestrian in the time frame, the data of contacts between susceptible and infective pedestrians is obtained. Then, applying a stochastic susceptible-infected model to the contact data determines the number of newly infected individuals who are in critical contact with the infectives. This model has applications in the design of high pedestrian density locations which are often associated with infectious disease spread [2–13]. We demonstrate the approach for layout design by applying the model to various configurations of pedestrian queues and assessing the contact and infection spread dynamics as a function of various parameters.

Another aspect of the model deals with addressing the inherent uncertainty in this problem. Human movement is often guided by discretionary behaviors with respect to route and destination choices, intrinsic variability in pedestrian speed and inter-pedestrian interactions, which results in a high level of uncertainty. This aleatory uncertainty is further compounded by the combination with the infectious disease spread model, which introduces variables like transmission probability and contact radius. We parametrize the sources of uncertainty, thereby assess the conditions under which certain configurations or strategies are effective in mitigating disease spread. To account for the various transmission likelihoods and transmission mechanisms, we varied the transmission probability and contact radius in the parameter sweep. This approach can identify the effectiveness and vulnerability of a given mitigation strategy. For example, Figs 5 to 11 indicate that configuration 3 is the more effective configuration in reducing the number of contacts across different parameter combinations. Further analysis suggests that the difference between queue configurations is highest at low contact radii (e.g. 1.2 m) compared to high contact radius (2.1 m), and also for higher transmission probabilities. Such information can be useful for designing queue layouts with the objective of minimizing contact for a specific outbreak.

We identify three main methods to reduce the number of contacts when pedestrians are waiting in queues. The shape and configuration of the layout effects the number of contacts. A longer rectangular queue with pedestrian movement aligned along the short side like in configurations 2 and 3 reduces the number of contacts. Another simple way of reducing the number of contacts in waiting queues is if temporary walls are used in place of rope separators. Such walls would potentially limit the contacts within the row, which would reduce the number of contacts from up to 55% to 75% compared to rope separators (see Fig 12A). Another approach is to reduce the aisle width to create a single file queue. Fig 12B compares the number of contacts between the default case and when single file is enforced. The overall number of contacts reduces by 8–25% in the queue configurations we considered when a single file queue is considered.

(A) Rope separators and walls for rectangular and square layout for configuration 3 with a contact radius of 1.2 m. (B) A similar comparison for the rectangular layout between the default and a single file queue setup.

## Conclusions

There is a strong correlation between contact rates and infection rates in disease epidemics. The movement and interaction of people in high pedestrian density environments affect the number of contacts and thereby impact infectious disease spread. The mixing of susceptible and infectious individuals in these high people density environments involves pedestrian movement which is often not taken into account in the modeling studies of disease dynamics. In this paper, we developed a multiscale model for incorporating input from pedestrian dynamics models into a stochastic infection spread model. The model is applied to a ubiquitous problem of contact evolution and infectious disease spread in pedestrian waiting queues.

We evaluate the effect of queue configurations on generating contacts between neighboring pedestrians. Four distinct queues are evaluated with vertical and horizontal aisle patterns, one or two waiting zones, rectangular and square floor plans, and single-file or abreast pedestrians distributions within the control area. In these various geometrical scenarios, a comparison is made between the rope and wall separators and their effect on pedestrian interactions. With rope separators, pedestrians are allowed to interact with other pedestrians from neighboring aisles in addition to the forward and backward members in the queue within the same aisle. However, for wall separators, the interaction between pedestrians is restricted to those only within the same aisle.

We find that wall separators are very effective in reducing the number of contacts and disease spread. In some cases, replacing ropes by wall separators results in the reduction in number of contacts by more than 75%. Among the different queue configurations considered in the study, configurations with motion along short aisles lead to lower number of contacts and disease spread when rope separators are used. Also, for the same area of the queue layout, we find that rectangular configurations lead to lower number of contacts than square configurations. While the model is applied to the specific case of pedestrian queues in this paper, the general principles can be used for analysis of infectious disease spread in any high pedestrian density location.

## References

- 1. Wilson ME. Travel and the emergence of infectious diseases. Emerging infectious diseases. 1995 Apr;1(2):39. pmid:8903157
- 2. Gautret P, Steffen R. Communicable diseases as health risks at mass gatherings other than Hajj: what is the evidence?. International Journal of Infectious Diseases. 2016 Jun 1;47:46–52. pmid:26987476
- 3. Centers for Disease Control (CDC. Interstate importation of measles following transmission in an airport—California, Washington, 1982. MMWR. Morbidity and mortality weekly report. 1983 Apr 29;32(16):210–5. pmid:6406807
- 4. Olsen SJ, Chang HL, Cheung TY, Tang AF, Fisk TL, Ooi SP, et al. Transmission of the severe acute respiratory syndrome on aircraft. New England Journal of Medicine. 2003 Dec 18;349(25):2416–22. pmid:14681507
- 5. Mangili A, Gendreau MA. Transmission of infectious diseases during commercial air travel. The Lancet. 2005 Mar 12;365(9463):989–96.
- 6. Gundlapalli AV, Rubin MA, Samore MH, Lopansri B, Lahey T, McGuire HL, et al. Influenza, winter olympiad, 2002. Emerging infectious diseases. 2006 Jan;12(1):144. pmid:16494733
- 7. McCarthy M. Measles outbreak linked to Disney theme parks reaches five states and Mexico. BMJ: British Medical Journal (Online). 2015 Jan 23;350.
- 8. Pfaff G, Lohr D, Santibanez S, Mankertz A, Treeck UV, Schönberger K, et al. Spotlight on measles 2010: Measles outbreak among travellers returning from a mass gathering, Germany, September to October 2010. pmid:21172175
- 9. Verhoef L, Duizer E, Vennema H, Siebenga J, Swaan C, Isken L, et al. Import of norovirus infections in the Netherlands and Ireland following pilgrimages to Lourdes, 2008–preliminary report. Eurosurveillance. 2008 Oct 30;13(44):19025. pmid:19000561
- 10. Zieliński A. Evidence for excessive incidence of infectious diseases at mass gatherings with special reference to sporting events. Przegląd Epidemiologiczny. 2009;63(3):343–51. pmid:19899589
- 11. Foo H, Blyth CC, Van Hal S, McPhie K, Ratnamohan M, Fennell M, et al. Laboratory test performance in young adults during influenza outbreaks at World Youth Day 2008. Journal of Clinical Virology. 2009 Dec 1;46(4):384–6. pmid:19828366
- 12. Botelho‐Nevers E, Gautret P, Benarous L, Charrel R, Felkai P, Parola P. Travel‐Related Influenza A/H1N1 Infection at a Rock Festival in Hungary: One Virus May Hide Another One. Journal of travel medicine. 2010 Apr 20;17(3):197–8. pmid:20536890
- 13. Evans MR, Meldrum R, Lane W, Gardner D, Ribeiro CD, Gallimore CI, et al. An outbreak of viral gastroenteritis following environmental contamination at a concert hall. Epidemiology & Infection. 2002 Oct;129(2):355–60.
- 14.
Brauer F, Castillo-Chavez C. Basic models in epidemiology. InEcological Time Series 1995 (pp. 410–447). Springer, Boston, MA.
- 15. Andersson H, Britton T. Stochastic epidemic models and their statistical analysis. Springer Science & Business Media; 2012 Dec 6.
- 16.
Barrett CL, Bisset KR, Eubank SG, Feng X, Marathe MV. EpiSimdemics: an efficient algorithm for simulating the spread of infectious disease over large realistic social networks. InSC'08: Proceedings of the 2008 ACM/IEEE Conference on Supercomputing 2008 Nov 15 (pp. 1–12). IEEE.
- 17. Germann TC, Kadau K, Longini IM, Macken CA. Mitigation strategies for pandemic influenza in the United States. Proceedings of the National Academy of Sciences. 2006 Apr 11;103(15):5935–40.
- 18. Sime JD. Crowd psychology and engineering. Safety science. 1995 Nov 1;21(1):1–4.
- 19. Fruin JJ. The causes and prevention of crowd disasters. Engineering for crowd safety. 1993 Mar;1(10):99–108.
- 20. Burstedde C, Klauck K, Schadschneider A, Zittartz J. Simulation of pedestrian dynamics using a two-dimensional cellular automaton. Physica A: Statistical Mechanics and its Applications. 2001 Jun 15;295(3–4):507–25.
- 21. Henderson LF. The statistics of crowd fluids. nature. 1971 Feb;229(5284):381. pmid:16059256
- 22. Helbing D, Molnar P. Social force model for pedestrian dynamics. Physical review E. 1995 May 1;51(5):4282.
- 23. Helbing D, Farkas I, Vicsek T. Simulating dynamical features of escape panic. Nature. 2000 Sep;407(6803):487. pmid:11028994
- 24.
Mehran R, Oyama A, Shah M. Abnormal crowd behavior detection using social force model. In2009 IEEE Conference on Computer Vision and Pattern Recognition 2009 Jun 20 (pp. 935–942). IEEE.
- 25. Zanlungo F, Ikeda T, Kanda T. Social force model with explicit collision prediction. EPL (Europhysics Letters). 2011 Mar 23;93(6):68005.
- 26.
Lämmel G, Plaue M. Getting out of the way: Collision-avoiding pedestrian models compared to the realworld. InPedestrian and Evacuation Dynamics 2012 2014 (pp. 1275–1289). Springer, Cham.
- 27. Treiber M, Hennecke A, Helbing D. Derivation, properties, and simulation of a gas-kinetic-based, nonlocal traffic model. Physical Review E. 1999 Jan 1;59(1):239.
- 28. Wei-Guo S, Yan-Fei Y, Bing-Hong W, Wei-Cheng F. Evacuation behaviors at exit in CA model with force essentials: A comparison with social force model. Physica A: Statistical Mechanics and its Applications. 2006 Nov 15;371(2):658–66.
- 29. Li Z, Jiang Y. Friction based social force model for social foraging of sheep flock. Ecological modelling. 2014 Feb 10;273:55–62.
- 30. Namilae S, Derjany P, Mubayi A, Scotch M, Srinivasan A. Multiscale model for pedestrian and infection dynamics during air travel. Physical review E. 2017 May 31;95(5):052320.
- 31. Namilae S, Srinivasan A, Mubayi A, Scotch M, Pahle R. Self-propelled pedestrian dynamics model: Application to passenger movement and infection propagation in airplanes. Physica A: Statistical Mechanics and its Applications. 2017 Jan 1;465:248–60.
- 32. Lipsitch M, Cohen T, Cooper B, Robins JM, Ma S, James L, et al. Transmission dynamics and control of severe acute respiratory syndrome. Science. 2003 Jun 20;300(5627):1966–70. pmid:12766207
- 33. Rivers CM, Lofgren ET, Marathe M, Eubank S, Lewis BL. Modeling the impact of interventions on an epidemic of Ebola in Sierra Leone and Liberia. PLoS currents. 2014 Nov 6;6.
- 34. Zębala J, Ciępka P, RezA A. Pedestrian acceleration and speeds. Problems of Forensic Sciences. 2012;91:227–34.
- 35. Moussaïd M, Perozo N, Garnier S, Helbing D, Theraulaz G. The walking behaviour of pedestrian social groups and its impact on crowd dynamics. PloS one. 2010 Apr 7;5(4):e10047. pmid:20383280
- 36. Osterholm MT, Moore KA, Kelley NS, Brosseau LM, Wong G, Murphy FA, et al. Transmission of Ebola viruses: what we know and what we do not know. MBio. 2015 May 1;6(2):e00137–15. pmid:25698835
- 37. Judson S, Prescott J, Munster V. Understanding ebola virus transmission. Viruses. 2015 Feb;7(2):511–21. pmid:25654239
- 38. Clark RP, de Calcina-Goff ML. Some aspects of the airborne transmission of infection. Journal of the Royal Society Interface. 2009 Oct 8;6(suppl_6):S767–82.
- 39. Yuen KY, Wong SS. Human infection by avian influenza A H5N1. Hong Kong Medical Journal. 2005.
- 40. Bourouiba L, Dehandschoewercker E, Bush JW. Violent expiratory events: on coughing and sneezing. Journal of Fluid Mechanics. 2014 Apr;745:537–63.
- 41. Gupta JK, Lin CH, Chen Q. Flow dynamics and characterization of a cough. Indoor air. 2009 Dec;19(6):517–25. pmid:19840145
- 42. Moskal A, Gradoń L. Temporary and spatial deposition of aerosol particles in the upper human airways during breathing cycle. Journal of Aerosol Science. 2002 Nov 1;33(11):1525–39.
- 43. Naseri A, Shaghaghian S, Abouali O, Ahmadi G. Numerical investigation of transient transport and deposition of microparticles under unsteady inspiratory flow in human upper airways. Respiratory physiology & neurobiology. 2017 Oct 1;244:56–72.
- 44. Towner JS, Rollin PE, Bausch DG, Sanchez A, Crary SM, Vincent M, et al. Rapid diagnosis of Ebola hemorrhagic fever by reverse transcription-PCR in an outbreak setting and assessment of patient viral load as a predictor of outcome. Journal of virology. 2004 Apr 15;78(8):4330–41. pmid:15047846
- 45. Zhao GP. SARS molecular epidemiology: a Chinese fairy tale of controlling an emerging zoonotic disease in the genomics era. Philosophical Transactions of the Royal Society B: Biological Sciences. 2007 Feb 27;362(1482):1063–81.
- 46. Yu H., Liao Q., Yuan Y., Zhou L., Xiang N., Huai Y., et al. (2010). Effectiveness of oseltamivir on disease progression and viral RNA shedding in patients with mild pandemic 2009 influenza A H1N1: opportunistic retrospective study of medical charts in China. Bmj, 341, c4779. pmid:20876641
- 47. Teunis PF, Moe CL, Liu P, E. Miller S, Lindesmith L, Baric RS, et al. Norwalk virus: how infectious is it?. Journal of medical virology. 2008 Aug;80(8):1468–76. pmid:18551613
- 48.
Riley RL , O'Grady F. Airborne infection: transmission and control. Macmillan; 1961.
- 49. Teunis PF, Brienen N, Kretzschmar ME. High infectivity and pathogenicity of influenza A virus via aerosol and droplet transmission. Epidemics. 2010 Dec 1;2(4):215–22. pmid:21352792
- 50. Parisi DR, Gilman M, Moldovan H. A modification of the social force model can reproduce experimental data of pedestrian flows in normal conditions. Physica A: Statistical Mechanics and its Applications. 2009 Sep 1;388(17):3600–8.
- 51. Johansson A, Helbing D, Shukla PK. Specification of the social force pedestrian model by evolutionary adjustment to video tracking data. Advances in complex systems. 2007 Dec;10(supp02):271–88.
- 52. Sadeghi Lahijani M, Islam T, Srinivasan A, Namilae S. Constrained Linear Movement Model (CALM): Simulation of passenger movement in airplanes. PLoS one. 2020 Mar 5;15(3):e0229690. pmid:32134966