# A BIM-based solution for the optimisation of fire safety measures in the building design

Mahdi Sabbaghzadeh, Moslem Sheikhkhoshkar, Saeed Talebi, Mohammad

Rezazadeh, Mohammad Rastegar Moghaddam, Mostafa Khanzadi

► To cite this version:

Mahdi Sabbaghzadeh, Moslem Sheikhkhoshkar, Saeed Talebi, Mohammad Rezazadeh, Mohammad Rastegar Moghaddam, et al.. A BIM-based solution for the optimisation of fire safety measures in the building design. Sustainability, 2022, 14 (3), pp.1626. 10.3390/su14031626. hal-03682617

HAL Id: hal-03682617

https://hal.univ-lorraine.fr/hal-03682617

Submitted on 31 May 2022

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Article

# A BIM-Based Solution for the Optimisation of Fire Safety Measures in the Building Design

Mahdi Sabbaghzadeh<fnref n="1" />, Moslem Sheikhkhoshkar <fnref n="2" />, Saeed Talebi <fnref n="3" />, Mohammad Rezazadeh <fnref n="1" />, Mohammad Rastegar Moghaddam <fnref n="1" /> and Mostafa Khanzadi <fnref n="1" />,*

**Abstract:** A significant number of injuries and fatalities occur annually due to fire in buildings. The proactive use of fire safety measures at the design stage can potentially lead to a considerable improvement in reducing casualties by assisting occupants in a safe evacuation. In this study, a framework is developed to obtain a set of appropriate fire safety measures while considering their effects on safe evacuation (i.e., increasing the percentage of survived occupants) and budget limits. The framework consists of four phases, namely (1) initial preparation, (2) optimisation with a meta-heuristic algorithm, (3) decision making when the designer should select appropriate measures considering the budget limit, and (4) applying the selected measures into BIM. A binary version of Billiards-inspired Optimisation Algorithm (BOA) is developed and utilised in the optimisation phase. A case study approach is adopted for this research and the performance of the proposed framework is evaluated by implementing it in two case projects: a residential building and a hospital building. The results indicate that the framework is a beneficial approach for designers to modify building designs in terms of safe evacuation at the design stage by using fire safety measures effectively and economically. It is expected that the output of this framework will help decrease fatalities of building users during a fire.

**Keywords:** fire safety engineering; building information modelling; graph theory; billiards-inspired optimisation algorithm; safe evacuation

## 1. Introduction

According to the latest statistics released on the scope of building fires, 2980 deaths and 13900 injuries were reported in 2019 in the US [1]. Although the rate of fatalities has decreased in recent years, building fires still lead to significant losses. This highlights the necessity of further considerations on fire safety engineering. The purpose of fire safety engineering is to reach optimised preventive and protective measures (i.e., the solutions that assist safe evacuation during fire are called measures) against fire to decrease fatalities and injuries by utilizing engineering concepts [2]. Using fire safety measures decreases fatalities by improving safe evacuation in the building. However, they may not be used efficiently. By modifying the designed model through applying fire safety measures proactively, costs are significantly reduced compared to changes in the construction and operation phases [3]. Due to diversity in costs and effects of fire safety measures, employing optimised measures are vital for stakeholders.

**Citation:** Sabbaghzadeh, M.; Sheikhkhoshkar, M.; Talebi, S.; Rezazadeh, M.; Moghaddam, M.R.; Khanzadi, M. A BIM-Based Solution for the Optimisation of Fire Safety Measures in the Building Design. *Sustainability* **2022**, *14*, 1626. https://doi.org/10.3390/su14031626

Academic Editor(s): Marc A. Rosen
Received: 29 November 2021
Accepted: 18 January 2022
Published: 30 January 2022

**Publisher's Note:** MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

<figure><img src="image_2.png" /></figure>

Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

<footnote n="1">¹ School of Civil Engineering, Iran University of Science and Technology, Tehran 13114-16846, Iran; Mahdiferiz@civileng.iust.ac.ir (M.S.); rezazadehmhd@gmail.com (M.R.); Mhmd_rastegar@civileng.iust.ac.ir (M.R.M.)</footnote>

<footnote n="2">² CRAN CNRS UMR 7039, Université de Lorraine, F-88000 Epinal, France; moslem.sheikhkhoshkar@univ-lorraine.fr</footnote>

<footnote n="3">³ School of Engineering and the Built Environment, Birmingham City University, Birmingham B4 7XG, UK; saeed.talebi@bcu.ac.uk</footnote>

<footnote>* Correspondence: khanzadi@iust.ac.ir</footnote>
Selected evacuation paths of occupants vary depending on smoke propagation and the location of the compartment in which fire ignites [4]. There are some other factors affecting evacuation paths such as familiarity with the building and congestion [5]. However, this study mainly focuses on the hazard rather than on secondary effects. Each compartment depending on its usage has a value of fire start probability [6]. To reach a set of optimised fire safety measures accurately, it is necessary to consider every compartment of the building as a probable fire source in the optimisation phase. In this study, fire scenarios are defined according to the positions of the fire source (i.e., each compartment) in the building.

The goal of this paper is to develop a framework to reach an appropriate set of optimised fire safety measures in optimal positions considering all fire scenarios at the design stage. Evaluating the effects of fire safety measures on safe evacuation requires an interoperable environment. Such an environment should consider positions of fire safety measures and it should model occupants' evacuation and smoke propagation for every fire scenario simultaneously. Furthermore, implementing the proposed framework requires an environment capable of storing and utilising information on the compartment's features (e.g., area, usage, population density, and accessibility to other compartments). Previous studies have used Building Information Model (BIM) as an interoperable environment for fire safety management applications [7] including, identifying unsafe paths [8] and effective factors [9] in evacuation simulation during the fire. BIM has promising features such as information storage, which allows extracting, storing, and utilizing design information to perform the required computations of the proposed framework (i.e., evacuation and smoke propagation modelling in the building design and implementing optimisation of fire safety measures) [7,10]. Thus, BIM can be used as an environment to execute the proposed framework.

Some researchers investigated the issue of occupants' safe evacuation and consequently obtained solutions to decrease fatalities, which is discussed in the literature review. However, none of the previous studies have implemented optimisation techniques in selecting appropriate fire safety measures with their corresponding positions in the building design considering all of fire scenarios in an acceptable time. The research reported in this paper aims to present a BIM-based framework to obtain a set of optimised fire safety measures regarding efficiency and budget limit that enhances the safety of occupants. The proposed framework optimises fire safety measures by incorporating safe evacuation for all fire scenarios. Because of this, a Revit plugin is developed to enable the implementation of the proposed framework. Many optimisation algorithms exist, in particular meta-heuristics such as GA [11], PSO [12], and BOA [13] that can be used in the proposed framework. In this study, Billiards-inspired Optimisation Algorithm (BBOA) is customized according to the nature of the identified problem, and is called the Binary Billiards-inspired Optimisation Algorithm (BBOA). It is adopted to optimise the combination and the positions of the defined fire safety measures. BBOA results are compared and validated with GA and PSO. The results indicated that BBOA performance is comparable to other meta-heuristics including GA and PSO. The selected optimised set of fire safety measures are applied in the BIM model to increase the number of survived occupants in building fire incidents. This framework facilitates the decision-making of stakeholders regarding budget limitations and achieving maximum efficiency. Furthermore, in this paper some factors such as the large number of compartments in a building as a starting point for fire ignition, and various measures with different characteristics are considered to enhance the performance of the framework.

The rest of the study is organized as follows: In Section 2, a review is conducted on concepts and the recent research on BIM, fire safety scope, and optimisation algorithms. In Section 3, the methodology and the proposed framework is explained. The proposed framework is examined through two case studies, and the results are shown and discussed in Section 4. Ultimately, the conclusion is presented in Section 5.
## 2. Theoretical Background

### 2.1. Evacuation

Safe evacuation is essential to cut down on the number of fatalities and injuries during a fire hazard. Many factors influence safe evacuation in the building such as attributes of the occupant's behaviour, acquaintance with building paths, life-threatening conditions created by fire, and building features [14–16]. Sustainability has different dimensions and aspects that are noticed by many researchers. One of the aspects of sustainability is concerned with human-based actions [17]. More specifically, this dimension of sustainability is concerned with actions that improve vulnerability of population versus disasters, such as evacuation in emergencies [18,19].

Two major types of evacuation approaches are available, namely microscopic and macroscopic modelling [20]. In the former approach, occupants' evacuation and their characteristics (e.g., physic, behaviour types, gender) are examined individually in occupants' evacuation modelling [20]. In the macroscopic approach, occupants' evacuation and characteristics are examined in a group manner and occupants of any compartment in the building are considered as a group of people with an average velocity and a constant density [20,21].

There have been many studies on microscopic and macroscopic evacuation modelling using corresponding different models. Wang et al. [22] developed microscopic modelling employing a social force model for occupants' evacuation in buildings during fire conditions in the Unity environment. Song et al. [23] studied evacuees' behaviour during evacuation through microscopic evacuation using cellular automata and the A\* algorithm for path planning. Shi et al. [4] proposed microscopic modelling via agent-based modelling to simulate evacuation during fire. To demonstrate the application of macroscopic modelling for evacuation, Schomborg et al. [24] proposed a macroscopic network model to understand pedestrian evacuation in an emergency condition. They concluded that macroscopic modelling requires less computation time than microsimulation, however, less detailed information about evacuation is provided by this model [24]. In another study carried out by Ndiaye et al. [25], macroscopic modelling was utilised to model evacuation during critical situations using a network flow model to decrease evacuation time as well as increase the safety of occupants. Ndiaye et al. [26] used a network flow model for evacuation during emergency conditions to increase the number of survivors in a determined time for evacuees [26]. Macroscopic flow models use a dynamic network consisting of nodes and edges [25]. In every node, a group of occupants are considered with specific density and velocity, which travel from one node to another node [25]. Evacuation time for travelling between nodes considers distances between nodes, assigned to the connective edges [25]. When it comes to calculating the evacuation time, modelled evacuation time in SFPE Handbook is utilized [27]. Modelled evacuation time employs hydraulic estimation of occupants' flow for computations [27]. The velocity and density of a group of occupants accommodated in each node are determined through the modelled evacuation time relations. Then the required safe evacuation time is calculated. Its related equations are presented in Table 1.

