WorksAgricultural and Biological Sciences
Extending indoor airborne infection risk modelling to 3D, with local surface deposition
Abstract
Mathematical models of indoor airborne disease transmission often rely on simplifying assumptions to reduce computational cost. In particular, aerosol concentrations may be assumed uniform across room height, allowing a two-dimensional (2D) formulation, while particle deposition on surfaces is represented by a first-order removal term acting throughout the computational domain. Here, we investigate how these assumptions affect predictions of airborne infection risk. We extend the Viral Infection Risk Indoor Simulator (VIRIS) [Xue et al. 2024] by developing a three-dimensional (3D) reaction-diffusion formulation in which aerosol deposition is represented by local removal at surfaces through a Robin boundary condition. We compare the original VIRIS framework with the extended model (VIRIS-3D-L) across three indoor spaces of increasing architectural and people-movement complexity: a courtroom, a care home and a supermarket. Across all three settings, the original 2D formulation with global removal predicts lower infection risks than the 3D formulation with local deposition, with differences of up to 50%. The predictions of VIRIS-3D-L also show encouraging agreement with observations from a documented courtroom outbreak previously used to validate VIRIS. Although computation time increases by approximately a factor of four on average, simulations remain feasible on a standard laptop, taking between 7 minutes and just over two hours. These findings suggest that VIRIS-3D-L offers a more physically realistic framework for assessing indoor airborne infection risk without prohibitive computational costs, while the original VIRIS remains useful when rapid simulations are required.
Introduction
The Viral Infection Risk Indoor Simulator (VIRIS) [30] is a holistic modelling framework powered by Topologicpy [14] that combines architectural layout, people movement, and airborne viral transmission modelling. VIRIS can be customised to represent a variety of indoor settings, people behaviour, and infectious diseases, in a computationally efficient manner. For example, disease spread for tens of individuals moving in an indoor space over the course of the day can be simulated in seconds on a standard laptop.
The airborne transmission model in VIRIS has two components [30]. First, a reaction-diffusion equation, adapted from [15], governs the spatio-temporal concentration of infectious aerosols. A turbulent eddy diffusivity [10] is used in the reaction-diffusion equation to model the effect of local turbulent air mixing. Second, infection risk is determined following [15] who developed an extension of the Wells-Riley ansatz.
In VIRIS, infectious aerosols are assumed to be uniformly distributed throughout the height of the building; therefore, airborne transmission is modelled in a two-dimensional (2D) domain. However, as aerosols diffuse in three dimensions, there are vertical concentration gradients and higher concentrations of infectious aerosols in the breathing zone. Consequently, the two-dimensional formulation leads to an underestimation of aerosol concentrations at an individual’s mouth level and cannot represent variations in aerosol transport due to differences in people’s heights and furniture heights. These limitations affect the predictions of transmission dynamics and infection risk. Additionally, the 2D formulation renders VIRIS unsuitable for studying multi-storey buildings. Extending VIRIS to a three-dimensional (3D) domain addresses these limitations; this is one of the extensions we present in this work.
Furthermore, in VIRIS, surface deposition of aerosols is represented as a first-order global removal term in the reaction-diffusion equation, following several airborne transmission models [15, 17, 11]. As aerosols deposit on all surfaces such as walls, ceilings, floors, furniture, or other solid objects, the global removal assumption leads to an underestimation of aerosol concentrations in the breathing zone, and consequently to an underestimation of the infection risk. In this study, we remove the global removal assumption and present a modified model with a more realistic, local-removal formulation.
Since the 2D-domain and global removal assumptions result in lower concentrations of infectious aerosols, they lead to an underestimation of infection risk. This, in turn, could lead to insufficient disease control measures. We, therefore, modify the reaction-diffusion equation in VIRIS for solving in a 3D domain and replace the global surface deposition term with a Robin boundary condition that represents local removal at surfaces - we call this new modelling framework VIRIS-3D-L. Additionally, VIRIS-3D-L enables the study of multi-storey buildings allowing vertical heterogeneity and connections between floors which are important factors to account for.
The paper is organised as follows. In § 1.1, we describe the VIRIS-3D-L framework. In § 2.1 and § 2.1.2, respectively, we compare the infection risk predictions and computation times of VIRIS and VIRIS-3D-L for three single-storey buildings with increasing architectural and people movement complexity: a courtroom, a care home, and a supermarket. Finally, in § 3, we present our conclusions and directions for future work.
Mathematical model
In this section, we first briefly describe the VIRIS modelling framework [30]. Next, we describe the new framework we developed, VIRIS-3D-L.
VIRIS: Airborne transmission model in a 2D domain
In the VIRIS framework [30], people behaviour is modelled using an agent-based model. An infectious person exhales viral aerosols and a susceptible person becomes infected by inhaling a certain amount of infectious aerosols. People are assumed to be points and not full-body solid objects. Aerosol transport is assumed to be by diffusion, driven by spatial concentration gradients. Advection and drag forces are neglected, as airflow-driven aerosol transport can be neglected in poorly ventilated settings [30, 5, 6]. The impact of local turbulent air mixing on diffusion is modelled by using a turbulent eddy diffusivity [10, 25].
where is the air exchange rate and is the volume of the space. Airborne transmission dynamics are simulated in a 2D domain by assuming uniform aerosol concentration across the height. Infectious aerosols are assumed to be removed due to three factors: virus deactivation, surface deposition, and ventilation. A first-order, global removal term is used to depict each of these three removal processes.
Airborne transmission model in a 2D domain
Let be a 2D domain with individuals, of which are infectious. Let be the concentration of infectious aerosols at location and at time . Then the rate of change in is given by:
where is the first-order global removal term, where is the viral deactivation rate [7, 1], is the air exchange rate and is the surface deposition rate. is the sink term from aerosol inhalation by all individuals, and is the source term from aerosol exhalation by infectious individuals.
The amount of infectious aerosols in the domain due to infectious agents, the source term, , is defined as:
where is the mask efficiency of the agent, is the room height, is the aerosol emission rate of the agent, is the fraction of virus-laden aerosols, and is the Dirac delta function representing a point source.
The sink due to inhalation by all agents in an indoor space, , is defined as:
where is the breathing rate of the agent.
A Neumann boundary condition is used, assuming perfect reflection of the aerosols off the walls,
where is the outward normal direction to , and is the boundary of the domain. The initial concentration of infectious aerosol is assumed to be 0, i.e.,
Infection risk
We use the spatio-temporal concentration of infectious aerosols, obtained by solving Eq. (1), to evaluate the infection risk, following [30] and [15], who extended the Wells-Riley ansatz to a spatio-temporal ansatz. The infection risk for a susceptible person with mask efficiency over the exposure period from 0 to is:
where is the location of the agent at time , and
where is the median infectious dose of infectious aerosols [23].
VIRIS-3D-L: Airborne transmission model in a 3D domain with local removal due to surface deposition
In VIRIS, the global removal assumption is reasonable because transmission is modelled in a 2D domain; removing aerosols uniformly across the entire domain accounts for deposition on the ceiling and floor, as well as on walls and other furniture surfaces. However, in a 3D domain, the global removal assumption is not appropriate because surfaces and the remaining domain have separate concentration profiles. Therefore, we need to remove only the infectious aerosols that deposit on the surfaces.
In the modified modelling framework VIRIS-3D-L, we modify the modelling assumptions of VIRIS (§ 1.1.1) as follows.
First, we represent each person as a point source or sink at a height of 1.8m, and, thus, model the agent at time as a point source (sink) at . (Although we could use a custom height for each agent as input in VIRIS, we take all heights to be equal for simplicity.)
Second, we solve the reaction-diffusion equation for airborne transmission, given by Eqs. (1)-(3), in three dimensions, .
Since we represent local removal due to surface deposition using a Robin boundary condition [9], we remove the first-order global removal term, , from Eq. (1). We assume all surfaces have the same removal rate. Thus, the equation is
where . We also remove the term in Eq. (2), since we no longer assume uniform concentration across the room height.
The Neumann boundary condition (Eq. (4)) is replaced by the Robin boundary condition,
The initial condition (Eq. (5)) and the formulation of infection risk (Eq. (6)) remain the same.
Numerical implementation and parameter values: comparison of VIRIS and VIRIS-3D-L
We generate a mesh of the indoor space geometry using the GMSH Python library [12]. To compare VIRIS and VIRIS-3D-L, we generate two meshes with an element size of 0.2m: one for a 2D domain with triangular elements and another for a 3D domain with tetrahedral elements.
In VIRIS [30], the Scikit-FEM Python library [13] is used to solve the reaction-diffusion equation (1) along with its built-in point-source function to represent the delta functions in Eq. (2) and Eq. (3). In this paper, for both frameworks, we use the FEniCS Python library [4] to solve the reaction-diffusion equations. Further, we approximate the delta function using an isotropic Gaussian distribution [22, 26], with a standard deviation of 0.2m, aligned with the mesh element sizes.
We simulate airborne transmission in three buildings: a courtroom, a care home, and a supermarket, as in [30]. The details of the architectural plans and people schedules are provided in Appendix § 4.1 and [30]. We use the SARS-CoV-2 disease parameters listed in Table 1 to estimate infection risk. For all three buildings, we assume poor ventilation conditions.
| Parameter | Symbol | Setting | Value | References |
| Average aerosol diameter (m) | All settings | 5 | [15] | |
| Virus deactivation rate () | All settings | [27, 1] | ||
| Surface deposition rate () | All settings | [8] | ||
| Air change rate () | Courtroom | |||
| Care home | [28, 15, 3] | |||
| Supermarket | ||||
| Fraction of virus-laden aerosol | Courtroom | 0.325 | ||
| Care home | 0.065 | [28, 15] | ||
| Supermarket | 0.065 | |||
| Median infectious dose (particles) | Courtroom | 300 | ||
| Care home | 100 | [28, 15, 21] | ||
| Supermarket | 100 | |||
| Breathing rate () | Resting | |||
| Talking | [20, 18] | |||
| Talking loudly | ||||
| Aerosol emission rate (particle/s) | Resting | 8 | ||
| Talking | 40 | [15, 2] | ||
| Talking loudly | 80 |
Table 1. Simulation parameters for SARS-CoV-2.
We take the courtroom parameter values from the courtroom superspreader outbreak data [28]. In the courtroom, the infectious individual is a superspreader, whereas in the care home and the supermarket, the infectious individuals are not superspreaders. This is captured by the value we choose for the fraction of virus-laden aerosols, denoted by (see Table 1). We consider three activity types: resting, talking, and talking loudly. The breathing rate () and aerosol emission rate () are also listed in Table 1. The simulation time-step is six seconds for all three buildings (timescale of one breath), and the total simulation time is three hours for the courtroom, 15 hours for the care home, and five hours for the supermarket, on a standard laptop. The code is available on GitHub.
Results
Here, we compare individual infection risk predictions over time and computation times for VIRIS and VIRIS-3D-L across three single-storey buildings. We recompute the VIRIS predictions using the libraries and parameters detailed in § 1.1.3 to ensure a consistent comparison with VIRIS-3D-L.
Infection risk comparison
Courtroom
In this section, as in [30], we model the courtroom as a hollow cuboid with no furniture and ten stationary agents ( to ), as shown in Figure 1. At the start of the simulation, one individual, , is infectious (red square in Figure 1), and nine individuals, to , are susceptible (green circles in Figure 1). We run the simulation for the time period 2-5pm, the duration of the hearing session [28].
Figure 1. Top view of the courtroom and the location of individuals during the hearing session [28]. The infectious individual is shown as a red square, and the susceptible individuals ( to ) are shown as green circles.
In Figure 2, we plot the time evolution of infection risk for agents through , from 2pm to 5pm, generated using the VIRIS and VIRIS-3D-L frameworks.
Figure 2. Comparison of the temporal infection risk, for nine susceptible individuals ( to ), in a courtroom (Figure 1), estimated using Eq. (6) for: a) VIRIS (global removal, 2D domain), and b) VIRIS-3D-L (local removal, 3D domain).
We observe that the infection risk evolves similarly over time across the two frameworks but VIRIS underestimates individuals’ infection risk. For example, at the end of the simulation, the infection risk for and is 50% using VIRIS and 60% using VIRIS-3D-L. Note that the predictions from VIRIS-3D-L better align with the outbreak study [28], which reports that four individuals tested positive for SARS-CoV-2 a few days after the hearing. Also, infection risk increase more rapidly over time in VIRIS-3D-L than in VIRIS; for example, at 3pm, infection risk for reaches 52% using VIRIS while it reaches 61% in VIRIS-3D-L, starting from zero infection risk at 2pm.
VIRIS-3D-L models airborne transmission more realistically while predicting higher infection risk and steeper increase in infection risk than VIRIS, we recommend using VIRIS-3D-L to predict infection risk.
Care home
We now study a small care home, with five bedrooms (BR1 to BR5), including one double bedroom (BR3), and two common rooms (CR1 and CR2); all rooms are furnished, as shown in Figure 3. The care home has six residents: one is assumed infectious (), and five are susceptible ( to ) at the start of the simulation. The simulation runs from 8am to 9pm, covering an entire day of activities. All residents are in one of the common rooms from 9am to 12pm (, , and in CR1; , , and in CR2), from 2pm to 5pm (, , and in CR1; , , and in CR2), and from 5pm to 8pm (, , and in CR1; , , and in CR2). At other times, residents are in their bedrooms.
Figure 3. Layout of a small care home with two common rooms (CR1 and CR2) and five bedrooms (BR1-BR5). The infectious resident is shown as a red cylinder with a red spherical head, and susceptible residents - are shown as green cylinders.
The care home is a more complex environment than the courtroom. The architectural layout (furniture and internal walls) is more complex and there is some people movement. Figure 4 shows the temporal infection risk for five susceptible residents ( to ) from 8am to 9pm, predicted using the VIRIS and VIRIS-3D-L frameworks, respectively.
Figure 4. Comparison of the temporal infection risk, for five susceptible residents ( to ) in a care home (Figure 1), estimated using Eq. (6) for: a) VIRIS (global removal, 2D domain), and b) VIRIS-3D-L (local removal, 3D domain).
At the end of the simulation day, we observe a significant underestimation of infection risk when using VIRIS for and (52% and 42%, respectively) relative to VIRIS-3D-L (77% and 71%, respectively). Note that for the other residents, infection risk saturates at 100% towards the end of the simulation but if we compare infection risk at earlier times, we see that the infection risk experienced by and is also significantly underestimated by VIRIS. For example, at 12pm, the infection risk of is 60% in VIRIS but 90% in VIRIS-3D-L. When comparing infection risk over time for all residents, we find that, on average, VIRIS significantly underestimates infection risk, by 50% relative to VIRIS-3D-L.
Moreover, we observe a rapid increase in infection risk in VIRIS-3D-L compared to VIRIS. For example, for , infection risk is 90% by noon with VIRIS-3D-L, whereas with VIRIS it is 60%. Similarly, for , by 12pm infection risk is higher in VIRIS-3D-L (97%) versus 92% in VIRIS. and are in CR1 with the infectious resident, from 9am to noon. During this period, because VIRIS-3D-L predicts higher infectious aerosol concentrations in the breathing zone than VIRIS, infection risk increases faster and infection risks are higher by noon.
As for the courtroom (§ 2.1.1), VIRIS predicts a significantly lower infection risk and slower increase in infection risk than VIRIS-3D-L in the care home. Thus, we suggest using VIRIS-3D-L to predict infection risk.
Supermarket
Next, we consider a small supermarket (196 m). As in [30], we model the supermarket as a cuboid with six shelves of varying height, four checkout counters, and a basket holder (Figure 5). The customer flow rate is 60 per hour, and every sixth customer is considered infectious. We simulate people movement over five hours, from 8am to 1pm, but customer entry is restricted until 12pm to ensure customers complete their shopping before the simulation ends. Thus, 240 customers visit the supermarket over four hours, of whom 40 are infectious. Each customer stays in the supermarket for an average of seven minutes, unlike in the care home and the courtroom, where individuals remain in the domain for the entire simulation.
Figure 5. Layout of a small supermarket. It consists of six shelves, four checkout counters, a basket collection point and a door (entry and exit).
The supermarket is a high-traffic environment with a more complex architecture than the courtroom and the care home. Also, people movement is more complex and dynamic than in the care home. Customers move continuously, with brief stops to pick items and pay at the counter, whereas in the care home, residents remain stationary for some hours in the bedrooms and common rooms.
Here, we present customer temporal infection risks using a different approach. Specifically, we evaluate the infection risk at a customer’s exit time rather than across the entire, brief shopping period (7.5 minutes on average). To examine the temporal infection risk, we consider four non-overlapping 30-minute intervals: 8:00–8:30am, 9:00–9:30am, 10:00–10:30am, and 11:00–11:30am, to ensure that customers entering during each interval complete their shopping and exit before the next interval begins. This approach ensures that the entry-time intervals are independent, as customers do not overlap between intervals. Accordingly, Figure 6 shows the distribution of infection risk at the exit for customers whose entry times fall within these four 30-minute intervals, totalling 120 customers.
Figure 6. Comparison of customer infection risk at the exit time from the supermarket (Figure 5), determined using Eq. (6) for: a) VIRIS (global removal, 2D domain), and b) VIRIS-3D-L (local removal, 3D domain). The horizontal axis shows four non-overlapping 30-minute entry intervals: 8:00–8:30am, 9:00–9:30am, 10:00–10:30am, and 11:00–11:30am. The horizontal bar in the middle of the box represents the median infection risk. The lower boundary is the 25th percentile (), and the upper boundary is the 75th percentile () of infection risk for customers who entered during the corresponding entry-time interval. The height of the filled box is the interquartile range, . The hollow circles outside the box are data points beyond and , where rare and extreme cases lie.
In both VIRIS and VIRIS-3D-L, infection risk increases for the first two entry time intervals and then saturates. However, we observe a lower infection risk in VIRIS than in VIRIS-3D-L, across the four entry-time intervals. The underestimation in median infection risk using VIRIS is smallest for the 8-8:30am time interval, but increases significantly in later intervals. For example, in the time interval from 9-9:30am, median infection risk using VIRIS is 24% whereas it is 31% in VIRIS-3D-L.
The variance is generally higher (> 1) in VIRIS-3D-L than in VIRIS. Additionally, the maximum bounds of the box plots are lower for VIRIS than for VIRIS-3D-L across all four entry-time intervals, indicating significant underestimation by VIRIS. The corresponding values are 17%, 30%, 41%, and 41% for VIRIS, compared with 25%, 44%, 49%, and 57% for VIRIS-3D-L, respectively starting from 8-8:30am to 11-11:30am.
As observed in the courtroom (§ 2.1.1) and the care home (§ 2.1.1.1), we also find that the more realistic airborne transmission modelling in VIRIS-3D-L predicts significantly higher infection risk and a rapid increase in infection risk than VIRIS. These results further strengthen the recommendation to use VIRIS-3D-L for infection risk prediction.
Further, we use a one-sided Wilcoxon [29] signed-rank test (Appendix § 4.3) for statistical comparison of infection risk predictions between the two frameworks. We confirm that VIRIS underestimates infection risk compared with VIRIS-3D-L for all three buildings in a statistically significant way.
Computation time comparison
In Table 2, we compare the computational times for VIRIS and VIRIS-3D-L, for the three buildings. As expected, the computation time for VIRIS-3D-L is higher than that for VIRIS. This is because solving the reaction-diffusion equation (1) takes longer in a 3D domain than in a 2D domain (Table 4 in Appendix § 4.4). Specifically, total computation time increases by six minutes for the courtroom, 14 minutes for the care home, and 1.7 hours for the supermarket. The care home simulation involved 15 hours of moving residents, compared with three hours of static individuals in the courtroom. The increase in computation time for the supermarket is highest, reflecting its dynamic environment, 240 customers, and complex layout, compared with the care home’s six moderately dynamic residents and 10 static individuals in the courtroom.
| Building | VIRIS | VIRIS-3D-L |
| Courtroom | 1.6 | 7.0 |
| Care home | 8.6 | 23.5 |
| Supermarket | 25.0 | 129.3 |
Table 2. Computation time in minutes for three single-storey buildings (courtroom, care home, supermarket) using the VIRIS and VIRIS-3D-L modelling frameworks.
| Process | Courtroom | Care home | Supermarket |
| Topology creation | |||
| Schedule creation | |||
| Mesh generation | |||
| Agents’ trajectory generation | |||
| Reaction-diffusion solution | |||
| Infection risk estimation |
Table 4. : Difference in computation time, in minutes, between VIRIS and VIRIS-3D-L frameworks, separated by processing steps for three single-storey buildings.
Conclusion
In this paper, we extended VIRIS [30] by modifying two assumptions to make them more realistic, creating in this way the VIRIS-3D-L framework. First, we solved the reaction-diffusion equation modelling airborne transmission in a 3D domain instead of a 2D domain, and second, we replaced the global removal, first-order, surface-deposition sink term in the equation with a Robin boundary condition that captures local aerosol removal at surfaces. We compared individual infection risk predictions over time and computation times for VIRIS and VIRIS-3D-L in three single-storey buildings: a courtroom, a care home, and a supermarket. For all three buildings, VIRIS significantly underestimated infection risk compared to VIRIS-3D-L, ranging from 8%–50%. Moreover, in all buildings the infection risk rises more slowly over time in VIRIS compared to VIRIS-3D-L. These differences arise because VIRIS assumes uniform aerosol concentrations over the building height and applies surface-deposition removal throughout the domain, including the breathing zone, which lowers the predicted infectious aerosol concentration. By resolving vertical concentration gradients and correctly delegating removal only to surfaces, VIRIS-3D-L predicts higher breathing zone concentrations and greater spatial variation in infection risk, particularly in the supermarket, where furniture heights vary. In VIRIS-3D-L, computation time increases by about fourfold on average.
Although only single-storey buildings are considered here, VIRIS-3D-L can be applied to multi-storey buildings. Future work could validate VIRIS-3D-L against measured aerosol concentrations and outbreak data, investigate airflow-driven advection in well-ventilated spaces, and quantify how local and global representations of ventilation removal affect infection risk.
The lower infection risk estimates in VIRIS overestimate safe exposure durations and would lead to less effective interventions. Thus, VIRIS-3D-L is preferable for infection risk prediction and intervention assessment, particularly in settings with varying heights of people and furniture or frequent people movement. VIRIS remains useful for rapid studies of simple single-storey buildings when lower computational cost is essential.
Appendix
Layout and people schedules for three single-storey buildings
In this section, we describe the layout and schedule of people in three single-storey buildings, used in this study for comparing VIRIS and VIRIS-3D-L frameworks.
Courtroom
We consider a single-storey courtroom in the Canton of Vaud, Switzerland. In [28], extensive data from a hearing held from 2pm to 5pm on 30th October 2020 were analysed to study airborne transmission of COVID-19. The hearing was attended by 10 individuals, and within a week of the hearing, four individuals tested positive for COVID-19. The dimensions of the courtroom are 8.9 m () × 5.6 m () × 3 m (). We assume there are no openings in the windows or doors, as they were closed during the hearing for confidentiality. We label the individuals as , , , , , , , , , and . All individuals were assigned seats in the courtroom, at least 1.5 m apart from each other, as shown in Figure 1, and they remained seated throughout the hearing. was the only infectious individual, represented by a red square in Figure 1, and is considered a superspreader [15]. Within a week of the hearing, , , , and tested positive for COVID-19. However, had contact with another positive case before the hearing. The individuals to were present in the courtroom for the entire hearing, whereas , the witness, was present only for the last 34 minutes of the hearing. During the hearing, there were four breaks, 2pm to 2:05pm, 2:23pm to 2:30pm, 2:55pm to 3:10pm, and 3:44pm to 3:50pm, during which to remained in the courtroom, and others went into the waiting hall outside the courtroom. None of the individuals wore a mask during the hearing period. Additionally, the mechanical ventilation system was broken during the hearing, leading to poor ventilation in the courtroom.
Care home
The second single-storey building is a small care home with dynamic residents. The care home consists of five bedrooms and two common rooms connected by a corridor, with six agents, as shown in Figure 3. The overall dimensions of the care home are 14 m () × 13 m () × 3 m (). Two residents share one of the five bedrooms, and the remaining four bedrooms are occupied by a single resident, as shown in Figure 3. We simulate an entire day from 8am to 11pm in the care home. The residents are labelled , , , , , and , and their assigned bedrooms are shown in Figure 3. We assume that is infectious at the start of the simulation. Before 9am, all residents are in their respective bedrooms. From 9am to 12pm, , , and are in the common room labelled CR1, and , , and are in the other common room labelled CR2 (Figure 3). After 12pm, all residents return to their respective bedrooms. From 2pm to 5pm, , , and go to CR1, and , , and go to CR2. Then the residents exchange common rooms, that is, , , and go to CR2, and , , and go to CR1, and they stay there from 5pm to 8pm. After that, all residents retire to their respective bedrooms. We assume that each resident is talking when they are in either common room and resting when they are in the bedroom.
Supermarket
The third single-storey building is a small supermarket, characterised by a highly dynamic environment and a complex indoor layout. The supermarket differs from the courtroom and care home because individuals do not remain indoors for the entire simulation duration and they are walking continuously. The overall dimensions of the supermarket are 14 m () × 12 m () × 3 m (), as shown in Figure 5. The simulation period is five hours, from 8am to 1pm. We assume that 60 customers enter the supermarket per hour, i.e., one customer every minute [24, 16]. We restrict entry to the supermarket until 12pm, so total footfall is 240 customers.
A customer’s trajectory begins when they enter through the door. Then the customer goes to a nearby basket holder to collect a basket, which takes 15 seconds. After that, the customer moves around the supermarket to pick exactly six items from the shelves. The time to pick an item is sampled from a uniform distribution . For each customer, six items are chosen at random from the available choices. After collecting the items, the customer goes to the checkout counter. There are four counters. Depending on availability, one counter is randomly chosen. The checkout time is also sampled from a uniform distribution . Finally, the customer leaves the supermarket via the door. The entry and exit doors are the same. Each customer spends 7.5 minutes on
#+#+#+#+assistant average in the supermarket. We assume that one in every 6 customers entering the supermarket is infectious, i.e., 40 infectious agents during the simulation period [19]. So, at the hourly level, 10 infectious customers enter the supermarket.
Concentration of infectious aerosols
In this section, we compare the temporal evolution of the concentration of infectious aerosols across the three single-storey buildings (courtroom, care home, and supermarket) by solving Eq. (1) for two modelling frameworks: VIRIS and VIRIS-3D-L. We estimate the absolute differences in spatio-temporal concentration between VIRIS and VIRIS-3D-L, as follows:
We scale the spatial concentration values at each time point for each of the three modelling frameworks by dividing by the average concentration at that time point. For VIRIS, the scaled concentration values are given by,
where and for VIRIS-3D-L,
where .
For the VIRIS and VIRIS-3D-L comparison, we take the average of over the height to bring it to the 2D domain of VIRIS, as follows,
Then, we estimate the absolute difference between scaled spatio-temporal concentration values. The absolute difference is given by,
Then, in Figure 7, we plot the average and maximum values of the absolute differences, , estimated using equation (B1) to compare the two frameworks across the three buildings.
Figure 7. Temporal variation in the maximum and average absolute differences in virus concentration between VIRIS and VIRIS-3D-L. The first row is for the courtroom, the second for the care home, and the third for the supermarket.
Statistical comparison of infection risk
In this section, we statistically compare individual-level temporal infection-risk estimates from the VIRIS and VIRIS-3D-L models for three single-storey buildings. We evaluate infection risk using Eq. (6); the resulting values are bounded between 0 and 1 and are not normally distributed. Thus, we perform a non-parametric test for paired observations, the Wilcoxon signed-rank test [29], to compare individual-level temporal infection risk estimates.
For each individual and time , where is the simulation end time for the corresponding building, we define the paired difference in infection risk for two model comparisons as follows:
VIRIS versus VIRIS-3D-L: .
We test the hypotheses at the significance level . We first assess whether the two models in each pair produce systematically different infection-risk estimates using a two-sided Wilcoxon signed-rank test.
Hypothesis 1. Infection risks are different for the two models.
: median.
: median.
The test statistics and -values are presented in Table 3 for the VIRIS-3D-L versus VIRIS comparison. For all three buildings, the two-sided -values are below 0.05. Therefore, we reject and conclude that the paired infection-risk estimates differ systematically between VIRIS and VIRIS-3D-L.
| Building | Statistic | Two-sided | Overest. | Underest. | Median diff. |
| Courtroom | 0.0 | 1.0 | 0.0 | ||
| Care home | 0.0 | 1.0 | 0.0 | ||
| Supermarket | 0.0 | 1.0 | 0.0 | 0.0 |
Table 3. : Wilcoxon signed-rank test results for three single-storey buildings to compare VIRIS and VIRIS-3D-L.
To determine the direction of the systematic difference, we then perform one-sided Wilcoxon signed-rank tests. Positive values of indicate that VIRIS predicts higher infection risk estimates than VIRIS-3D-L, and vice versa.
Hypothesis 2. VIRIS overestimates.
: median.
: median() .
Equivalently, rejecting implies that VIRIS systematically overestimates infection risk relative to VIRIS-3D-L.
Hypothesis 3. VIRIS underestimates. : median() .
: median() .
Equivalently, rejecting implies that VIRIS systematically underestimates infection risk relative to VIRIS-3D-L.
The one-sided test results are presented in Table 3. For all three buildings, the -values for the overestimation hypothesis (2) are 1, whereas the corresponding -values for the underestimation hypothesis (3) are below 0.05. Thus, VIRIS systematically underestimates infection risk relative to VIRIS-3D-L for all three buildings.
Computation time
In this section, we compare the computation time for each component of the two modelling frameworks, VIRIS and VIRIS-3D-L, for three single-storey buildings. The difference in computation time (in minutes) between VIRIS and VIRIS-3D-L is provided in Table 4.
References
- [1]Amar Aganovic, Yang Bi, Guangyu Cao, Finn Drangsholt, Jarek Kurnitski, and Pawel Wargocki. Estimating the impact of indoor relative humidity on sars-cov-2 airborne transmission risk using a new modification of the wells-riley model. Building and environment, 205:108278, 2021.DOI
- [2]Sima Asadi, Anthony S Wexler, Christopher D Cappa, Santiago Barreda, Nicole M Bouvier, and William D Ristenpart. Aerosol emission and superemission during human speech increase with voice loudness. Scientific reports, 9(1):2348, 2019.DOI
- [3]ASHRAE. ANSI/ASHRAE Addendum ab to ANSI/ASHRAE Standard 62.1-2022: Ventilation and Acceptable Indoor Air Quality. Technical report, American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE), October 2023.
- [4]Igor A Baratta, Joseph P Dean, Jørgen S Dokken, Michal Habera, Jack HALE, Chris N Richardson, Marie E Rognes, Matthew W Scroggs, Nathan Sime, and Garth N Wells. Dolfinx: the next generation fenics problem solving environment. 2023.
- [5]Rajesh K Bhagat, Stuart B Dalziel, MS Davies Wykes, and PF Linden. Building ventilation: The consequences for personal exposure. Annual Review of Fluid Mechanics, 56(1):405–434, 2024.DOI
- [6]Rajesh K Bhagat, MS Davies Wykes, Stuart B Dalziel, and PF Linden. Effects of ventilation on the indoor spread of covid-19. Journal of Fluid Mechanics, 903:F1, 2020.DOI
- [7]Paul Dabisch, Michael Schuit, Artemas Herzog, Katie Beck, Stewart Wood, Melissa Krause, David Miller, Wade Weaver, Denise Freeburger, Idris Hooper, et al. The influence of temperature, humidity, and simulated sunlight on the infectivity of sars-cov-2 in aerosols. Aerosol Science and Technology, 55(2):142–153, 2021.DOI
- [8]Rick JB de Kreij, Megan S Davies Wykes, Huw Woodward, and Paul F Linden. Modeling disease transmission in a train carriage using a simple 1d-model. Indoor Air, 32(6):e13066, 2022.DOI
- [9]Lawrence C. Evans. Partial Differential Equations. American Mathematical Society, Providence, RI, 2 edition, 2010.
- [10]Timothy Foat, Joseph Drodge, James Nally, and Simon Parker. A relationship for the diffusion coefficient in eddy diffusion based indoor dispersion modelling. Building and Environment, 169:106591, February 2020.DOI
- [11]Laura Gammaitoni and Maria Clara Nucci. Using a mathematical model to evaluate the efficacy of tb control measures. Emerging infectious diseases, 3(3):335, 1997.pubmed.ncbi.nlm.nih.gov/9284378
- [12]Christophe Geuzaine and Jean-François Remacle. Gmsh: A 3-d finite element mesh generator with built-in pre-and post-processing facilities. International journal for numerical methods in engineering, 79(11):1309–1331, 2009.DOI
- [13]Tom Gustafsson and Geordie Drummond Mcbain. scikit-fem: A python package for finite element assembly. Journal of Open Source Software, 5(52):2369, 2020.DOI
- [14]Wassim Jabi. Topology: A syntopic integration of geometry, topology, and semantics in architectural design. In International Symposium on Formal Methods in Architecture, pages 3–8. Springer, 2024.DOI
- [15]Zechariah Lau, Ian M. Griffiths, Aaron English, and Katerina Kaouri. Predicting the spatio-temporal infection risk in indoor spaces using an efficient airborne transmission model. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 478:20210383, March 2022.DOI
- [16]Lumina Intelligence. Uk convenience & wholesale market report 2025: Brochure. https://store.lumina-intelligence.com/wp-content/uploads/2025/07/UK-Convenience-Wholesale-Market-Report-2025-Brochure-FINAL.pdf, 2025. Accessed: 2026-04-15.
- [17]Shelly L Marr, William W Nazaroff, Jose L Jimenez, Atze Boerstra, Giorgio Buonanno, Stephanie J Dancer, Jarek Kurnitski, Linsey C Marr, Lidia Morawska, and Catherine Noakes. Transmission of sars-cov-2 by inhalation of respiratory aerosol in the skagit valley chorale superspreading event. Indoor air, 31(2):314–323, 2021.DOI
- [18]Benedikt Mutsch, Marie Heiber, Felix Grätz, Rainer Hain, Martin Schönfelder, Stephanie Kaps, Daniela Schraner, Christian J Kähler, and Henning Wackerhage. Aerosol particle emission increases exponentially above moderate exercise intensity resulting in supermission during maximal exercise. Proceedings of the National Academy of Sciences, 119(22):e2202521119, 2022.DOI
- [19]Office for National Statistics. Coronavirus (covid-19) infection survey, uk: 22 july 2022, 2022.
- [20]Christopher M Orton, Henry E Symons, Benjamin Moseley, Justice Archer, Natalia A Watson, Keir EJ Philip, Sadiyah Sheikh, Brian Saccente-Kennedy, Declan Costello, William J Browne, et al. A comparison of respiratory particle emission rates at rest and while speaking or exercising. Communications medicine, 2(1):44, 2022.DOI
- [21]Mara Prentiss, Arthur Chu, and Karl K. Berggren. Finding the infectious dose for covid-19 by applying an airborne-transmission model to superspreader events. PLOS ONE, 17:e0265816, 2022.DOI
- [22]Alexander Pretty, Ian M Griffiths, Zechariah Lau, and Katerina Kaouri. The effect of local ventilation on a spatiotemporal model of airborne disease transmission in indoor spaces. European Journal of Applied Mathematics, pages 1–18, 2026.arxiv.org/abs/2309.16332
- [23]Guangyu Qiu, Xiaole Zhang, Andrew J deMello, Maosheng Yao, Junji Cao, and Jing Wang. On-site airborne pathogen detection for infection risk mitigation. Chemical Society Reviews, 52(24):8531–8579, 2023.DOI
- [24]Maria Rybaczewska, Łukasz Sułkowski, and Yuriy Bilan. Covid-19 pandemic and independent convenience stores in the united kingdom. 2021.DOI
- [25]Yuan Shao, Sandhya Ramachandran, Susan Arnold, and Gurumurthy Ramachandran. Turbulent eddy diffusion models in exposure assessment-determination of the eddy diffusion coefficient. Journal of occupational and environmental hygiene, 14(3):195–206, 2017.
- [26]Gordon Leslie Squires. Practical physics. Cambridge university press, 2001.
- [27]Neeltje Van Doremalen, Trenton Bushmaker, Dylan H Morris, Myndi G Holbrook, Amandine Gamble, Brandi N Williamson, Azaibi Tamin, Jennifer L Harcourt, Natalie J Thornburg, Susan I Gerber, et al. Aerosol and surface stability of sars-cov-2 as compared with sars-cov-1. New England journal of medicine, 382(16):1564–1567, 2020.DOI
- [28]David Vernez, Sophie Schwarz, Jean-Jacques Sauvain, Christiane Petitgnat, and Guillaume Suarez. Probable aerosol transmission of SARS-CoV-2 in a poorly ventilated courtroom. Indoor Air, 31:1776–1785, 2021.DOI
- [29]Robert F Woolson. Wilcoxon signed-rank test. Wiley encyclopedia of clinical trials, pages 1–3, 2007.
- [30]Yidan Xue, Wassim Jabi, Thomas E. Woolley, and Katerina Kaouri. VIRIS: Simulating indoor airborne transmission combining architectural design and people movement. Scientific Reports, 14:28220, November 2024.DOI