1. Introduction
Evacuating buildings during a fire is a sensitive issue for society, as it involves safeguarding human lives. Therefore, the research on fire building evacuation has witnessed significant developments in recent decades, focusing on modelling and simulating the movement and behaviour of a building’s occupants.
The primary purpose of modelling human behaviour is to incorporate these models into the simulation models to understand the building evacuation phenomenon better and assist the architects and engineers in the building’s design; however, as Gwynne [
1] pointed out, the difficulties in simulating the occupants’ cognitive processes in an emergency lead to a very limited representation of human behaviour in building evacuation models during a fire. Cordeiro [
2] similarly stated that models that try to simulate people’s behaviour during a building evacuation do so in a simplified way and are very dependent on the sensitivity and knowledge of those who use such a model.
Considering the difficulties mentioned above, this paper presents an evacuation solution based on a paradigm shift regarding the approach to the occupants’ behaviour in a building during a fire emergency. In this paradigm shift, the focus is moved from trying to understand the occupants’ behaviour for incorporating it into simulation models to helping the occupants behave more predictably by developing a system that can provide them with the real-time information they need to reach a safe place. Inducing a more predictable behaviour of the occupants during the evacuation also contributes to reducing the uncertainty typically associated with the evacuation of a building.
In the solution proposed here, providing real-time information to the occupants about the safest and most efficient evacuation routes includes the installation of IoT sensors in buildings so that it will be possible to know the environmental conditions of the various spaces that the occupants must move through.
Based on the studies by Coelho [
3] and Predtechenskii and Milinski [
4] and Standard PD 7974-6:2019 of the British Standards Institution [
5], we developed contextual factor models to address the congestion of the evacuation routes, as well as the risk caused by fire, namely smoke, toxic and asphyxiating gases, and heat [
6].
This article’s main novelty and contribution reside in the development of models that use contextual information about the environmental conditions of buildings generated from the data obtained by IoT sensors to support decision making in guiding the occupants of a building during a fire. These models were incorporated into a context-based multi-agent recommendation system [
6], and the test results suggest that if the occupants adapt their behaviour by following the system’s recommendations, it will be possible to improve the efficiency of building evacuation during a fire.
As for the remainder of the article,
Section 2 presents the research on fire evacuation of buildings.
Section 3 presents the contextual factor models and the theoretical knowledge that supports them.
Section 4 describes the testing of the developed models, and the simulation results are discussed in
Section 5. Finally, in
Section 6, conclusions and future work are presented.
2. Related Work
The study of the problems related to the evacuation of buildings in emergencies has drawn the attention of researchers over the past decades, with different approaches and motivations, which we can divide into three areas of research: (i) evacuation models, systems, and algorithms; (ii) study of occupant behaviour during the evacuation process; and (iii) guiding the occupants to a safe place in real time. The following subsections summarise the developments in these three areas based on the published literature reviews, surveys, and state-of-the-art papers.
2.1. Evacuation Models, Systems, and Algorithms
Most literature reviews focus on surveying evacuation models, systems, and algorithms. In their study, Gwynne, Galea, Owen, Lawrence, and Filippidis [
7] analysed 22 evacuation models and considered three approaches. Optimisation models, in which the occupants are treated as a whole, do not consider an individual evacuee’s behaviour. Simulation models intend to represent the behaviour and movement of the occupants during the evacuation process. Finally, risk assessment models seek to identify hazards and quantify the risk associated with the evacuation from a fire or other incidents. Another review, developed by Hamacher and Tjandra [
8], investigates models and algorithms applicable to the building evacuation problem. The authors distinguish between microscopic and macroscopic evacuation models. The microscopic models are based on simulation and can model the evacuees’ characteristics and the interactions among them that influence their movement. The macroscopic evacuation models are this paper’s primary focus; those models do not consider individual behaviours during evacuation and use optimisation algorithms. To provide information that helps in choosing the most suitable model, Kuligowski and Peacock [
9] present a comprehensive review of 30 building evacuation models. The authors classify the models according to several categories, such as the modelling method used and its purpose, the type of occupants’ movement and behaviour, and the incorporation, or not, of fire data in the simulation. Also dividing the models into two types, macroscopic and microscopic, Dhamala [
10] presents the building evacuation domain’s state-of-the-art models, algorithms, applications, and implementations. The author highlights the advantages and disadvantages of the analysed models, referring to the difficulty in establishing consensus when comparing performances. Models based on optimal and approximate solutions, namely based on heuristics, are considered in the analysis.
2.2. Study of Occupants’ Behaviour during the Evacuation Process
Much of the researchers’ interest focused on studying occupant behaviour during the building evacuation. For Vorst [
11], modelling an evacuation process in an emergency must consider the behaviour of the occupants, namely the negative impact resulting from the psychological state of the occupants. In their reviews, Kobes et al. [
12] and Ronchi et al. [
13] emphasise the importance of understanding human behaviour in the design and construction of buildings, considering that the occupants’ behaviour interacts with the surroundings and with the implemented building safety measures. The authors highlight the importance of identifying the behavioural factors influencing the building evacuation process, the knowledge of the building’s purpose, as well as the knowledge of it by its occupants.
Understanding or training and educating human behaviour in a building evacuation situation contributes to designing safer buildings and more effective building evacuation processes. However, training based on drills, seminars, videos, or presentations may not be the most appropriate way to acquire and retain knowledge [
14]. So, researchers have been proposing, studying, and evaluating the use of innovative technologies such as Serious Games and Augmented Reality. In their systematic literature review, ref. [
14] seek to understand the development and implementation of solutions based on Immersive Virtual Reality (IVR) Serious Games (SG) in building evacuation for training people and behavioural study. In their work, the authors identify 15 papers, based on which they propose a framework to support the development of IVR SG applications for use in building evacuation. Noting that Augmented Reality (AR) can contribute, with virtual content, to improving occupants’ performance in building evacuation, Ruggiero [
15] presents a review of the AR applications developed for building evacuation. The author identifies AR applications, their goals, the hardware involved, and the incidents and building types supported and concludes that AR applications help increase the realism of building evacuation training and provide building occupants with solutions that enhance their performance in building evacuation.
For Gwynne [
1], modelling human behaviour in buildings under a fire emergency is very limited due to the difficulty of modelling the cognitive process during the emergency. According to Cordeiro [
2], models that seek to simulate human behaviour tend to do so in a very simplified way and depend on the information the user provides to the model. In her study on the state of the art of modelling human behaviour in case of a fire, Cordeiro [
2] concludes the following: (i) the behaviour of occupants varies from country to country due to the different characteristics of populations; (ii) the nature of the event and the difficulty in obtaining data in real situations has not allowed for more significant consolidation of knowledge; (iii) the use of Serious Games can help to enrich knowledge and improve the understanding of behaviour profiles; and (iv) there are no studies that allow quantifying the time associated with actions taken by occupants before deciding to leave the building.
2.3. Guiding the Building Occupants to a Safe Place in Real-Time
A third area of research refers to developing solutions to guide the building occupants to a safe place in real time.
In the literature review on Intelligent Evacuation Management Systems (IEMS), developed by Ibrahim et al. [
16] and Bi et al. [
17], the authors devote a section to solutions that suggest the most appropriate safe evacuation routes. The authors believe that for an IEMS to be successful, it must be able to suggest to the occupants the most appropriate directions and paths so that they can reach safety zones. For the authors, the main objectives are to reduce the evacuation time and avoid congestion and blockage of the routes. The authors also refer to five methods of notification of evacuation routes to occupants: through mobile apps, enlarged photos with indicative arrows, digital displays, intelligent lighting, and sound signalling. In their survey, Bi et al. [
17] present state-of-the-art emergency evacuation and evacuation guidance research, focusing on algorithms and systems. The authors highlight the impacts of the Internet of Things (IoT) developments and information and communication technologies (ICT) in disaster mitigation and prevention. The authors identify two lines of research: evacuation guidance and emergency search and rescue, focusing their work on developments in the first of the above areas. The authors define evacuation guidance as the process of directing evacuees through safe zones with the help of algorithms or using pre-designed static evacuation plans based on the prediction and analysis of evacuees’ behaviour models. Concerning evacuation systems, the authors report that they have accompanied the development of ICT from human experience-driven systems developed between the 1970s and 1990s, ranging from wireless sensor-based network systems to systems based on the cloud and mobile devices. The authors conduct an exhaustive survey concerning algorithms, differentiating between offline and online algorithms. Offline algorithms focus on optimising crowded space design and evaluating evacuation time. Online algorithms intend to provide safe evacuation routes to evacuees in real time, combining mathematical models or algorithms with sensors, communication, and computing devices. The authors also identify possible future lines of research, such as developing algorithms supported by artificial intelligence to improve evacuation path determination and resource allocation and the use of multi-agent systems technology to model and develop better cooperation strategies.
Due to its rapid development, the Internet of Things (IoT) can now provide smart buildings with devices to assist occupants during emergency evacuations. Along with the advancements in IoT, recent years have also witnessed a significant surge in research studies aimed at integrating AI (artificial intelligence) and ML (machine learning) techniques to detect fire incidents and determine the most efficient evacuation routes in real time within smart buildings. Fang et al. [
18] present a review of the developments in fire evacuation systems in smart buildings, noting that combining IoT with 5G can contribute to better solutions capable of helping occupants leave a building safely. In their paper, ref. [
18] present an IoT-aided building fire evacuation solution that integrates IoT, 5G, and BIM technologies, which they believe may improve the evacuation of the building in case of a fire more efficiently. Wehbe et al. [
19] unveiled an intelligent evacuation guidance system based on Building Information Modelling (BIM) for smart buildings. This system can detect fires promptly, gather and scrutinise sensor-derived hazard data, and proficiently direct evacuees to exits using optimal paths. Incorporating IoT and smart technology, their system detects fires early while minimising false alarms. Zualkernan et al. [
20] introduced an emergency evacuation system centred on the Internet of Things (IoT), designed to collect information about conditions inside a building during a fire crisis, aiming to direct evacuees to a safe place. Nguyen et al. [
21] present an intelligent evacuation guidance system for large buildings that uses smart indicators to provide real-time information to evacuees during emergencies. The system is designed with multiple computation layers. It proposes a dynamic evacuation routing approach using the LCDT (Length–Capacity–Density–Trustiness) weighted graph model and partial view (PV) information, representing the hazard intensity and the crowd congestion information of a group of sections/floors in the building. An estimated congestion strategy is also proposed to improve the efficiency of the evacuation routes. Lee et al. [
22] introduced a new paradigm in developing assistive technologies. Their approach employs IoT sensors embedded within buildings to gather data concerning hazardous indicators like smoke or fire and use machine learning algorithms to determine safe evacuation routes.
3. Guiding Occupants to Improve Building Evacuation Efficiency
As mentioned previously, researchers have focused on studying the behaviour of building occupants to incorporate it into building evacuation simulation models. Despite this effort, modelling human behaviour during a fire emergency is limited due to the complexity of modelling cognitive processes during an emergency [
1]. Additionally, human behaviour during emergencies is influenced by various factors that are difficult to predict and can vary from country to country [
2].
Considering the difficulties mentioned above, we present an approach that considers a paradigm shift in dealing with human behaviour during building evacuation. This paradigm shift resides in the fact that instead of focusing on the understanding and modelling of the occupants’ behaviour in a building under fire, the proposed approach focuses on the development of a solution capable of providing real-time information on the most appropriate and efficient evacuation routes at any given time. In possession of this information, the evacuees tend to adopt a behaviour that is adequate to the building’s environmental conditions, resulting from the fire outbreak. Saini et al. [
23] proposed an intelligent evacuation system designed to guide evacuees effectively toward safer locations while reducing direct fire exposure. The system uses IoT to capture hazardous conditions within the building and track evacuee movements and an evacuation routing to compute efficient routes that steer evacuees towards exits based on building conditions and evacuees’ information.
3.1. Building Evacuation Time
The Standard PD 7974-6:2019 [
5] considers two fundamental concepts that must be considered in fire building evacuation: the time available for a safe evacuation (ASET—available safe escape time) and the time required for a safe escape (RSET—required safe escape time).
Figure 1 presents the various types of times related to ASET and RSET.
Thus, the evacuation of a building can be considered safe if the time available for it to occur safely is substantially longer than the time that the routes are not risky to the occupants, so:
From
Figure 1, RSET may be written by the expression:
where
Td is the time between the fire ignition and its detection by the fire detection system.
Ta is the time between the fire detection and the alarm sounding for evacuation.
Tr is the reaction time of the occupant to the alarm, which spans between the sounding of the fire alarm and the beginning of the occupant’s movement to leave the building.
Tm is the movement or travel time that mediates between the moment an occupant starts moving to exit the building until he reaches a safe place.
As shown in
Figure 1, the evacuation of a building in a fire emergency can be divided into three distinct phases.
Phase 1 corresponds to the period between the start of the fire and the building occupants becoming aware of it, being the sum of the detection time and the alarm time. Naturally, its duration depends on the type of building, the fire characteristics, the fire detection system, as well as the building’s security procedures. Still, it does not depend on the characteristics of the occupants or their behaviour [
2,
3].
Phase 2 occurs between the moment the occupant becomes aware of the fire and when he starts moving to leave the building. Unlike phase one, the duration of this phase strongly depends on the occupants’ behaviour and characteristics. However, it depends less on other factors, such as the type of building, the characteristics of the fire, and the security means installed [
2,
3].
Phase 3 corresponds to the time that an occupant takes to reach a safe place from when he decides to move out of the building. The duration of this phase depends on the occupants’ behaviour, the building’s characteristics, and the fire impact on the evacuation routes [
2,
3].
The solution presented here falls within the scope of phase 3, as its purpose is to guide the occupants to leave the building safely during their movement.
3.2. Fire Impact on the Fluidity of Building Evacuation Routes
When designing and constructing a building, emergency evacuation routes are designed so that, in the event of a fire emergency, building occupants can use them to exit the building safely. These evacuation routes are reflected in the building’s emergency plan and construction by installing the respective emergency signage. The ontologies presented in [
24,
25] propose knowledge models that allow for a better understanding of the evacuation of buildings in case of fire. In [
25], the author presents an ontological model to support the development of solutions and systems capable of guiding the occupants of a building on their way out of the building, i.e., during phase 3 of the previously identified evacuation process.
As a result of a fire outbreak, evacuation routes’ availability and fluidity are reduced due to the fire’s impact, leading to blockages and interruptions of these routes and degradation of the evacuation process. The impact on evacuation routes is the result of two types of factors. On the one hand, due to route congestion caused by the occupants’ movement to exit the building and. on the other hand, the fire’s hazard resulting from the combustion itself, smoke, toxic gases, and the increase in temperature inside the building, which lead to constraints on evacuation routes.
Thus, a fire impacts the building’s environmental conditions, causing a change in the context in which the occupants are situated and the consequent change in the evacuation routes.
In the scope of this paper, context represents something that acts as a set of constraints that influence the behaviour of a system or user in the execution of a task [
26]. Context is the information used to characterise the situation of an entity in an interaction, being the entity, a person, a place, or an object relevant to the interaction between a user and an application [
27].
So, in the scope of this paper, context is defined as the information that, at each moment, allows the characterisation of the building’s evacuation routes and the interaction with the building occupants. The ontological model developed by [
25] considers that contextual information is constructed from the data obtained by the different IoT input devices installed in the building, be they IoT sensors of different types or fire detection systems. This construction process of contextual information characterising the building environment is shown in
Figure 2, which is obtained from the ontology proposed by [
25].
Based on the contextual information obtained through IoT, it is possible to build a solution capable of providing the building’s occupants with updated information on safe evacuation routes, ensuring greater efficiency in building evacuation. Thus, the occupants use that information received in real time in their decision making about the most appropriate and safest evacuation route, adapting their behaviour to the recommended routes instead of adopting ways that may be conditioned or blocked because of the fire.
3.3. Occupants’ Travel Speed
It has already been mentioned that the solution proposed here fits into phase 3 of the evacuation process and aims to reduce the occupants’ movement time. Therefore, knowing how fast the occupants move during a fire emergency is essential. So, two approaches were identified in the literature to calculate the occupants’ speed; both are presented below.
One approach follows the study of Coelho [
3] and the PD 7974-6:2019 standard [
5] and considers the following expression:
where
V is the evacuation speed (m/s);
k is the constant dependent on the type of evacuation route;
D is the density in number of people per square meter (p/m2)
α is the constant equal to 0.266.
According to the PD 7974-6:2019 standard [
5], for a density D < 0.54 p/m
2, the building occupants move without constraints, unaffected by the other occupants of the space if evacuation routes are not subject to other risk factors resulting from the fire. However, according to the same standard, the occupants stop moving for densities higher than 3.8 p/m
2, leading to roadblocks and bottlenecks.
Defining standard evacuation speed (V
s) as the speed at which an occupant would move in a fire emergency, on a non-congested route, or with low occupancy density, then, from expression (3) and
Table 1, we can construct
Table 2. A value of 0.54 p/m
2 is considered for density D, as it is the density limit for unimpeded movement [
5].
The other approach to determining the occupants’ movement speed considers the study by Predtechenskii and Milinski [
4], based on building evacuation exercises and fire occurrences, with a particular focus on the movement of people in buildings, whether in everyday situations or fire emergencies. However, instead of using density D as defined in the previous approach, Predtechenskii and Milinski [
4] introduced the concept of dimensionless density (D
a), which is based on what the authors define as the horizontal projection (P
h) of an occupant. Thus, considering a space or section of a route with a specific area (A) and considering N people on that section, the dimensionless density D
a can be defined as:
As follows from its definition, a person’s P
h value varies according to their physical characteristics, age, clothing type, or what they are carrying in their arms.
Table 3 presents the values calculated by Predtechenskii and Milinski [
4].
In their study, Predtechenskii and Milinski [
4] defined the speed (V) of an occupant as a function of the dimensionless density (D
a), considering the expression (5) for the standard speed in horizontal movements.
From the previous expression, Predtechenskii and Milinski [
4] introduce correction factors to determine the expressions for the vertical and span crossing circulations for three different types of movement—normal, comfortable, and emergency—which are shown in
Table 4.
As with the previous approach, we will also calculate the standard evacuation speed (V
s) using the Predtechenskii–Milinski [
4] approach.
Having as a reference a value of 0.54 p/m
2 for the density D and considering that from the definitions of D
a and D, one can obtain expression (6); also, considering the values in
Table 3 and
Table 4, one can build
Table 5, which presents the values of V
s for different types of journey and occupant’s characteristics.
Based on the PD 7974-6:2019 [
5] standard and the studies of Coelho [
3] and Predtechenskii and Milinskii [
4], this section presented two ways to calculate the occupants’ movement speed during the evacuation process of a building in the event of a fire emergency. The following sections demonstrate how these models can support a solution capable of guiding the occupants of a building to a safe place.
3.4. Modelling Contextual Factors
As previously mentioned, the changes in the building’s environmental conditions in the event of fire result from two types of contextual factors: the factor of congestion of routes due to the accumulation of people and the hazard factor resulting from fire propagation related to the flow of smoke, toxic gases, and temperature increase. This section presents calculation models for both types of factors.
3.4.1. Model to Calculate the Contextual Factor Due to Congestion
As a result of a fire outbreak, the high density of people in a specific section of a building evacuation route leads to constraints that make it difficult for occupants to move and consequently reduce the speed at which they move to leave the building. This congestion tends to become worse close to exits or doorways, which can lead to total blockage due to the impossibility of movement [
3].
As shown in
Figure 2, these constraints can be detected using IoT devices equipped with sensors and detectors, such as presence detectors or people counting detectors, which allow for determining the density of people in each section of a pathway and, consequently, the time delay it causes.
To calculate this delay time, we will use the concept of specific flow (Fe), defined by [
3] as the number of people passing through a section of an evacuation route per unit of time and unit of effective width of that section, and is given by the following expression:
where V is the evacuation speed in meters per second and D is the population density in persons per square meter.
The total flow (F), being the product of the specific flow by the section width (L) [
3], can be written as:
According to [
3], the time required for a group of people (P) to cross a doorway of effective width L
e is given by the expression:
As previously mentioned, if we consider that in a non-congested section, that is, where an occupancy density is lower than 0.54 p/m
2, the occupants move at speed V
s, according to
Table 2 and
Table 5, then in a congested section, the time T given by expression (9) can be understood as the time delay for crossing this section. Therefore, time T can be used to support decision making by a system with the objective of informing occupants about the more efficient evacuation routes.
3.4.2. Model to Calculate the Contextual Factor Due to Hazard
In addition to the constraints resulting from the overcrowding of people, there are also constraints resulting from the fire’s combustion. Therefore, this section describes how to assess the impact on the occupants’ movement resulting from hazardous situations caused by the development and spread of fire, namely regarding the existence of smoke, flames, toxic gases, and heat.
According to the PD 7974-6:2019 [
5] standard, smoke causes a decrease in the occupants’ movement speed, either by reducing visibility or by toxicity or irritation of the respiratory tract, making it possible to identify a set of conditioning aspects of occupants’ ability and willingness to enter or move under smoke [
5]:
Each specific situation must be considered: whether the occupants are already immersed in the smoke and moving away from the fire or if smoke is already in the evacuation route.
If immersed in the smoke, the occupants tend to move through the smoke, avoiding going in if alternative evacuation routes exist.
Each person will have their own sensitivity to the smoke, so this is a personal decision. However, occupants with greater sensitivity tend to avoid moving through the smoke.
Occupants also make decisions based on smoke density and visibility, tending not to walk through smoke in conditions of high uncertainty.
Smoke with properties that irritate the people’s airways is another aspect influencing occupants’ decisions.
Smoke temperatures that cause pain and discomfort tend to make occupants avoid moving in the smoke, looking for alternative routes
Table 6, obtained from [
5,
6], summarises the effects of smoke on occupant visibility and speed.
In addition to the problems caused by smoke, there is also the situation arising from occupants’ exposure to toxic and asphyxiating gases. These gases can be incapacitating for building occupants. The PD 7974-6:2019 [
5] standard refers to a relationship between the density of smoke and the concentration of irritating and asphyxiating gases. According to that standard, for the proposed limit of Dm
−1 = 0.2, most fires concerning asphyxiating gases remain bearable for 30 min.
The PD 7974-6:2019 standard also has reference values for the maximum permissible concentrations of toxic gases, such as carbon dioxide, carbon monoxide, and hydrocyanic acid, formed during a fire.
Table 7 presents values for the acceptable limits of CO, in parts per million, for fire whose combustible material has an estimated nitrogen content lower or higher than 2% of the total mass of these materials.
Heat is another critical factor limiting the occupants’ movement and decision to proceed along a given route. The temperature resulting from a fire can reach values that are not bearable to the human body. The PD 7974-6:2019 [
5] standard proposes limits humans can tolerate based on the pain resistance time for unprotected skin. These limits are presented in
Table 8; still, according to [
5], when a high percentage of water vapour in the air exists, as in places with sprinklers, the maximum tolerable temperature is 60 °C.
All three factors (smoke, toxic and asphyxiating gases, and heat) can be measured using appropriate sensors integrated into IoT devices. The data obtained can support a solution capable of informing the occupants of a building about the most suitable routes at any given time, thus allowing for conditioning their behaviour and guiding them to a safe place.
From
Table 6 and
Table 7,
Table 9 summarises the impact of smoke and heat on occupants’ movement during the building evacuation process, bearing in mind that, as mentioned in PD 7974-6:2019 [
5] standard, for smoke density greater than 0.2 Dm
−1, the probability of irritating and even asphyxiating gases is high.
3.4.3. Representing a Building as a Graph
According to [
6,
28], a floor building may be represented by a graph consisting of V vertices and E edges (
Figure 3). These vertices and edges represent all the walkable areas of the building; the weight of the edge is the distance between two adjacent vertices, representing a section of an evacuation route. Alternatively, the weight of the edge can also represent the time it takes to travel that distance.
When transforming the floor plan into a node network, each cell and doorway are represented by its geometric centre, as shown on the left side.
Thus, by installing IoT sensors throughout the building, data are obtained that reflect the environmental conditions of the different building sections that make up the evacuation routes, whether in terms of congestion of routes or concerning smoke, toxic and asphyxiating gases, and heat. These sensor data translate the constraints in the walkable areas of a building so that a building can be represented by a dynamic graph, with the computational representation presented in [
6]. The dynamic graph consists of a matrix of adjacencies (MA) and a matrix of distances, or weights, (MD), so the dynamic graph G(t) can be written in the form [
6].
The MD(t) matrix reflects the weight of the edges (sections of the evacuation routes) of the graph over time and can be written in the form [
6]:
where MD
0 is the initial distance matrix (t = 0), and MFc(t) is the matrix resulting from the impact of the contextual factors presented in
Section 3.4.1 and
Section 3.4.2. Therefore, it can also be written that [
6]:
where md(i,j), md
0(i,j) and mfc(i,j) refer to the weight values for the section between the vertices i and j.
The resulting model of the impact of the hazard factors presented in
Section 3.4.2 is summarised in
Table 10.
4. Testing the Models: Experiments and Results
The contextual factor models presented in the previous sections supported the development of an evacuation route recommendation solution based on a context-based multi-agent recommender system developed within the scope of our PhD thesis. In this section, we start by introducing the recommendation approach and the Evacuation Route Multi-Agent Recommender System (ERMARSys).
Section 4.2 describes the experimental scenarios, and the results are presented in
Section 4.3.
4.1. The Evacuation Route Multi-Agent Recommender System
The recommender solution, detailed in [
6], assumes the installation of IoT input devices to collect data regarding the building’s environmental conditions and IoT output devices to present building occupants with the most appropriate and efficient routes at every moment. The data collected by the sensors are used to dynamically update the building graph to reflect the status of the evacuation routes at every moment. With this contextual information reflected in the building’s dynamic graph, the recommender system provides occupants with the most efficient and safe routes at each moment.
Figure 4 presents the architecture of the recommender solution [
6].
The ERMARSys system, presented in detail in [
6], is a context-aware multi-agent recommender system based on contextual information built from IoT sensor data obtained in real time. This contextual information characterises the environmental conditions of the building at every moment and is used to update the dynamic graph that represents the building in the recommender system. Based on the graph, the recommender system determines the most efficient and safe evacuation routes, presenting them to the building occupants by dynamic digital signalling.
4.2. Experimental Scenarios
The ERMARSys system was tested on the Web simulation platform developed according to [
28,
29], and the experimental scenarios and results are described and presented in detail in [
6].
This paper summarises the experimental scenarios and results, highlighting the contribution of the models of contextual factors.
Figure 6 presents a screenshot of the Web simulation platform, representing the building (LNEC congress centre area) under testing.
The LNEC congress centre has an area of about 2000 m2 with a capacity of 300 people. The congress centre has a main room for about 200 seated people plus five rooms with an average capacity of 20 people.
For the tests and simulations, the following scenarios were considered: (i) Scenario 1 considers two occupants in room 2; (ii) Scenario 2 considers 30 occupants occupying rooms 2 to 4; (iii) Scenario 3 considers 200 occupants randomly positioned.
For each of the above scenarios, the following situations were considered: (i) occupants know the building and do not follow emergency signs; (ii) none of the occupants knows the building, so they move to the exit following the static emergency signs or those recommended by ERMARSys, if active.
Figure 7 shows the occupants’ initial position for each scenario.
4.3. Results
The results are presented considering two points of view: the time it took the occupants from starting the movement until reaching a safe place and the building evacuation pattern followed by the occupants.
Table 11 and
Figure 8 show the results for all the mentioned scenarios and situations concerning the movement time. The results show that for all scenarios, the introduction of the ERMARSys recommender system makes it possible to evacuate the building in less time.
Concerning the evacuation patterns for the simulated situations, shown in
Figure 8, it is possible to verify that in cases where the ERMARSys system is inactive, more occupants need to reverse their direction of movement. So, occupants who do not follow the dynamic emergency signs updated by ERMARSys only later become aware of the blockage of exit 1, as can be seen by comparing the areas inside the blue areas in
Figure 9. On the other hand, when the ERMARSys system is active, all the constraints and the blockage of exit 1 are reflected in the recommended evacuation routes.
5. Discussion
The time it takes to evacuate a building in case of fire is crucial to ensure the safety of occupants and to optimise the fire safety solutions to be adopted. However, its rigorous calculation is subject to significant uncertainty arising from people’s behaviour in these situations, which causes longer and less rigorous evacuation times.
As Cordeiro [
2] mentions in his study on human behaviour in the case of fire, occupants spend time making decisions and performing tasks before deciding to leave the building. These actions, which do not have the immediate objective of leaving the building, can sometimes make it difficult to evacuate, increasing the danger to which the occupants are exposed. The time consumed in making decisions and performing these tasks significantly influences the total evacuation time.
In addition to the fact that we rarely know the characteristics of the occupants of a building, especially in those where the population is essentially fluctuating, it is extremely difficult to know the occupants’ behaviour accurately. Thus, considering the difficulties in accurately modelling the behaviour of occupants, we propose a new paradigm that, using up-to-date information on the environmental conditions of a building, provides occupants with safe evacuation routes, helping them to make decisions about the evacuation route to take to exit the building, thus contributing to more occupants’ predictable behaviour.
The solution presented in this paper, which consists of using information about the environmental conditions of the building to help the occupants choose the escape routes that will most help them exit from the building, contributes to reducing the time consumed in decision making.
The results suggest that, for any of the simulated scenarios, the ERMARSys recommender system ensures that the evacuation is carried out in less time, thus contributing to greater efficiency of the evacuation process. This greater efficiency is reflected in the fact that occupants need less time to leave the building, and fewer of them need to reverse direction.
The results also show that in a fire situation that leads to constraints on evacuation routes, it is not enough for the occupant to be familiar with the building to choose the most efficient way. Even if the occupants know the area where the fire broke out, they will know nothing about the impact on evacuation routes. Supported by the models presented in
Section 3.4.1 and
Section 3.4.2, the ERMARSys system is aware of environmental changes in the building in real time, allowing the recommendation of the most efficient evacuation routes at every moment.
It must also be noted that the simulations focused on the occupants’ movement time as defined in
Section 3.1—the time from the moment an occupant starts their movement to leave the building until they are in a safe location. It may also be said that the study presented here focuses on what was previously defined as phase 3 of the evacuation process. As already mentioned, the duration of this phase coincides with the movement time under study. It depends on the occupants’ characteristics and their behaviour, the environmental conditions of the building, and how the fire affects evacuation routes.
With the solution presented here, it is possible to perceive changes in evacuation routes through IoT sensors installed in the building and use that information to make the occupants’ behaviour more predictable by recommending the most appropriate evacuation routes.
The limitations of the study are mainly related to the assumptions considered in the development of the prototype of the recommender system and experimentation scenarios, namely:
To determine the people density in an evacuation route section, a hypothetical sensor was used to calculate the number of occupants in that section.
To determine the hazard factor, we used a hypothetical risk sensor capable of reproducing the effects of the fire (smoke, temperature, and toxic gases) on the evacuation routes.
In the simulation, it was assumed that occupants do not exchange information with each other. Thus, if an occupant returns because an evacuation route is blocked, he/she does not give this information to the other occupants.
In cases where the occupants are unfamiliar with the building, it was assumed on the simulations that they do not know anything about it. However, in a real situation, people at least register where they enter the building, so they tend to know at least that way out.
However, the above simplifications still made it possible to simulate changes in the building’s environmental conditions and in the occupants’ movement due to restrictions on evacuation routes without jeopardising the study’s objectives.
6. Conclusions and Future Work
This research aims to study how real-time knowledge of the environmental conditions of a building could be used to positively influence people’s behaviour while evacuating them from a building in case of fire.
Based on consolidated theoretical knowledge in the research area of building evacuation in case of a fire, this paper presents models of contextual factors to address congestion and hazardous issues arising from fire. These models were incorporated into the ERMARSys recommender system, and the simulation results suggest that they can contribute to the development of solutions capable of efficiently guiding the occupants of a building to a safe place.
The ability of a solution like the one presented in this article, which provides information on the most efficient evacuation routes, allows occupants to adapt their behaviour during their movement to leave the building, following the system’s indications instead of acting on their own initiative, thus helping to exit the building safely.
Concerning future work, it is essential to deepen the study of models of contextual factors, namely about environmental conditions, using information from other models, such as, for example, the Consolidated Model of Fire and Smoke Transport (CFAST) of the National Institute of Standards and Technology (NIST). It is also essential to deepen the study about the dependence of the occupants’ movement speed as a function of the occupation density. We also plan to test the proposed models on other simulation platforms like Pathfinder and FDS (Fire Dynamics Simulator).
It is also necessary to assess how people react to a system like the one proposed, especially concerning confidence in such an approach herein presented. It is essential to start by conducting surveys that make it possible to draw conclusions on this matter.