<table><caption>**Table 1.** Computational equations for modelled evacuation time according to the SFPE [27].</caption><thead><tr><th>Equations</th><th>Parameter Definition</th></tr></thead><tbody><tr><td>RSET = t<sub>d</sub> + t<sub>a</sub> + t<sub>o</sub> + t<sub>i</sub> + t<sub>e</sub></td><td>This equation calculates the required evacuation time for occupants to reach the exit, where RSET (s) is required safe evacuation time<br>t<sub>d</sub> (s) and t<sub>a</sub> (s) depend on the alarm system<br>t<sub>o</sub> (s) and t<sub>i</sub> (s) depend on occupants' characteristics<br>t<sub>e</sub> (s) is the duration between start and end of occupants' movement</td></tr></tbody></table>
<table><tr><td>t<sub>e</sub> = t<sub>tr</sub> + t<sub>P</sub></td><td>t<sub>e</sub> (s) is the duration between start and end of occupants' movement<br/>t<sub>tr</sub> (s) is occupants' travel time without queuing<br/>t<sub>P</sub> (s) is time for passing a queue</td></tr><tr><td>S = k - akD</td><td>S (m/s) is the Velocity of occupants<br/>D (persons/m<sup>2</sup>) is the density of occupants in a determined area<br/>k is constant<br/>a is constant</td></tr><tr><td>t<sub>tr</sub> = L/S</td><td>t<sub>tr</sub> (s) is occupants' travel time without queuing<br/>L (m) is the travel distance<br/>S (m/s) is the Velocity of occupants</td></tr><tr><td>F<sub>S</sub> = S × D</td><td>F<sub>S</sub> is specific flow (persons/s/m)<br/>S (m/s) is Velocity of occupants<br/>D (persons/m<sup>2</sup>) is the density of occupants in a determined area</td></tr><tr><td>F<sub>C</sub> = F<sub>S</sub> × W<sub>e</sub></td><td>F<sub>C</sub> is the occupant's flow rate (persons/s)<br/>W<sub>e</sub> is the effective width of the passage (meters)<br/>F<sub>S</sub> is specific flow (persons/s/m)</td></tr><tr><td>t<sub>P</sub> = P/F<sub>C</sub></td><td>t<sub>P</sub> is time for passing a queue (s)<br/>P is the number of persons<br/>F<sub>C</sub> is the occupant's flow rate (persons/s)</td></tr></table>

In these equations, it is assumed that all occupants start evacuation simultaneously from the centre of the room, movement flow of occupants does not include any discontinuity due to personal decisions [27]. No disabilities have been considered and all occupants are assumed to be moving at a similar pace [27]. There is some software for evacuation simulation such as EvacSim [28], EVACNET [29], Social Distances [30], Pathfinder [31], Exodus [32] that are time-consuming [33,34]. These software packages are computationally expensive, which will be discussed in detail in Section 4.3.1. They are not open-source, which means it is required to set subjective parameters manually for every simulation in these software packages [33,34]. Implementing optimisation requires several iterations, and every iteration needs to set subjective parameters manually (e.g., distribution of occupants' density and model preparation). Some of the mentioned software packages are unable to import BIM [28–30], thus, the design must be modelled within the software, which is time-consuming. On the other hand, optimisation of fire safety measures requires considering smoke propagation modelling in addition to evacuation that is not possible for most of the mentioned software [33,34]. Therefore, it is concluded that these software packages are unsuitable for the optimisation of fire safety measures. Overall, a survey of the literature revealed that microscopic modelling has more accuracy while it requires more computation time in comparison to macroscopic modelling [16,21,24], and as a result, macroscopic evacuation modelling has more compatibility with the aim of this research.

## 2.2. Smoke Propagation

Smoke propagation, which is quicker than the fire spread, is identified as the primary life threat for occupants in the case of building fires [35,36]. The influence of smoke propagation on occupants' evacuation depends on smoke characteristics and how it propagates [36,37]. Under fire conditions, occupants may require moving through paths in which smoke propagates in the building. According to [37], smoke can cause serious injuries to the evacuees if the smoke temperature exceeds 200°C [37,38]. Two main approaches exist to investigate how smoke propagates, including zone modelling and field modelling [38]. Some researchers have studied the process of smoke propagation using these two approaches (i.e., zone modelling and field modelling). Nishino [39] presented a
model to calculate smoke propagation using zone modelling that takes into account hori-
zontal smoke propagation under the roof. In the zone modelling, it is assumed that there
are two distinct layers for space: a hot smoke layer and an air layer. Characteristics of
smoke (e.g., temperature and density of particles) are considered to be uniform through-
out each layer [35]. One of the methods to analyse the smoke movement is algebraic equa-
tions [36], which is based on zone modelling. Algebraic equations consider the bottom of
the smoke stratum to stay at a predetermined height [36]. In Table 2, the computational
equations for algebraic equations are presented according to [36].

<table><caption>**Table 2.** Computational equations for algebraic equations according to the Handbook of Smoke Control Engineering [36].</caption>
  <thead>
    <tr>
      <th>Equations</th>
      <th>Parameter Definition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Q = 1055 × (t/t<sub>g</sub>)<sup>2</sup></td>
      <td>
        <p><i>Q</i> is the heat release rate of fire (kW)</p>
        <p><i>t</i> is the time after fire starts flaming (s)</p>
        <p><i>t<sub>g</sub></i> is growth time (s)</p>
      </td>
    </tr>
    <tr>
      <td>z<sub>l</sub> = 0.166Q<sub>c</sub><sup>2/5</sup></td>
      <td>
        <p><i>z<sub>l</sub></i> is limiting height (m)</p>
        <p><i>Q<sub>c</sub></i> is the convective part of the heat release rate (kW)</p>
      </td>
    </tr>
    <tr>
      <td>Q<sub>c</sub> = χQ</td>
      <td>
        <p><i>Q<sub>c</sub></i> is the convective part of the fire's heat release rate (kW)</p>
        <p>χ is a convective deduction</p>
      </td>
    </tr>
    <tr>
      <td>When <i>z</i> &gt; <i>z<sub>l</sub></i>,<br>m = (0.071Q<sub>c</sub><sup>1/3</sup><i>z</i><sup>5/3</sup>) + 0.0018Q<sub>c</sub></td>
      <td>
        <p><i>z</i> is the height from the bottom of the floor to the smoke stratum (m)</p>
        <p><i>m</i> is the mass flow rate in a plume at distance <i>z</i> (kg/sec)</p>
      </td>
    </tr>
    <tr>
      <td>When <i>z</i> ≤ <i>z<sub>l</sub></i>,<br>m = 0.032Q<sub>c</sub><sup>3/5</sup><i>z</i></td>
      <td></td>
    </tr>
    <tr>
      <td>T<sub>s</sub> = T<sub>o</sub> + (K<sub>s</sub> Q<sub>c</sub>/m c<sub>p</sub>)</td>
      <td>
        <p><i>T<sub>s</sub></i> is smoke stratum temperature (°K)</p>
        <p><i>T<sub>o</sub></i> is environment temperature (°K)</p>
        <p><i>K<sub>s</sub></i> is a deduction of convective heat release encompassed in the smoke stratum</p>
        <p><i>C<sub>p</sub></i> is the specific heat of fume (1.0 kJ/kg·°K)</p>
      </td>
    </tr>
    <tr>
      <td>V = <sup>m</sup>/<sub>ρ</sub></td>
      <td>
        <p><i>V</i> is the volumetric flow rate of smoke (m<sup>3</sup>/sec)</p>
        <p>ρ is density of smoke (kg/m<sup>3</sup>)</p>
      </td>
    </tr>
    <tr>
      <td>ρ = <sup>P<sub>atm</sub></sup>/<sub>RT</sub></td>
      <td>
        <p><i>P<sub>atm</sub></i> is atmospheric pressure (Pa)</p>
        <p><i>R</i> is gas constant (287)</p>
        <p><i>T</i> is smoke's absolute temperature (°K)</p>
      </td>
    </tr>
  </tbody>
</table>

When using field modelling, a space is partitioned into numerous cells, and for each cell, computations for smoke characteristics are executed [38,40] developed a hybrid model for smoke propagation that utilises field modelling for fire ignition spaces and zone modelling for other spaces and passages. On the other hand, commercial software packages are available for modelling smoke propagation using field [41] or zone modelling [42]. For example, the FDS software uses field modelling for simulating smoke propagation [43]. Using field modelling software requires a considerable amount of computation time for each simulation, which is one of the main challenges in optimisation approaches. Furthermore, there are some software packages based on zone modelling such as CFAST [42,44]. They have some drawbacks that limit their applicability in some situations, their inability to import BIM and limitations in the number and shapes of rooms of buildings [44]. The review of the literature shows that zone modelling and field modelling have some advantages and disadvantages. Zone modelling has a lower computation time than field modelling while it has lower accuracy. Nevertheless, a simplified and compatible smoke propagation modelling method that is based on zone modelling should be utilised for the optimisation approach, that is developed in the proposed framework in this paper.
## 2.3. Fire Safety Measures

Several solutions exist for safe evacuation during the fire, known as measures [2,38]. Sprinklers, emergency exits, self-closing fire doors, pressurized stairwells, smoke evacuators, and smoke detection systems are samples of fire safety measures that can affect safe evacuation through increasing available safe evacuation time and decreasing required safe evacuation time [2,38]. Sprinklers affect fire growth for the benefit of safe evacuation [38]. They diminish the heat release rate and, consequently, overall smoke generation, which increases available safe time for evacuation [45]. The equation used to calculate the heat release rate after sprinkler activation is presented as follows [46]:

$$ \dot{Q}(t-t_{act}) = \dot{Q}(t_{act})\exp\left[\frac{-(t-t_{act})}{3(\dot{w}^*)^{-1.85}}\right] \quad (1) $$

where, $\dot{Q}$ is heat release rate (kW), $t$ is the time after activation of sprinklers (s), $\dot{w}^*$ is spray density (mm/s), $t_{act}$ is the time of sprinkler activation. Emergency exits are used to increase the number of escape routes, decreasing the required safe time for evacuation [2,38]. Self-closing fire doors control smoke spread by means of restricting smoke movement between rooms, increasing available safe time for evacuation [47]. Pressurized stairwells, smoke evacuators, and smoke detection systems can assist safe evacuation via controlling the smoke spread and providing more available time for occupants to evacuate [2,38].

Several researchers have investigated the impact of fire safety measures on safe evacuation. For example, studies have focused on utilizing sprinklers in buildings, examined its effects on induced life-threatening conditions by fire such as temperature [48] and propagation of smoke [35,45]. Other studies explore the role of locations of emergency exit signs in buildings [49], and utilization of self-closing fire doors [50] on safe evacuation. These studies have demonstrated that fire safety measures have a substantial role in improving safe evacuation.

## 2.4. Application of BIM and Graph Theory in Fire Safety

BIM is a process in which all building elements are modelled as 3D object-oriented elements with corresponding information for all stages of the life cycle of the building [10]. BIM has promising features for fire safety, e.g., determining paths and identifying unsafe paths for evacuation at design, operation, and maintenance phases [7], analysing the impact of gaps caused by dimensional and geometric variations on the smoke propagation [51,52]. Sun and Turkan [8] examines occupants' evacuation during the fire for the purpose of safe paths for occupants and determining unsafe zones in the building design. They propose BIM, agent-based modelling and FDS software integrated into a simulation. Abolghasemzadeh [16] investigates the occupant's behaviour confronting dynamic conditions of evacuation during the fire and proposes a microscopic simulation through integrating BIM and agent-based modelling. To inspect influential factors on evacuation, BIM and agent-based modelling are integrated by Bina and Moghadas [9]. In their study, determinants such as occupants' behaviours, gender, and location of the exit door in the design were examined.

A graph model consists of nodes and edges. In such a model, edges represent the connection between nodes [53]. To check accessibility between compartments in the building design, the graph model can be used as an applicable tool. The defined compartments are represented as nodes, and edges show accessibility between them in the graph model [54]. Utilizing the graph model and its potential features in pathfinding helps BIM to perform more efficiently [54]. A graph model can be extracted from the BIM, in which nodes and edges represent the defined compartments and portals, respectively [54]. Extracted graph models can be helpful for pathfinding between compartments in the BIM [54]. Hence, it could be utilized in evacuation modelling. Graph theory is individually used in the macroscopic flow network model for occupant evacuation modelling by Schomborg
et al. [24] and Ndiaye et al. [26]. As a result, many studies employ the potentials of the graph theory approach in fire safety. Zhi et al. [55] converted 2DCAD drawings to a graph model and used them as an input for evacuation modelling. Desmet and Gelenbe [56] use the capabilities of graph theory to detect positions of critical places in a building during an emergency evacuation. A review of the literature reveals that extracting graph models from BIM is examined in many studies through various methods for different purposes. The main objectives of these studies concentrate on the performance of exit signs [57] and route-finding purposes [54,58].

## 2.5. Application of Optimization Methods in the AEC Industry

The application of optimisation algorithms and in particular meta-heuristics is expanding rapidly in recent years. As a result, several algorithms such as Billiards Optimisation Algorithm (BOA) [13], Red deer algorithm (RDA) [59], Whales Optimisation Algorithm (WOA) [60], Political Optimizer (PO) [61], Pareto Genetic Algorithm-based Collaborative Optimisation (PGACO) [11], and Artificial Bee Colony (ABC) [62] are developed alongside well-known algorithms such as Genetics Algorithm (GA) [63], Particle Swarm Optimisation (PSO) [12], and Improved Particle Swarm Optimisation (IPSO) [64].

The architecture, engineering and construction (AEC) industry is not deprived of the use of meta-heuristics. Meta-heuristics have been widely used in the design of structures [65], optimisation of construction site layout [66], material selection [67] and project scheduling [68]. Additionally, several studies have been conducted in the field of occupants' safe evacuation. For instance, Gao et al. [69] implement an optimisation using branch and bound algorithm to reach the optimised location of doors and consequently reduce evacuation time. A genetic algorithm is used to reduce evacuation time for buildings optimisation with regards to the level of service [70]. Liu et al. [71] applied Quantum Ant Colony Algorithm (QACA) to optimize evacuation paths to decrease required evacuation time. Nevertheless, as far as it is known, in the existing literature, optimisation is carried out without thoroughly considering all of the fire scenarios in a building.

## 2.6. Binary Billiards-Inspired Optimization Algorithm (BBOA)

The major purpose of Billiards-inspired Optimisation Algorithm (BOA) is inspired by the game of billiards. Billiards is a game with a rich physical background and one of its highlights is the collision between the balls. In perfectly elastic collisions, the kinetic energies of balls are conserved before and after collisions, besides the sum of both momenta. In this situation, the balls switch only the component of their velocities, which is parallel to the impact line [13]. Figure 1 illustrates velocity components of billiards balls after the collision that is inspiring for BOA. Note that the symbols $\|\|$ and $\perp$ denote parallel and perpendicular components of velocities according to the impact direction, respectively. There are some vectors in Figure 1, which are defined as follows. $\vec{V}_c$ is the velocity of the cue ball before its collision with the object ball. $\vec{V}_c^{\text{new}}$ is the velocity of the cue ball after its collision, which is perpendicular to the impact line. $\vec{V}_o^{\text{new}}$ is the velocity of the object ball after its collision, which is parallel to the impact line.

Further information regarding BOA can be found in [13]. In [13], BOA is validated by mathematical benchmarks and common engineering problems. The results of this study show prominent results in comparison with other meta-heuristics. In the research reported in this paper, the BOA algorithm is adopted because it is convenient to use, and it is compatible with the problem that is tackled in this research.
<figure><img src="image_3.png" /><figcaption>**Figure 1.** Velocity components of billiards balls after a collision that is inspiring for BOA [13].</figcaption></figure>

**3. Proposed BIM-Based Framework Mechanism and Developed Plugin**

For the purpose of the BIM-based framework, an Autodesk Revit plugin is developed using the C# programming language. Figure 2 presents an overview of the proposed framework.

<figure><img src="image_4.png" /><figcaption>**Figure 2.** General outline of the proposed framework.</figcaption></figure>

A case study is adopted for addressing the research aim. This method is selected when explaining, describing and exploring a contemporary phenomenon within a real-
world context and when the research study answers “how” questions [72]. The case study in this research aims to answer how to optimise types and positions of fire safety measures in the building design regarding budget limit and their effects on the percentage of survived occupants. The real-life setting is an essential part of the case study, in which many variables may affect the outcome [73].

The following steps have been undertaken together with a case study to address the gap in the current state of knowledge for the fire safety measures' optimisation:

* The initial framework and BIM plugin was developed based on a synthesis of the findings from the literature review.

* The binary version of the Billiards-inspired Optimisation Algorithm (BOA) is developed and utilised in the optimisation phase of the proposed framework.

* The proposed method was implemented and validated in an explorative case study in two projects. The findings from the implementation of this framework can be found in the Case Study section.

* The proposed framework is implemented in two case projects. The lead time sensitivity analysis is carried out to determine the appropriate lead time for each case project. Moreover, the effectiveness of the proposed approach was evaluated based on increasing the percentage of survived occupants using optimised fire safety measures effectively and economically in two case projects.

### 3.1. Phases List

A comprehensive description of the phases of the proposed framework is elaborated on next. The framework mainly consists of four phases, namely initial preparation, optimisation, decision making, and finalisation. Figure 3 presents details of the proposed framework. The proposed framework will be implemented in two case studies. Also, the model will be validated in Section 4.2.

<figure><img src="image_5.png" /><figcaption>Figure 3. Flowchart of the proposed framework.</figcaption></figure>
## 3.2. BIM-Based Framework Description

Figure 4 shows the user interface of the plugin, which is presented for the first time in this paper. The plugin interface is developed on the Revit software using the C# programming language. The plugin interface can be executed from the add-in’s toolbar. Then, three options are demonstrated to select. At first, the properties button is selected to set subjective parameters for optimisation such as budget limit, second, the fire safety optimisation button is selected to run the plugin, third, the resulting form appears to view the results of optimisation.

<figure><img src="image_6.png" /><figcaption>Figure 4. Developed plugin interface.</figcaption></figure>

### 3.2.1. Initial Preparation Phase

Manual and Automatically Calculated Inputs

The required inputs in this approach include BIM of the project, usage of each compartment, cost of each measure, compartments with the potential of having emergency exit, and budget limitation. Based on the designer inputs, the fire start probability and number of occupants for each compartment are automatically calculated. To calculate the fire start probability for each compartment, the following formula is used [6,74,75]:

$$F = KA^{\alpha} \qquad (2)$$

where, F is fire start probability, K and α are constants that depend on the type of occupancy, and A is the floor area (m²) of a compartment. The K and α factors are determined according to [74,75]. The number of occupants in each compartment can be determined through predefined occupant densities [38,76]. The initial inputs for the proposed framework, including budget limit and fire safety measures, are collated in the properties form of the developed plugin depicted in Figure 5. Characteristics of BIM including type, area, usage, fire ignition probability and the number of occupants are also demonstrated in the properties form. The presented fire ignition probabilities are relative.
<figure><img src="image_7.png" /><figcaption>Figure 5. Properties form of the plugin.</figcaption></figure>

## Graph Extraction from BIM

Using graph theory facilitates the function of pathfinding in a macroscopic network flow model for evaluating safe evacuation. Therefore, in this study, a graph model is automatically extracted from BIM using Application Programming Interface (API) programming which is developed by the authors to take advantage of graph theory in pathfinding. To increase the accuracy of computations, large compartments can be separated into smaller ones hypothetically using an Autodesk Revit feature called "room separator". The "Room separator" feature is used to detect convex rooms by the plugin. The compartments are linked to each other via passages (i.e., door, stair, and room separator). Each compartment or passage is considered as a node in the graph that occupants have to pass toward the exits.

The developed Revit plugin automatically receives the required information of the compartments and passages (e.g., area, width, and accessibility) using API and creates the 3D graph from the model. The centre point location of each compartment or passage is obtained and a node is added to the building graph. The compartments or passages that are linked to each other in the building plan are connected using edges in the building graph. Moreover, the required characteristics of compartments (e.g., area, volume, number of occupants, and fire start probability) and passages (e.g., width) are assigned to the graph nodes. Figure 6 illustrates the process of graph extraction from BIM by the developed plugin.

<figure><img src="image_8.png" /><figcaption>Figure 6. Process of graph extraction from BIM by the developed plugin.</figcaption></figure>
### 3.2.2. Optimization Phase

This phase concentrates on the process of implementing an optimisation algorithm to obtain an optimised position and a combination of fire safety measures. These implementations yield different costs and have varying impacts on safe evacuation.

#### Optimization Mechanism

In this research, the Binary version of the BOA (BBOA) is introduced for the problems with true or false nature. In this scenario, some changes are added along with some simplifications. Simplifying the algorithms makes them easier to understand and implement, and also reduces errors. It is noticeable that the proposed framework is capable of employing some other meta-heuristics such as GA and PSO. Equations (2)–(6) are for BBOA. BBOA is a simplified and customized form of BOA for the optimisation problem in the proposed framework. Equations (2)–(6) are simplified in comparison with BOA and are inspired by the algebraic summation of velocities.

In the BBOA algorithm, each potential solution is considered a multi-dimensional billiards ball. These balls are the agents of the optimisation process and each dimension of them is representative of a variable. Contrary to the continuous BOA [13], the BBOA search space is restricted as $S = [0, 1]^M$ ($M$ is the number of variables) and the position of each ball denotes the probability of adopting true value. The optimisation process starts with 2N number of random balls (i.e., population size) in the search space with the value of [0–1] range. Additionally, some balls are generated as pockets that the exploitation ability of the algorithm is provided by them. For each object ball, the target pocket is specified by utilizing the roulette-wheel selection mechanism. So, the valuable pockets have higher chances of selecting. The new positions of object balls after the collision are calculated as:

$$B_{n,m}^{\text{new}} = P_{k,m}^{n} + \text{rand}_{[-ER, ER]}(B_{n,m}^{\text{old}} - P_{k,m}^{n}), \\ n = 1.2.3. \dots N \qquad (3)$$

where, $B_{n,m}^{\text{new}}$ and $B_{n,m}^{\text{old}}$ are the new and the old values of the $m^{th}$ variable from the $n^{th}$ object ball, respectively. The $P_{k,m}^{n}$ is the $m^{th}$ variable of the $k^{th}$ pocket which belongs to the $n^{th}$ object ball. $\text{rand}_{[-ER, ER]}$ is a random vector with uniform distribution in the interval $[-ER, ER]$; $ER$ is the error rate that gradually decreases along the searching process.

In this version, unlike the original BOA, velocities are determined according to distances, not the kinematic calculations. The velocities of the object balls after the collision are defined as follows:

$$\overline{v_n^{\text{new}}} = B_n^{\text{new}} - B_n^{\text{old}} \\ n = 1.2.3. \dots N \qquad (4)$$

where, $\overline{v_n^{\text{new}}}$ is the velocity of the $n^{th}$ object ball after the collision; $P_n^{n}$ is the $k^{th}$ pocket which belongs to the $n^{th}$ object ball and $B_n^{\text{old}}$ is the old positions of $n^{th}$ object ball. The velocities of cue balls before the collision, $\overline{v_{n+N}}$, are determined as follows:

$$\overline{v_{n+N}} = B_n^{\text{old}} - B_{n+N}^{\text{old}} \qquad (5)$$

where, $B_{n+N}^{\text{old}}$ is the position of the $n^{th}$ cue ball before the strike. Based on vector algebra, velocities of cue balls after the collision are calculated as:

$$\overline{v_{n+N}^{\text{new}}} = \overline{v_{n+N}} - \overline{v_n^{\text{new}}} \qquad (6)$$

The updated positions of cue balls according to their velocities are calculated as follows:

$$B_{n+N}^{\text{new}} = B_n^{\text{old}} + \text{rand}_{[0, \omega]} \overline{v_{n+N}^{\text{new}}} \qquad (7)$$

Parameter $\omega$ decreases along the searching process and limits the movement of cue balls. To map the updated positions (i.e., probabilities) in binary concept and produce
updated shadows, $\rho_n = [\rho_{n,1}, \rho_{n,2}, \rho_{n,3}, \dots, \rho_{n,m}]$, which is a random vector with a uniform distribution in an interval of $[0, 1]$, is generated for all balls. If $\rho_{n,m} < B_{n,m}^{new}$, corresponded dimension in shadow adopts 1, otherwise 0.

After the updating step, pockets as the best solutions will then be updated and the process will be repeated several times. The searching process will be terminated after reaching a specific criterion such as a fixed number of iterations. The best pocket will be delivered as the output of optimisation. The BBOA pseudo code is shown in Figure 7.

Initialize balls and pockets randomly;

**while** the termination criterion is not met
  Map the balls and pockets to binary concept.
  Evaluate balls and pockets;
  Update pocket memory and population;
  Create object ball and cue ball groups;

**for** each pair ball
  Select a destination pocket by utilizing the roulette-
    wheel selection mechanism;
    Update position of current object ball;
    Calculate velocity of object ball after collision;
    Calculate velocity of cue ball before and after
    collision;
    Update position of current cue ball;
**end**

<caption>**Figure 7.** BBOA pseudo code.</caption>

By identifying usable locations for fire safety measures, the variables of the optimisation process are determined. The structure of balls as optimisation agents is illustrated in Figure 8. Each ball is divided into three parts, in which, each one is relevant to one type of the three considered measures (i.e., sprinkler, self-closing fire door, and emergency exit). Every part consists of some slices as variables of optimisation or in other words, the dimensions of search space, and the number of slices for each part equals the number of compartments, doors, and possible locations for emergency exit, respectively. The value of each slice indicates the probability of that measure's location for selection, and in the shadow ball, the final status of employment of measures are shown. For instance, if a compartment has a sprinkler, its relevant slice value for the sprinkler is set to true in the shadow ball.
<figure><img src="image_9.png" /><figcaption>**Figure 8.** The structure of each ball in the BBOA of this study.</figcaption></figure>

In the optimisation phase, the modified percentage of survived occupants is considered as the fitness value. The BBOA process tries to find better balls with higher fitness values during many iterations. Termination criteria for the optimisation mechanism is suggested to be no improvements in the percentage of safely evacuated occupants. The percentage of safely evacuated occupants in each scenario is determined using Equation (8).

$$S(i) = \frac{N - I(i)}{N} \times 100 \qquad (8)$$

where $S(i)$ is the percentage of safely evacuated occupants in scenario $i$, $N$ is the number of all occupants, and $I(i)$ is the number of injured occupants in scenario $i$. To calculate the modified fitness value for all of the fire scenarios due to their fire ignition probabilities, Equation (9) is utilised:

$$Fitness \ value = \frac{\sum_{i=1}^{m} S(i) \times P(i)}{\sum_{i=1}^{m} P(i)} \qquad (9)$$

where $S(i)$ is the percentage of safely evacuated occupants in scenario $i$, $P(i)$ is the probability of fire ignition in scenario $i$ that is calculated in the first phase, and $m$ is the number of scenarios.

## Evaluation of Occupants’ Safe Evacuation Considering Smoke Propagation

When a fire scenario in a building occurs, occupants’ safe evacuation depends on whether propagation of critical smoke conditions blocks their paths to the exit or not [47]. The proposed framework utilises a macroscopic network flow model that is a graph-based approach for evacuation that has less computation time in comparison with other approaches and software. This function is discussed in the ensuing sections in more detail. The developed function makes the performing optimisation to be logical and applicable. Computational equations for evacuation modelling are presented in Table 1. In the proposed macroscopic network flow model, occupants in each compartment (corresponding node) are considered as a group of occupants with the same velocity that is calculated according to equations in Table 1. By proceeding with every lead time, computations are updated in the network model and duration for movement and queuing are calculated according to Table 1. Simultaneously, smoke propagation proceeds in every lead time and it blocks the path of occupants in the graph model. In Figure 9, The process of evaluation of occupants’ safe evacuation is shown.
<figure><img src="image_10.png" /><figcaption>**Figure 9.** Evaluation of occupants’ safe evacuation.</figcaption></figure>

Occupants can find the shortest path to exit by different means, such as being familiar with the building [77], being guided by another occupant [78], using real-time guidance systems, [79] and exit signs [80] in a complex public building (e.g., hospitals and commercial buildings). Currently, regulations and codes in many countries enforce designers to employ exit signs or other guidance systems in complex public buildings. Using these systems helps occupants find the shortest path to the exits particularly in complex public buildings. In this paper, it is assumed that exit sign systems are utilised in complex public buildings and occupants are familiar with the building and know the shortest path to the exits. It is possible to incorporate different knowledge states for occupants in this framework, however, occupants are often not aware of the fire ignition location and smoke propagation conditions. To provide the shortest path to the exit in the building graph, the discrete environment A* algorithm is suggested due to its efficiency and compatibility with the proposed framework. This algorithm utilises a heuristic function to progress in the goal’s direction which reduces the path finding time [81,82].

Movement of smoke with critical conditions according to SFPE [37] is modelled to evaluate whether critical smoke conditions block paths of occupants. For smoke propagation, zone modelling is perceived to be more compatible for the purpose of this research. It is then examined whether the flow of smoke with a temperature of 200°C at the height of 2 m (which is regarded as a smoke critical condition) blocks paths of occupants. This is carried out based on algebraic equations, [36–38].
The required time for occupants to reach each node in the graph and time of smoke arrival with the critical conditions at each node can be calculated using equations in Tables 1 and 2. Occupant evacuation and smoke propagation are computed at each lead time.

### 3.2.3. Decision Making Phase

Delivering a Pareto chart that illustrates the variation of the percentage of survival against the cost of employing fire safety measures can provide an insightful decision-making tool for the designer to select the preferred optimised option. The output of the plugin illustrates this chart (Figure 10). The designer can select the preferred optimised combination and position of fire safety measures from the plugin, which is highlighted with a bold point. Every bold point in Figure 10 presents combinations of fire safety measures. Additionally, the designer can view sets of combinations of fire safety measures in the left window.

<figure><img src="image_11.png" /><figcaption>Figure 10. Results form of the plugin.</figcaption></figure>

### 3.2.4. Finalization Phase

An automatic Revit implementation assistant tool is considered in the plugin to help the designer in applying the selected solution in BIM at the design stage. When a budget limit solution is selected, the “Implement in Revit” button in Figure 10 automatically sets the measures in their positions in BIM. It replaces the final optimised combination of fire safety measures in the building design by placing sprinkler heads, changing the usual doors into doors from an imported self-closing fire door family, and specifying the compartments in which an appropriate emergency exit way should be provided. Note that the design of the sprinkler is complex, and the designer should complete it.

## 3.3. *Assumptions Made in the Proposed Framework*

It is required to make appropriate and rational assumptions in this research when developing the framework. The assumptions are:

* Process of occupants' evacuation and smoke propagation are updated at each lead time, which is considered 0.5 s and 1.5 s for the hospital building and the residential building respectively.

* When occupants try to pass an entrance or passage that is not wide enough, they are stuck in queues and the required time for each occupant to pass a queue depends on the entrance or passage width and the density of occupants in there, which is considered in computations via equations in Table 1.
* All the doors are assumed to be open at the time of fire ignition and smoke can propagate between compartments. This assumption is particularly similar to the assumption of software packages such as CFAST.

* Each room is considered blocked whenever the space between its ceiling and height of 2 m from the floor is engulfed by smoke with a temperature of 200 °C; as this condition is considered harmful for occupants [37,38,83].

* Costs of fire safety measures are presented in Table 3 according to the market:

<table><caption>**Table 3.** Costs of fire safety measures.</caption><thead><tr><th>Fire Safety Measures</th><th>Cost (€)</th><th>Reference</th></tr></thead><tbody><tr><td>Sprinkler</td><td>70000 € cost for the water reservoir and pumps + 180 € cost for each room</td><td>[84]</td></tr><tr><td>Emergency exit</td><td>2750 €</td><td>[85]</td></tr><tr><td>Self-closing fire door</td><td>200 €</td><td>[86]</td></tr></tbody></table>

* The occupants' pre-movement time is also available for the designer to determine and it is estimated as 100 s by default, based on the Fire Engineering Design Guide book [38]. Pre-movement time is the duration before the occupant starts to move [27,38].

* Population sizes of residential and hospital buildings for optimisation are considered 32 and 64, respectively.

# 4. Results

## 4.1. Case Study

The architectural Revit models of the case studies, which are required for the implementation, are provided by the designer. One of the case studies is a residential building and the other one is a hospital. Although a residential building is relatively simple in respect to the evacuation paths and the exits number/position, it is selected mainly for smoke propagation and evacuation modelling validation. As mentioned in Section 2.2, zone modelling software packages for smoke propagation are only able to model rooms with simple shapes (i.e., square and rectangular). The hospital building is selected as it is more complex, and it can indicate the applicability of the proposed framework. The residential building has three stories, with a floor area of 170 square meters for each story. It is located in the city of Tehran in Iran. The building's main exit is located on the ground floor. Figure 11 illustrates the sample plan of the building which is similar to other stories. To separate large compartments without a wall and to increase accuracy, the room separator feature of Revit is used, and its results are depicted with dash lines. Regarding the building plan, two emergency exits are assumed: one in story 2 and the other one in story 3. Also, the 3D view of the model of the residential building is shown in Figure 12.
<figure><img src="image_12.png" /><figcaption>**Figure 11.** Sample plan of each story of the residential building case study.</figcaption></figure>

<figure><img src="image_13.png" /><figcaption>**Figure 12.** The 3D model of the residential building case study.</figcaption></figure>

The hospital building has two stories, with a floor area of 841 and 685 square meters for stories 1 and 2, respectively. It is located in the city of Tehran in Iran. The building has two main exits located on the ground floor. The ground floor is connected to the upper floor with two staircases. Figure 13 illustrates the plan of the hospital building's stories. Similar to the previous case study, dash lines represent the room separator feature. Regarding the building plan, one emergency exit is also assumed on the second floor. The 3D model of the hospital building is shown in Figure 14. The extracted 3D graph of the residential building and the hospital building are shown in Figures 15 and 16. As shown, floors are connected through stairways, which are depicted with dash lines.

Fire can be started from each of the defined compartments with the respective fire start probability. Therefore, fire ignition in each compartment defines a fire scenario. In
this paper, all of the fire scenarios with their corresponding fire start probability are considered in optimisation (i.e., number of fire scenarios equal to the number of compartments).

<figure><img src="image_14.png" /><figcaption>**Figure 13.** The hospital building plan.</figcaption></figure>

<figure><img src="image_15.png" /><figcaption>**Figure 14.** The 3D model of the hospital building case study.</figcaption></figure>
<figure><img src="image_16.png" /><figcaption>**Figure 15.** The 3D graph of the residential building.</figcaption></figure>
<figure><img src="image_17.png" /><figcaption>Figure 16. The 3D graph of the hospital building.</figcaption></figure>

4.2. Lead Time Sensitivity Analysis

Determining an appropriate lead time for the two modules, smoke propagation and occupants' evacuation, is important for the simulation. Regardless of the improved accuracy, if the lead time is too short, the simulation requires more computation time and vice versa. To determine a proper lead time, an examination is conducted. In this examination, results of the two modules are collected with lead time durations varying from 0.01 to 5 s incremented by 0.01 s. For instance, the obtained duration of the evacuation process/smoke filling time will have maximum accuracy, if the lead time is considered 0.01 s. Then, by increasing the lead time, accuracy and the duration of the calculations are decreased. The results of these two modules are the obtained duration of the evacuation process/smoke filling time in the respective lead times. In the smoke propagation module, a predefined room is selected as the fire ignition room. Figure 17 represents the percentage of variations in the modules' results of the case projects versus the lead times. The horizontal axis is the used lead time which varies from 0.01 to 5 s. The vertical axis indicates the percentage of variations in the obtained duration of the evacuation process/smoke filling time from the modules.

<figure><img src="image_18.png" /></figure>
<figure><img src="image_19.png" /><figcaption>**Figure 17.** Sensitivity analysis on smoke propagation and evacuation modules for the hospital and the residential buildings.</figcaption></figure>

From Figure 17, it is observed that the smoke propagation module is less sensitive to lead time changes against the evacuation module. In the residential building, for the lead times longer than 1.5 s, the evacuation module's results increase steeply. Therefore, a lead time of 1.5 s is chosen for the residential building. Similar to the residential building, 0.5 s is obtained as the proper lead time for the hospital building.

### 4.3. Validation

A complete validation of the proposed framework requires real field experiments. However, such validations are not feasible as they include serious safety concerns. There are studies in which real-world experiments on smoke propagation have been conducted. Such real-world experiments include smoke propagation using hydropower stations [87] and ventilated tunnels [88]. Real-world experiments provide more accurate outcomes, however, it is widely known that such studies are not economic, especially for situations that require numerous iterations (e.g., for optimization) [89]. Furthermore, as far as the authors are concerned, no study exists that deploys real-world experiments to implement simulations for evaluating safe evacuation, which is the main concern in this research.

Alternatively, the two modules' results are compared with other well-known software packages to validate the performance of the developed system. The software packages that are used for evacuation and smoke propagation validation are Pathfinder [31] and CFAST [44] respectively. These two software packages were validated and used in past research [90–93]. Thus, they can be used for validation in this study. In the proposed framework, a large number of fire scenarios are simulated due to the requirement of the optimisation phase. A sample scenario for the first case project of this paper is defined. The scenario is for each of the two modules and the results are compared with other applicable software. On the other hand, the validation of the hospital building case project is deemed to be not feasible due to the limitations of the zone modelling smoke software in the number and shape of rooms. Therefore, the residential building is considered to validate the results.

For the residential building case project, each of the 30 compartments can be considered as the fire ignition location that makes a new scenario. Each scenario requires about 100 iterations to reach optimum results, and each iteration evaluates 32 agents. Assuming six budget limits that are considered by the designer, the total number of evacuation or smoke propagation simulation calculations is equal to 576,000.
#### 4.3.1. Evacuation Validation

The evacuation simulation is conducted using the Pathfinder software for the considered number of occupants in the residential building [31]. The computation time of the Pathfinder to accomplish the calculations of one evacuation scenario is about 70 s. Considering 576,000 evacuation simulation calculations, it takes about 11,200 h for the residential building evacuation simulation to be completed by the Pathfinder software. This emphasises the necessity of developing a fast macroscopic evacuation modelling that is compatible with the proposed framework. It appeared that the developed method in this study only needs 1.6 h a complete optimisation of the residential building case project with six budget limits. Figure 18 presents the comparison between the results of the Pathfinder software and the developed evacuation module for each story of the residential building case project. As illustrated in Figure 18, the developed evacuation module's results are up to 13% less than the Pathfinder software results. Other researchers [94,95] observed that manual calculations results are up to 32% less than Pathfinder results. Hence, the proposed module has more accuracy in comparison with Pathfinder and its performance is acceptable.

<figure><img src="image_20.png" /><figcaption>**Figure 18.** Absolute difference of evacuation time between the Pathfinder software and the developed evacuation module.</figcaption></figure>

#### 4.3.2. Smoke Propagation Validation

Software that uses field modelling like FDS [43] requires a considerable amount of time for simulation of smoke propagation. For the residential case projects, it takes about 4883 s for one simulation to be accomplished. Assuming 576,000 smoke simulations, it takes about 781,280 h for the residential building smoke simulation to be completed by the FDS software. The total required time for complete optimisation of the residential building case project using the developed method is about 1.6 h, as indicated earlier. The CFAST software [44], which is based on zone modelling, is faster than FDS. However, the identified limitations during the review of literature necessitate developing a compatible smoke propagation module for the proposed framework.

The CFAST software is selected for the validation of the results of the smoke propagation module. Figure 19 shows the results of the comparison for each story. It is assumed that the fire ignites from the kitchen on the third floor. The smoke filling duration of the stories is considered in the comparison. As illustrated in Figure 19, the developed smoke
propagation module's results were obtained between 15-30% less than the CFAST software results. [96] observed that manual calculations results are up to 40% less than the CFAST results. In other words, the proposed method has more accuracy in comparison with the available commercial software and its performance is acceptable.

<figure><img src="image_21.png" /><figcaption>**Figure 19.** Absolute difference of smoke filling time between the CFAST software and the developed smoke propagation module.</figcaption></figure>

#### 4.3.3. BBOA Validation

Figures 20 and 21 show the percentage of survival against the cost of measures for the considered case studies. In this study, GA and PSO were employed as optimisation algorithms beside BBOA for the proposed framework to prove the validity of the BBOA. In other words, this was to validate outputs of BBOA with well-known algorithms such as GA and PSO. The presented Pareto fronts reveal that this algorithm has produced competitive and better results than the other two algorithms.

<figure><img src="image_22.png" /><figcaption>**Figure 20.** Comparison of optimisation algorithms results for the residential building.</figcaption></figure>
<figure><img src="image_23.png" /><figcaption>**Figure 21.** Comparison of optimization algorithms results for the hospital building.</figcaption></figure>

### 4.4. Results of Applying the Framework to the Case Studies

Results of implementing the developed method in the two case projects are presented in this section.

#### 4.4.1. Optimization Results of Case Projects

Optimization results of the proposed framework for residential and hospital buildings are demonstrated in Figures 22 and 23, respectively.

Optimization of fire safety measures could be carried out for more budget limits while this study considers a number of specific budget limits. Obtained optimised sets of fire safety measures do not necessarily use all of each budget limit. Therefore, the actual cost of every set of fire safety measures may be lower than the budget limit. Actual costs, percentage of survivors and utilized fire safety measures are presented for residential and hospital buildings in Tables 4 and 5, respectively.

<figure><img src="image_24.png" /><figcaption>**Figure 22.** Optimization algorithms results for the residential building.</figcaption></figure>
<figure><img src="image_25.png" /><figcaption>Figure 23. Optimization algorithms results for the hospital building.</figcaption></figure>

<table><caption>Table 4. Results of fire safety optimization of residential building.</caption><thead><tr><td>Actual Costs</td><td>Percentage of Survivors</td><td>Number of Self-closing Fire Door</td><td>Number of Utilized Emergency Exit</td><td>Number of Utilized Sprinkler Head</td></tr></thead><tbody><tr><td>0</td><td>27.9</td><td>0</td><td>0</td><td>0</td></tr><tr><td>600</td><td>63.57</td><td>3</td><td>0</td><td>0</td></tr><tr><td>2400</td><td>69.42</td><td>12</td><td>0</td><td>0</td></tr><tr><td>9300</td><td>76.33</td><td>17</td><td>2</td><td>0</td></tr><tr><td>84,700</td><td>91.1</td><td>17</td><td>2</td><td>30</td></tr></tbody></table>

<table><caption>Table 5. Results of fire safety optimization of hospital building.</caption><thead><tr><td>Actual Costs</td><td>Percentage of Survivors</td><td>Number of Self-Closing Fire Door</td><td>Number of Utilized Emergency Exit</td><td>Number of Utilized Sprinkler Head</td></tr></thead><tbody><tr><td>0</td><td>52.65</td><td>0</td><td>0</td><td>0</td></tr><tr><td>1000</td><td>68.78</td><td>5</td><td>0</td><td>0</td></tr><tr><td>2000</td><td>76</td><td>10</td><td>0</td><td>0</td></tr><tr><td>3950</td><td>82.1</td><td>6</td><td>1</td><td>0</td></tr><tr><td>9950</td><td>92.9</td><td>36</td><td>1</td><td>0</td></tr><tr><td>11,750</td><td>93.24</td><td>45</td><td>1</td><td></td></tr><tr><td>95,970</td><td>94.55</td><td>63</td><td>2</td><td>59</td></tr></tbody></table>

The cost of €600 increased the percentage of survival from 27.9% to 63.57% in the residential building. Figure 24 illustrates the optimized combination and position of the measures with €600 budget limit in the residential building.

<figure><img src="image_26.png" /><figcaption>Figure 24. Optimised solutions for the residential building with €600 cost.</figcaption></figure>
### 4.4.2. Comparison of Individual Measures

In this section, individual measures are compared with each other in terms of cost and efficiency. Each measure is independently optimised for various budget limits. Figure 25 demonstrates the results of these optimisations.

<figure><img src="image_27.png" /><figcaption>Figure 25. Comparison of measures' individual effect.</figcaption></figure>

## 5. Discussion

Optimisation of fire safety measures is carried out for several budget limits, and their results are demonstrated through connecting optimised results (i.e., fitness value versus cost for each optimised set of fire safety measures). As a result, designers can realise the variations of fitness value for an optimised set of fire safety measures against costs. This function helps designers choose the most appropriate solution. The proposed framework and the developed plugin can increase the number of budget limits to increase continuity between solutions and they can provide designers a higher number of solutions and more accurate charts.

Key findings of the results of the proposed framework are provided as follows:

* In this study, BOA was customized for the optimisation problem and called BBOA. Its results were compared with well-known meta-heuristics including GA and PSO in Figures 20 and 21. The comparison proved the validity of the BBOA.

* According to Tables 4 and 5, without utilizing any fire safety measures, only 27.9% and 52.65% of occupants were able to evacuate from the residential and hospital buildings, respectively. Given the characteristics of the hospital building (e.g., two stairways, two main exits), the percentage of survival for the hospital building is more in comparison with the residential building. In the residential building, the only exit route of the building was quickly filled with smoke prohibiting occupants from evacuating the building. This finding emphasizes the number of main exits and generally exit paths outside of the building, which must be considered in complex public buildings.

* As can be seen in Figure 24, at the cost of €600, only self-closing fire doors are feasible. The optimised position of the self-closing fire doors prohibits the spread of smoke from each floor to the stairway (the evacuation route of the building). This can substantially increase the chance of occupants evacuating the building safely. Thus, this indicates the importance of using self-closing fire doors in the entrance of the main exit paths. This provides a safe exit path for occupants and consequently more available evacuation time.
* According to the budget limits, the proposed framework indicates that the initial rising trend in both cases plateaus for costs higher than €10,000. In other words, a 19% increase in the percentage of survival requires up to an 81% rise in expenditure (demonstrated in Figures 22 and 23.). This shows that spending about €10,000 for fire safety measures with their optimal positions in these buildings seems acceptable and economic.

* Until the cost limit surpasses €70,000, which is the infrastructure cost of sprinklers, no change in the percentage of survival is observed. At €95,970 budget, all the measures are utilised, and this results in a 94.55% survival. In this case, spending more than €11,750 is not economical anymore as it does not make any changes to the survival rate.

* Given the high infrastructure cost of sprinklers, sprinkler heads are not utilized in the building design until the cost limit surpasses €70,000.

* The results of the comparison of individual fire safety measures reveal that self-closing fire doors are the most economical and effective measures to hinder the smoke movement and increase the percentage of survival for these two case projects. The sprinklers play a critical role in diminishing the fire spread and smoke movement in the building to prevent high property losses. However, the required time for a sprinkler to be activated and extinguish the fire may be enough to produce a considerable amount of smoke. This leads to injuries of some occupants and threatens the safety of others by blocking their routes to the exits, especially in the residential building case projects.

* Existing studies use and assess fire safety measures in the building designs and also evaluate safe evacuation to examine effective factors on safe evacuation. However, this study implemented optimisation of fire safety measures to find sets of measures with optimal positions in the building design while considering all of the fire scenarios, which were not taken into account in the previous studies. Unlike existing literature, this research provides optimised fire safety measures with an optimised budget. It helps determine the most appropriate position for fire safety measures considering budget limits, which is a challenge for stakeholders.

## 6. Conclusions

Given the importance of safe evacuation in buildings, many researchers studied safe evacuation and utilizing fire safety measures in the building design. However, optimisation of fire safety measures while considering all of the fire scenarios to determine a set of optimised fire safety measures with their position in the building design is missing in the existing literature. Thus, in this study, a framework was proposed to find a set of optimised fire safety measures and a plugin was also developed in the BIM environment for this purpose. This framework includes four phases. First, the identified measures' costs in BIM, and budget limits are introduced to the framework, and then calculations and automatic graph extraction is performed as initial preparation. In the next phase, optimisation is implemented utilising the customized version of the Billiards-inspired Optimisation Algorithm, called BBOA. This is to tackle the optimisation problem that was validated with GA and PSO. The optimisation is conducted according to the effects on safe evacuation versus costs of fire safety measures. Then, the designer decides to select the most appropriate combination and position of measures due to the budget limit and other stakeholders' consideration. Finally, the selected combination of measures is assigned in BIM. This framework modifies building designs at the design stage by utilizing an optimised set of measures and their corresponding positions.

The evaluation of the framework is demonstrated by two case projects, a residential building and a hospital building. The obtained results demonstrated that the framework improved the safety of occupants by increasing the percentage of survival by about 40–50%, which requires a budget of approximately €10,000. Judging by the results, spending more does not enhance the percentage of survival considerably. In other words, spending
€10,000 is optimal for applying fire safety measures with their corresponding positions in the building design. Moreover, the considered measures (i.e., sprinkler, self-closing fire door, and emergency exit) were individually compared in terms of effectiveness and economic aspect. In this comparison, self-closing fire doors were found to be the most effective and economic measure to control smoke spread. The results verify that the proposed framework is a beneficial approach for designers to improve the safety of their designs in terms of safe occupant evacuation. In this research, some assumptions are considered in the modelling to simplify implementing the proposed framework. However, in future research, more advanced approaches that require more computations can be employed to enhance the validity of the research. Moreover, the materials' conductivity is an important factor when investigating the fire spread. This research is limited to architectural design and does not consider the materials' conductivity in buildings. Future development of the BIM plugin should lead to taking this factor into account while simulating the fire spread and the subsequent smoke propagation. Last but not least, gaps between components caused by dimensional and geometric variations of components in a building can impact smoke propagation. Future research work is needed to enable the developed BIM plugin to analyse and simulate the impact of such gaps on smoke propagation and the subsequent evacuation of participants.

**Author Contributions:** Conceptualization, M.S. (Mahdi Sabbaghzadeh), M.S. (Moslem Sheikhkhoshkar), M.R.M.; formal analysis, M.S. (Mahdi Sabbaghzadeh), M.S. (Moslem Sheikhkhoshkar); methodology, M.S. (Mahdi Sabbaghzadeh), M.S. (Moslem Sheikhkhoshkar), M.R.M.; validation, S.T., M.R.M., supervision, S.T., M.K., writing—original draft preparation, M.S. (Mahdi Sabbaghzadeh); writing—review and editing, S.T.; All authors have read and agreed to the published version of the manuscript.

**Funding:** This research received no external funding.

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Data Availability Statement:** Not applicable.

**Conflicts of Interest:** The authors declare no conflict of interest.

**Acknowledgments:** The authors would like to express their gratitude to Barnyar Mehraz Iranians Company for providing the BIM model required for this research.

## References

1. Ahrens, M.; Evarts, B. *NFPA Report-Fire Loss in the United States*; NFPA: Quincy, MA, USA, 2020.

2. Purkiss, J.A.; Li, L.-Y.Y. *Fire Safety Engineering Design of Structures*; CRC Press: Boca Raton, FL, USA, 2013; ISBN 1466585471.

3. Kohler, N.; Moffatt, S. Life-cycle analysis of the built environment. *Ind. Environ.* **2003**, *26*, 17–21.

4. Shi, J.; Ren, A.; Chen, C. Agent-based evacuation model of large public buildings under fire conditions. *Autom. Constr.* **2009**, *18*, 338–347. https://doi.org/10.1016/j.autcon.2008.09.009.

5. Kobes, M.; Helsloot, I.; De Vries, B.; Post, J.G. Building safety and human behaviour in fire: A literature review. *Fire Saf. J.* **2010**, *45*, 1–11.

6. Hall, J.R., Jr. Evaluation of Fire Safety by D. Rasbash, G. Ramachandran, B. Kandola, J. Watts, and M. Law. *Fire Technol.* **2005**, *41*, 67–70.

7. Wang, S.H.; Wang, W.C.; Wang, K.C.; Shih, S.Y. Applying building information modeling to support fire safety management. *Autom. Constr.* **2015**, *59*, 158–167. https://doi.org/10.1016/j.autcon.2015.02.001.

8. Sun, Q.; Turkan, Y. A BIM-based simulation framework for fire safety management and investigation of the critical factors affecting human evacuation performance. *Adv. Eng. Inform.* **2020**, *44*, 101093. https://doi.org/10.1016/j.aei.2020.101093.

9. Bina, K.; Moghadas, N. BIM-ABM simulation for emergency evacuation from conference hall, considering gender segregation and architectural design. *Archit. Eng. Des. Manag.* **2021**, *17*, 361–375.

10. Irizarry, J.; Meadati, P.; Barham, W.S.; Akhnoukh, A. Exploring Applications of Building Information Modeling for Enhancing Visualization and Information Access in Engineering and Construction Education Environments. *Int. J. Constr. Educ. Res.* **2012**, *8*, 119–145. https://doi.org/10.1080/15578771.2011.647247.

11. Yang, F.; Bouchlaghem, D. Genetic algorithm-based multiobjective optimization for building design. *Archit. Eng. Des. Manag.* **2010**, *6*, 68–82.
12. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN'95—International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948.

13. Kaveh, A.; Khanzadi, M.; Moghaddam, M.R. Billiards-inspired optimization algorithm; a new meta-heuristic method. *Structures* **2020**, *27*, 1722–1739.

14. Proulx, G. A stress model for people facing a fire. *J. Environ. Psychol.* **1993**, *13*, 137–147. https://doi.org/10.1016/S0272-4944(05)80146-X.

15. Horiuchi, S.; Murozaki, Y.; Hukugo, A. A case study of fire and evacuation in a multi-purpose office building, Osaka, Japan. *Fire Saf. Sci.* **1986**, *1*, 523–532.

16. Abolghasemzadeh, P. A comprehensive method for environmentally sensitive and behavioral microscopic egress analysis in case of fire in buildings. *Saf. Sci.* **2013**, *59*, 1–9. https://doi.org/10.1016/j.ssci.2013.04.008.

17. Halldórsson, Á.; Kovács, G. The sustainable agenda and energy efficiency: Logistics solutions and supply chains in times of climate change. *Int. J. Phys. Distrib. Logist. Manag.* **2010**, *40*, 5–13.

18. Van Wassenhove, L.N. Humanitarian aid logistics: Supply chain management in high gear. *J. Oper. Res. Soc.* **2006**, *57*, 475–489.

19. Sopha, B.M.; Triasari, A.I.; Cheah, L. Sustainable Humanitarian Operations: Multi-Method Simulation for Large-Scale Evacuation. *Sustainability* **2021**, *13*, 7488.

20. Hamacher, H.W.; Tjandra, S.A. Mathematical modelling of evacuation problems: A state of the art. *Pedestr. Evacuation Dyn.* **2001**, *24*, 227–266.

21. Borrmann, A.; Kneidl, A.; Köster, G.; Ruzika, S.; Thiemann, M. Bidirectional coupling of macroscopic and microscopic pedestrian evacuation models. *Saf. Sci.* **2012**, *50*, 1695–1703.

22. Wang, Z.; Yang, H.; Zhu, Z. Development of a simulation model for pedestrian evacuation under fire condition. In Proceedings of the 50th Annual Simulation Symposium, Virginia Beach, VA, USA, 23–26 April 2017; pp. 1–11.

23. Song, P.; Gao, Y.; Xue, Y.; Jia, J.; Luo, W.; Li, W. Human behavior modeling for evacuation from classroom using cellular automata. *IEEE Access* **2019**, *7*, 98694–98701. https://doi.org/10.1109/ACCESS.2019.2930251.

24. Schomborg, A.; Nökel, K.; Seyfried, A. Evacuation Assistance for a Sports Arena Using a Macroscopic Network Model. In *Pedestrian and Evacuation Dynamics*, Springer US: Jersey City, NJ, USA, 2011; pp. 389–398.

25. Ndiaye, I.A.; Neron, E.; Jouglet, A. Macroscopic evacuation plans for natural disasters: A lexicographical approach for duration and safety criteria: Lexx((Q|S) Flow). *OR Spectr.* **2017**, *39*, 231–272. https://doi.org/10.1007/s00291-016-0451-1.

26. Ndiaye, I.A.; Neron, E.; Linot, A.; Monmarche, N.; Goerigk, M. A new model for macroscopic pedestrian evacuation planning with safety and duration criteria. *Transp. Res. Procedia* **2014**, *2*, 486–494.

27. Nelson, H.E.; Mowrer, F.W. Emergency Movement. In *SFPE Handbook of Fire Protection Engineering*, 3rd Ed.; Chapter 3–14; National Fire Protection Association: Quincy, MA, USA, 2002.

28. Poon, L.S. EvacSim: A simulation model of occupants with behavioural attributes in emergency evacuation of high-rise building fires. *Fire Saf. Sci.* **1994**, *4*, 681–692.

29. Francis, R.L.; Saunders, P.B. EVACNET: Prototype Network Optimization Models for Building Evacuation; National Institute of Standards and Technology: Gaithersburg, MD, USA, 1979.

30. Wąs, J.; Gudowski, B.; Matuszyk, P.J. Social distances model of pedestrian dynamics. In *International Conference on Cellular Automata*; Springer: Berlin/Heidelberg, Germany, 2006; pp. 492–501.

31. Thornton, C.; O'Konski, R.; Hardeman, B.; Swenson, D. Pathfinder: An agent-based egress simulator. In *Pedestrian and Evacuation Dynamics*, Springer: Berlin/Heidelberg, Germany, 2011; pp. 889–892.

32. Owen, M.; Galea, E.R.; Lawrence, P.J. The EXODUS evacuation model applied to building evacuation scenarios. *J. Fire Prot. Eng.* **1996**, *8*, 65–84.

33. Kuligowski, E.D.; Peacock, R.D.; Hoskins, B.L. *A Review of Building Evacuation Models*; US Department of Commerce, National Institute of Standards and Technology: Gaithersburg, MD, USA, 2005; ISBN 1621982866.

34. Fire Model Survey. Combustion Science & Engineering. 2015. Available online: http://www.firemodelsurvey.com/EgressModels.html (accessed on 31 December 2015).

35. Chung, K.-C.; Tung, H.-S. A Simplified Model for Smoke Filling Time Calculation with Sprinkler Effects. *J. Fire Sci.* **2005**, *23*, 279–301. https://doi.org/10.1177/0734904105047916.

36. Klote, J.H.; Milke, J.A.; Turnbull, P.G.; Kashef, A.; Ferreira, M.J. *Handbook of Smoke Control Engineering*; American Society of Heating: Atlanta, GA, USA, 2012; ISBN 9781936504244.

37. Purser, D.A. Toxicity assessment of combustion products. In *SFPE Handbook of Fire Protection Engineering*, 3rd ed.; National Fire Protection Association: Quincy, MA, USA, 2002.

38. Buchanan, A.H.; Jordan, Buchanan, A.H. *Fire Engineering Design Guide*; Centre for Advanced Engineering, University of Canterbury: Christchurch, New Zealand, 2001; Volume 53, ISBN 0908993218.

39. Nishino, T. Two-layer zone model including entrainment into the horizontally spreading smoke under the ceiling for application to fires in large area rooms. *Fire Saf. J.* **2017**, *91*, 355–360. https://doi.org/10.1016/j.firesaf.2017.03.049.

40. Hua, J.; Wang, J.; Kumar, K. Development of a hybrid field and zone model for fire smoke propagation simulation in buildings. *Fire Saf. J.* **2005**, *40*, 99–119. https://doi.org/10.1016/j.firesaf.2004.09.005.

41. Fire Model Survey. Combustion Science & Engineering. 2015. Available online: http://www.firemodelsurvey.com/FieldModels.html (accessed on 31 December 2015).
42. Fire Model Survey. Combustion Science & Engineering. 2015. Available online: http://www.firemodelsurvey.com/ZoneModels.html (accessed on 31 december 2015).

43. McGrattan, K.; Hostikka, S.; McDermott, R.; Floyd, J.; Weinschenk, C.; Overholt, K. Fire dynamics simulator user's guide. NIST Spec. Publ. **2013**, *1019*. https://doi.org/10.6028/NIST.sp.1019.

44. Peacock, R.D.; Reneke, P.A.; Forney, G.P. CFAST—Consolidated Model of Fire Growth and Smoke Transport (Version 7) Volume 2: User's Guide. NIST Tech. Note 1889v2 **2017**. https://doi.org/10.6028/NIST.TN.1889v2.

45. Mawhinney, J.R.; Tamura, G.T. Effect of automatic sprinkler protection on smoke control systems. Trans. Soc. Heat. Refrig. AIR Cond. Eng. **1994**, *100*, 494–494.

46. Fleming, R.P. Automatic sprinkler system calculations. In *SFPE Handbook of Fire Protection Engineering*; Springer: Berlin/Heidelberg, Germany, 2016; pp. 1423–1449.

47. Yung, D. *Principles of Fire Risk Assessment in Buildings*; John Wiley & Sons: Hoboken, NJ, USA, 2008; ISBN 9780470854020.

48. Yamamoto, K.; Takeuchi, Y.; Nishiki, S. Effects of a sprinkler on evacuation dynamics in fire. *Computation* **2015**, *3*, 274–284.

49. Filippidis, L.; Xie, H.; Galea, E.R.; Lawrence, P.J. Exploring the potential effectiveness of dynamic and static emergency exit signage in complex spaces through simulation. *Fire Saf. J.* **2021**, *12*, 103404.

50. Hopkin, C.; Spearpoint, M.; Wang, Y. Internal door closing habits in domestic premises: Results of a survey and the potential implications on fire safety. *Saf. Sci.* **2019**, *12*, 44–56.

51. Talebi, S.; Koskela, L.; Tzortzopoulos, P.; Kagioglou, M.; Rausch, C.; Elghaish, F.; Poshdar, M. Causes of Defects Associated with Tolerances in Construction: A Case Study. *J. Manag. Eng.* **2021**, *37*, 5021005.

52. Talebi, S.; Koskela, L.; Tzortzopoulos, P.; Kagioglou, M. Tolerance management in construction: A conceptual framework *Sustainability* **2020**, *12*, 1039.

53. West, D.B. *Introduction to Graph Theory*; Prentice Hall: Upper Saddle River, NJ, USA, 2001; Volume 2.

54. Skandhakumar, N.; Salim, F.; Reid, J.; Drogemuller, R.; Dawson, E. Graph theory based representation of building information models for access control applications. *Autom. Constr.* **2016**, *68*, 44–51. https://doi.org/10.1016/j.autcon.2016.04.001.

55. Zhi, G.S.; Lo, S.M.; Fang, Z. A graph-based algorithm for extracting units and loops from architectural floor plans for a building evacuation model. *CAD Comput. Aided Des.* **2003**, *35*, 1–14. https://doi.org/10.1016/S0010-4485(01)00171-3.

56. Desmet, A.; Gelenbe, E. Graph and analytical models for emergency evacuation. *Futur. Internet* **2013**, *5*, 46–55.

57. Fu, M.; Liu, R. An approach of checking an exit sign system based on navigation graph networks. *Adv. Eng. Inform.* **2020**, *46*, 101168.

58. Hamieh, A.; Makhlouf, A.B.; Louhichi, B.; Deneux, D. A BIM-based method to plan indoor paths. *Autom. Constr.* **2020**, *113*, 103120.

59. Fathollahi-Fard, A.M.; Hajiaghaei-Keshteli, M.; Tavakkoli-Moghaddam, R. Red deer algorithm (RDA): A new nature-inspired meta-heuristic. *Soft Comput.* **2020**, *24*, 14637–14665.

60. Mirjalili, S.; Lewis, A. The whale optimization algorithm. *Adv. Eng. Softw.* **2016**, *95*, 51–67.

61. Askari, Q.; Younas, I.; Saeed, M. Political Optimizer: A novel socio-inspired meta-heuristic for global optimization. *Knowl.-Based Syst.* **2020**, *195*, 105709.

62. Gao, W.; Liu, S.; Huang, L. A global best artificial bee colony algorithm for global optimization. *J. Comput. Appl. Math.* **2012**, *236*, 2741–2753.

63. Sivanandam, S.N.; Deepa, S.N. Genetic algorithms. In *Introduction to Genetic Algorithms*; Springer: Berlin/Heidelberg, Germany, 2008; pp. 15–37.

64. Tang, B.; Han, J.; Guo, G.; Chen, Y.; Zhang, S. Building material prices forecasting based on least square support vector machine and improved particle swarm optimization. *Archit. Eng. Des. Manag.* **2019**, *15*, 196–212.

65. Kaveh, A. *Advances in Metaheuristic Algorithms for Optimal Design of Structures*; Springer: Berlin/Heidelberg, Germany, 2014; ISBN 3319055496.

66. Asgari Siahboomy, M.; Sarvari, H.; Chan, D.W.M.; Nassereddine, H.; Chen, Z. A multi-criteria optimization study for locating industrial warehouses with the integration of BIM and GIS data. *Archit. Eng. Des. Manag.* **2021**, *17*, 1–18.

67. Khanzadi, M.; Kaveh, A.; Moghaddam, M.R.; Pourbagheri, S.M. Optimization of building components with sustainability aspects in BIM environment. *Period. Polytech. Civ. Eng.* **2019**, *63*, 93–103.

68. Moghaddam, M.R.; Khanzadi, M.; Kaveh, A. Multi-objective Billiards-Inspired Optimization Algorithm for Construction Management Problems. *Iran. J. Sci. Technol. Trans. Civ. Eng.* **2020**, *45*, 2177–2200.

69. Gao, H.; Medjdoub, B.; Luo, H.; Zhong, H.; Zhong, B.; Sheng, D. Building evacuation time optimization using constraint-based design approach. *Sustain. Cities Soc.* **2020**, *52*, 101839.

70. Li, Y.; Cai, W.; Kana, A.A. Design of level of service on facilities for crowd evacuation using genetic algorithm optimization. *Saf. Sci.* **2019**, *120*, 237–247.

71. Liu, M.; Zhang, F.; Ma, Y.; Pota, H.R.; Shen, W. Evacuation path optimization based on quantum ant colony algorithm. *Adv. Eng. Inform.* **2016**, *30*, 259–267.

72. Yin, R.K. Validity and generalization in future case study evaluations. *Evaluation* **2013**, *19*, 321–332.

73. Ghauri, P.; Grønhaug, K.; Strange, R. *Research Methods in Business Studies*; Cambridge University Press: Cambridge, UK, 2020; ISBN 1108802745.

74. Rutstein, R. The estimation of the fire hazard in different occupancies. *Fire Surv.* **1979**, *8*, 21–25.

75. Ramachandran, G. Probabilistic approach to fire risk evaluation. *Fire Technol.* **1988**, *24*, 204–226.
76. Hopkin, C.; Spearpoint, M.; Hopkin, D.; Wang, Y. Residential occupant density distributions derived from English Housing Survey data. *Fire Saf. J.* **2019**, *104*, 147–158.

77. Lizhong, Y.; Weifeng, F.; Weicheng, F. Modeling occupant evacuation using cellular automata-effect of human behavior and building characteristics on evacuation. *J. Fire Sci.* **2003**, *21*, 227–240.

78. Kułakowski, A.; Rogala, B. Agent simulation of the evacuation process from a building during a fire. In Proceedings of the 2017 12th International Scientific and Technical Conference on Computer Sciences and Information Technologies (CSIT), Lviv, Ukraine, 5–8 September 2017; Volume 1, pp. 385–388.

79. Mirahadi, F.; McCabe, B. A Real-time Path-Planning Model for Building Evacuations. In Proceedings of the 36th International Symposium on Automation and Robotics in Construction (ISARC), Banff, AB, Canada, 21–24 May 2019; IAARC Publications: Edinburgh, UK, 2019; Volume 36, pp. 998–1004.

80. Chu, J.C.; Yeh, C.-Y. Emergency evacuation guidance design for complex building geometries. *J. Infrastruct. Syst.* **2012**, *18*, 288–296.

81. Persson, S.M.; Sharf, I. Sampling-based A* algorithm for robot path-planning. *Int. J. Rob. Res.* **2014**, *33*, 1683–1708. https://doi.org/10.1177/0278364914547786.

82. Howie, M.C.; Seth, H.; Kevin, M.L.; George, K.; Wolfram, B.; Lydia, E.K.; Sebastian, T.; Ronald, C.A. *Principles of Robot Motion Theory, Algorithms, and Implementation*; MIT Press: Cambridge, MA, USA, 2005.

83. Rausch, C.; Lu, R.; Talebi, S.; Haas, C. Deploying 3D scanning based geometric digital twins during fabrication and assembly in offsite manufacturing. *Int. J. Constr. Manag.* **2021**. https://doi.org/10.1080/15623599.2021.1896942.

84. Sprinkler System Cost. Designing Buildings Ltd. 2021. Available online: https://www.designingbuildings.co.uk/wiki/Costs_of_water_automatic_sprinkler_systems (accessed on 15 december 2021).

85. Emergency Exit Cost. Alibaba.com. 2021. Available online: https://www.alibaba.com/showroom/fire-escape-stairs.html (accessed on 20 November 2021).

86. Self Closing Fire Door Cost. Trudoor, LLC. 2021. Available online: https://www.trudoor.com/commercial-hollow-metal-doors/fire-rated-metal-door/ (accessed on 20 November 2021).

87. Liu, C.; Tian, X.; Zhong, M.; Lin, P.; Gong, Y.; Yin, B.; Wang, H. Full-scale experimental study on fire-induced smoke propagation in large underground plant of hydropower station. *Tunn. Undergr. Sp. Technol.* **2020**, *103*, 103447.

88. Choi, J.S.; Kim, M.B.; Choi, D.H. Experimental investigation on smoke propagation in a transversely ventilated tunnel. *J. Fire Sci.* **2005**, *23*, 469–483.

89. Ronchi, E.; Nilsson, D.; Kojić, S.; Eriksson, J.; Lovreglio, R.; Modig, H.; Walter, A.L. A virtual reality experiment on flashing lights at emergency exit portals for road tunnel evacuation. *Fire Technol.* **2016**, *52*, 623–647.

90. Xiao, M.; Zhou, X.; Han, Y.; Bai, G.; Wang, J.; Li, X.; Sunya, S. Simulation and optimization of fire safety emergency evacuation in university library. *AIP Adv.* **2021**, *11*, 65323.

91. Tian, S.; Chen, Y.; Shen, X.; Dong, W.; Liu, Q. Evacuation simulation and optimization of exit shape based on Pathfinder. *Fire Sci. Technol.* **2018**, *37*, 1660–1662.

92. Talebi, S.; Koskela, L.; Tzortzopoulos, P.; Kagioglou, M.; Krulikowski, A. Deploying geometric dimensioning and tolerancing in construction. *Buildings* **2020**, *10*, 62.

93. Cleary, T.; Taylor, G. Evaluation of Empirical Evidence Against Zone Models for Smoke Detector Activation Prediction. *Fire Technol.* **2020**, *1–28*.

94. Szilagyi, C. The comparison of the results of a full scale evacuation test to the calculation method of Hungarian regulations to the Pathfinder software. In *Proceedings of International Conference in Prague 19–20 April 2013*; Czech Technical University in Prague: Prague, Czech Republic, 2013.

95. Ronchi, E.; Alvear, D.; Berloco, N.; Capote, J.; Colonna, P.; Cuesta, A. Human behaviour in road tunnel fires: Comparison between egress models (FDS+Evac, Steps, Pathfinder). In Proceedings of the 12th International Interflam 2010 Conference, Nottingham, UK, 5–7 July 2010; pp. 837–848.

96. Rein, G.; Bar-Ilan, A.; Fernandez-Pello, A.C.; Alvares, N. A comparison of three models for the simulation of accidental fires. *J. Fire Prot. Eng.* **2006**, *16*, 183–209.