Preprint
Article

This version is not peer-reviewed.

A Hybrid Sensor-Fusion and Graph-Based Routing Model for Explainable Multi-Agent Fire Evacuation

Submitted:

23 August 2026

Posted:

25 August 2026

You are already at the latest version

Abstract
Fire evacuation in complex multi-storey buildings is a dynamic task in which route safety changes depending on fire development, smoke propagation, and the spatial distribution of evacuees. Contemporary research increasingly applies artificial-intelligence methods for adaptive evacuation planning, but most of these approaches achieve adaptivity at the expense of interpretability and traceability. This is a limitation that is especially critical for systems with direct relevance to human safety. The present paper introduces a fully deterministic approach to intelligent fire evacuation that extends the hierarchical building graph model proposed by Ivanov [1] with continuous sensor-based risk assessment (temperature, smoke, CO₂, crowd density), unified through weighted fusion with hysteresis. Route evaluation uses a calibrated composite edge-cost model, complemented by a threshold-based table for adaptive node priority and multi-agent coordination through virtual load, while evacuee movement is modeled by a cellular automaton. All components of the proposed system are configurable and calibrated rather than trainable, which ensures full traceability, auditability, and compliance with fire-safety regulatory requirements. Evaluation across thirteen scenarios in four real buildings shows that the system's adaptivity stems mainly from multi-agent coordination and dynamic route recomputation, rather than from offline calibration of the graph weights. Coordination reduces the standard deviation of the maximum evacuation time by a factor of 2.7 to 4.9 relative to an uncoordinated baseline algorithm, at a mean evacuation time that is practically equivalent (within 1%) or, in the worst case, about 9% higher. The system achieves complete load balancing across exits (Cliff's delta up to 1.00) and guaranteed avoidance of fire and smoke nodes in all test scenarios, with the only exception involving boundary cases in which fire spreads faster than the sensor-classification interval, a physical detection-latency limit rather than a routing failure. These results indicate that deterministic, calibrated coordination can achieve adaptivity comparable to learning-based methods while preserving the traceability and auditability required for regulatory-compliant fire-safety deployment.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

Fires in multi-storey and architecturally complex buildings continue to represent one of the most serious challenges for human-safety systems. Regardless of advances in building codes, fire-protection installations, and early-warning systems, effective evacuation remains a critical factor in limiting human losses. Data from the systematic bibliometric analysis by Qi et al. [2], covering 673 publications from 2000 to 2024, show that research interest in fire evacuation is growing exponentially. 59.3% of all publications are concentrated in the last five years, reflecting the increasing recognition of the problem as an unresolved scientific task. The main reason is that real fires are highly dynamic events in which building conditions change continuously because of fire spread, smoke accumulation, decreasing visibility, changes in air toxicity, and the emergence of local congestion along evacuation routes. Under such conditions, predefined evacuation plans often cannot guarantee optimal, or even safe, behavior for all occupants.
Over the last decade, a significant transformation has been observed in fire-evacuation research. According to the systematic reviews by Muthukumar et al. [3] and Qi et al. [2], the field is gradually moving from static evacuation models toward intelligent systems that combine sensor data, digital building models, fire-development simulations, and artificial-intelligence algorithms. Muthukumar et al. [3] analyze 96 peer-reviewed publications and identify a clear shift from rule-based systems to deep-learning solutions, noting that the largest share of AI research (43.75%) is directed at the disaster-response phase—the phase into which real-time evacuation routing falls. This trend is driven by the need for evacuation decisions to be adapted to the specific real-time situation rather than based on predefined scenarios.
In parallel, technologies for creating digital representations of the building environment are also developing. The integration of Building Information Modeling (BIM) and Fire Dynamics Simulator (FDS) enables the construction of digital twins that combine the building’s spatial structure with fire-dynamics models and risk assessment [4]. Simulation studies by Zhang et al. [5] in L-shaped buildings demonstrate that the safety of evacuation routes depends not only on distance to exits but also on smoke dynamics, airflow direction, and fire-origin location — factors whose consideration requires a substantially richer information basis than that provided by static plans.
Significant progress is also observed in the use of machine-learning and reinforcement-learning algorithms. Contemporary research demonstrates the potential of deep learning for predicting fire development, assessing risk, and dynamically planning evacuation routes [6,7,8]. In addition, the development of multi-agent approaches enables coordination of the behavior of large groups of people and management of evacuation processes in complex environments [9,10,11].
Despite these significant achievements, there is a substantial contradiction between the adaptivity of contemporary AI-based solutions and the requirements for reliability, transparency, and traceability in safety-critical systems. Most contemporary models achieve high effectiveness through complex neural architectures whose behavior is difficult to interpret and formally verify. From the standpoint of real-world deployment, this represents a serious limitation, since evacuation decisions in safety-critical systems must not only be effective but must also meet the requirements of the applicable regulations and fire-safety building codes, which presuppose deterministic, traceable, and verifiable system behavior. Muthukumar et al. [3] and Qi et al. [2] identify precisely the lack of explainability, limited generalizability, and difficulties in real-world deployment as among the field’s main unresolved problems. These limitations become especially critical when a system must be approved by regulatory bodies or certified for real-world operation.
The present study treats evacuation as a real-time intelligent decision-support task in which adaptivity to a dynamically changing environment is achieved without the use of trainable or “black-box” components, relying entirely on deterministic, configurable, and traceable mechanisms. This work is developed as a direct extension of the BFS-based KSP algorithm for hierarchical buildings proposed by Ivanov [1], whose deterministic graph architecture is retained as the system’s core and extended with three complementary, fully formula-based mechanisms: a calibrated model for weighting graph edges, threshold-based adaptation of priorities, and multi-agent coordination.
The main contributions of the present work are:
  • A fully deterministic evacuation algorithm combining BFS/K-shortest-paths search with a calibrated composite edge-cost model, a threshold-based table for adaptive node priority, and multi-agent coordination;
  • A weighted sensor-fusion module with hysteresis for converting continuous sensor readings (temperature, smoke, CO₂, crowd density) into topological-graph parameters, without trainable components;
  • A cellular automaton with directed diffusion and a danger-escape mechanism for realistic modeling of evacuees under a dynamically spreading fire;
  • An architectural separation between statically calibrated parameters and the dynamically adapted priority layer, providing both full traceability/auditability and adaptivity, a prerequisite for regulatory compliance and certification in real evacuation systems;
  • Empirical validation across thirteen scenarios in four real buildings, including ablation configurations, one-at-a-time sensitivity analysis, and a Monte Carlo comparative study against multiple baseline configurations and alternative route-sorting criteria.
The remainder of the paper is organized as follows: Section 2 reviews the existing literature and positions the proposed approach relative to it; Section 3 describes the methodology — the architecture, risk assessment, the route-cost model, adaptive node priority, agent coordination, and the crowd model; Section 4 presents comparative experiments across thirteen scenarios in four buildings; Section 5 verifies compliance with regulatory requirements; Section 6 discusses the results and limitations; Section 7 summarizes the contributions and conclusions.

3. Methods

3.1. General Overview of the Algorithm

The proposed system implements a hybrid architecture for supporting fire evacuation, combining real-time sensor-data processing, calibrated risk-assessment mechanisms, and deterministic graph-based routing. The main design goal is to simultaneously achieve adaptivity to a dynamically changing environment and preserve full traceability of the decision-making process. The algorithms are implemented in Python and are available for analysis and use (SupplementaryMaterial/software). In addition to the source code, a supplementary tool has also been developed for interactive 3D visualization of a selected individual evacuation route (Section 5.6), useful for auditing a specific evacuation decision. The project structure, a description of the software, and the operation of the 3D visualizer are described in PDF files (SupplementaryMaterial/docs).
The overall algorithmic architecture of the system is presented in Figure 1.
The architecture is organized as a sequence of interconnected modules that transform data from the building environment into concrete evacuation routes. The starting point of processing is the building’s topological model, built on a BIM-based graph representation (IFC file format).
Data from the sensor infrastructure feeds into this model, including temperature, smoke, carbon-dioxide concentration, and evacuation-flow density. The sensor-fusion module converts the heterogeneous measurements into unified estimates of fire risk and smoke risk. The resulting values are used by the calibrated risk-assessment model, which determines the dynamic traversal costs for individual nodes and edges of the graph. In parallel, the adaptive node-priority mechanism updates local environment assessments whenever new hazards arise or the fire configuration changes.
Following risk assessment, the multi-agent coordination module runs, distributing evacuees among alternative routes through a virtual-load mechanism. Final route generation is performed by the deterministic BFS-KSP core, which uses the updated graph weights and environmental constraints to determine the most suitable evacuation paths.
The resulting routes are fed to the cellular automaton for modeling the evacuation flow, which simulates the movement of individual agents, their interactions, and the influence of local hazards on their behavior. The simulation results are used to update the load and risk estimates, closing the dynamic-replanning loop and enabling adaptation to the evolving fire situation.
The proposed algorithm implements multi-agent dynamic evacuation, in which agent routes are recomputed in real time whenever a significant change in hazard conditions occurs, rather than being determined once at the start of the simulation. The algorithm operates in an iterative loop with a fixed five-second time step, at each step of which the following operations are performed in sequence: (1) incoming sensor data is normalized and combined into an updated hazard-state estimate for each node of the building graph; (2) this estimate is compared with the previous one to determine whether a significant change has occurred that requires route recomputation; (3) if a significant change is detected, K alternative routes are computed for each affected agent through weighted search over the connectivity graph, accounting simultaneously for risk, load, and distance; (4) the resulting route is passed to the crowd-movement model, implemented as a cellular automaton; and (5) agent positions and local crowd density are updated and recorded for the next step.
The remainder of this section describes in detail the mathematical apparatus behind each of these operations.

3.2. Hazard-State Assessment

Raw physical measurements (temperature, smoke level, CO₂ concentration, headcount) are transformed into normalized risk scores in the range [0,1]. This is achieved through linear scaling relative to maximum values specified in a threshold configuration file (400 °C for temperature, 3000 ppm for CO₂; the smoke level arrives already normalized; the maximum crowding capacity depends on node type, as summarized in Table 2).
The fire and smoke risk scores for each node are computed through weighted maximum aggregation of the normalized sensor values. Instead of simple summation, the maximum of the contributions from the individual sensor types is taken, weighted by their reliability for the corresponding hazard type (Equation 1):
f i r e _ r i s k n o d e = m a x w f , T ⋅ n o r m T ,   w f , S ⋅ n o r m S ,   w f , C O 2 ⋅ n o r m C O 2
An analogous formula, with a separate set of weights, is applied for s m o k e _ r i s k ( n o d e ) . The confidence weights for the individual sensor types w f are summarized in Table 3.
For example, the temperature-sensor reading carries the highest weight for fire risk (0.95), while the smoke index carries the highest weight for smoke risk (0.85); crowd does not participate in this aggregation (weight 0 for both risk types), since crowding is treated as a separate, independent risk factor (see Section 3.4).
To avoid unstable switching of the classification for values near the threshold, the transition between a node’s “safe” and “hazardous” state is performed via hysteresis: a node enters a hazardous zone at a higher threshold than is required to leave it again. The thresholds applied are summarized in Table 4.
The replanning trigger is activated immediately whenever a new fire or smoke node appears, or when an existing fire node clears; for gradually changing conditions, it is activated when the risk level changes by a value greater than or equal to 0.20, or the crowd density changes by a value greater than or equal to 0.15, for a given node. This stepwise, rather than continuous, response is the direct reason why, in six of the thirteen scenarios, the static fire and smoke node fields remain empty at the initial planning moment. The hazard itself enters the simulation solely through this sensor mechanism at a later stage (Section 4.4.3, Mechanism C).

3.3. Building Connectivity Model

The topology of each building is represented as a weighted directed multigraph, in which nodes correspond to spatial elements (rooms, corridors, stairwells, exits) and edges correspond to physical transitions between them (doors, open spaces). The graph is described hierarchically (building → wing → floor → vertical connectivity), following the model from Ivanov [1], described in Section 4.1 in the context of the computational efficiency of the search.
Besides the dynamic exclusion of nodes depending on the current hazard, the graph also supports a permanent structural-exclusion mechanism, applied once at load time and independent of the simulation’s progress. Nodes listed in the configuration as physically inaccessible are removed from the graph together with all edges connected to them. This mechanism is used for the regulatory exclusion of elevator nodes from the evacuation graph, since elevators cannot serve as an evacuation route during a fire unless specifically designed for that purpose. A separate, finer-grained mechanism allows the removal of a specific door or transition between two nodes without excluding the nodes themselves. This is suitable for doors that are regulatorily locked or permanently inaccessible, while the room itself remains part of the evacuation graph through other doors (a room is connected to adjacent rooms through multiple doors).

3.4. Route-Cost Model

Each node carries a composite risk score r i s k _ s c o r e in the range [0,1], computed as a sum of indicator contributions, capped from above (Equation 2):
r i s k _ s c o r e n o d e = m i n ( 0.9 ⋅ 𝟙 f i r e + 0.5 ⋅ 𝟙 s m o k e + 0.3 ⋅ ρ c r o w d n o d e + 1.0 ⋅ 𝟙 b l o c k e d ,   1.0 ) .
The coefficients reflect the relative severity of the hazards: a fire zone (0.9) is close to maximum risk, a smoke-affected zone (0.5) is a serious but potentially more briefly traversable hazard, and crowd density (0.3) adds a smooth, continuous penalty component rather than a binary prohibition. A combination of simultaneous fire and smoke reaches the maximum value r i s k _ s c o r e = 1.0 . This score is independent of the calibratable weight vector described below and plays a central role in the route-selection criterion (see Section 3.5).
For each edge of the graph, an eight-dimensional feature vector f is computed, summarized in Table 5, describing the conditions at the edge’s target node.
The cost of traversing an edge is computed as the dot product of the calibratable weight vector w and the feature vector f , increased by a contribution from the projected crowd density, and bound from below for the numerical stability of the search algorithm (Equation 3):
e d g e _ c o s t n o d e , l i n k = m a x w ⋅ f n o d e , l i n k + c ^ n o d e ⋅ w 3 ,   0.1 ,
The default values of the weight vector w , used for the uncalibrated configurations in the ablation study (Section 4.3), are given in Table 6.
The projected crowd density ĉ(node), used in Equation 3, is obtained from a diffusion model that propagates observed density to neighboring nodes in the direction of the exits (Equation 4):
c ^ n o d e , t + 1 = c n o d e , t ⋅ δ ⋅ 1 − ε + n ‾ n o d e ⋅ σ ⋅ 1 − δ ,
with retention parameter δ=0.85, spread σ=0.30, and evaporation ε=0.15. In this formula, n̄(node) is a weighted average of the neighboring nodes, weighted by normalized distance to the nearest exit. In this way, nodes closer to the exit have greater influence, modeling directed rather than isotropic diffusion. Direct sensor observations are given precedence over the projection through exponential smoothing with coefficient α=0.4: c n o d e 0.4 o b s e r v e d n o d e   +   0.6 c n o d e .

3.5. Route Search and Selection

During the search for K alternative routes, nodes are traversed via a priority queue (min-heap) whose key reflects not only the accumulated path cost but also current risk conditions and the accumulated long-term experience of each node’s quality (Equation 5):
p r i o r i t y n o d e , c o s t = c o s t − 0.5 ⋅ P n o d e + 8.0 ⋅ r i s k _ s c o r e n o d e + 4.0 ⋅ ρ c r o w d n o d e + Δ u p n o d e ,
where the first term P n o d e is the node’s accumulated long-term value, the second r i s k _ s c o r e n o d e is the composite risk score from Equation 2 (with a coefficient of 8.0, which imposes a strong penalty contribution for hazardous nodes, independent of the calibratable weight w ₁ ), the third 4.0 ρ c r o w d n o d e adds a penalty for overcrowded nodes, and the fourth Δ u p n o d e imposes a penalty of 12.0 for every floor above the agent’s starting floor, which prevents routes that climb back upward without good reason.
The number of alternative routes searched at each planning cycle is bound by parameter K. For the scenarios evaluated in Section 4, the value applied is K=5 for every planning cycle, regardless of the value specified in each individual scenario’s configuration. A direct comparison of the results for K=5 versus K=200 shows that, for twelve of the thirteen scenarios, the number of evacuated agents remains completely identical, and in the single scenario with a measurable difference, the deviation is one agent.
After the K admissible routes are found, they are sorted using a two-criterion lexicographic key function (Equation 6):
s o r t _ k e y n = r i s k _ l e v e l n ,   t o t a l _ c o s t n ,
r i s k _ l e v e l n = 1 n ∑ i = 1 n r i s k _ s c o r e n i ,
where the term t o t a l _ c o s t n is the sum e d g e _ c o s t over all n edges of the path. The semantics of this sorting are central to the algorithm’s architecture: the safer route (lower value r i s k _ l e v e l ) is always preferred over the cheaper one, regardless of the difference in the secondary term t o t a l _ c o s t . The calibratable weight vector w participates only in the secondary criterion t o t a l _ c o s t and therefore decides only between routes with an identical r i s k _ l e v e l primary value. The route with index 0 after sorting is the recommended route for the corresponding agent. This lexicographic structure is called TWO_TIER.

3.6. Weight Calibration and Online Adaptation

The weight vector w from Table 6 can be loaded from a pre-calibrated model instead of using the default values. Calibration is performed offline, via gradient descent, minimizing the mean-squared error between the cost predicted by Equation 3 and an “ideal” cost derived from simulated evacuation trajectories in the test scenarios. This linear model with eight defined features contains no graph neural network, no message-passing mechanism between nodes, and no learned node embeddings. Calibration is limited to the eight scalar coefficients of the linear combination in Equation 3.
Alongside the offline-calibrated weight vector, the system maintains an online table of long-term node values P n o d e , used in Equation 5. Unlike formal reinforcement learning, this table uses no reward function, discount factor, or Bellman equation — it is updated through direct, threshold-based addition of fixed correction values whenever certain events occur, summarized in Table 7.
These corrections act as a long-term memory of node quality: after a series of successful evacuations, nodes that were part of reliable routes accumulate a positive value and are preferred earlier in subsequent searches, without this constituting a formal reinforcement-learning process in the sense of a Markov decision process.

3.7. Coordination Among Agents

When planning for multiple agents, the processing order is not arbitrary: more endangered agents receive a computed route first, before the virtual load from already-planned agents can influence their choice (Equation 7):
p r i o r i t y a g e n t = 3.0 if   the   agent   is   in   a   fire   or   an   area   with   unbearable   smoke 2.0 if   the   agent   is   in   a   tolerable   smoke - filled   area 1.0 + ρ c r o w d a g e n t otherwise ,
Under the strict smoke-tolerance threshold configuration used in the evaluated scenarios (Section 5.2), every classified smoke node is treated as intolerable, so that in practice an agent in a smoke node receives the same highest priority (3.0) as an agent in a fire node. A value of 2.0 would apply only under a looser tolerance threshold, permitting low smoke levels, different from the configuration used in the present study.
To prevent multiple agents from concentrating on the same route, after each agent is planned, the nodes along its route receive a temporary, virtual increase in crowd density (Equation 8):
w o r k i n g _ d e n s i t y n o d e ← m i n w o r k i n g _ d e n s i t y n o d e + λ ,   1.0 .
The value of the coefficient λ applied in all simulation runs in Section 4 (the PROPOSED configuration) is λ = 0.35 . The next agent in sequence “sees” the already-planned nodes as more congested and naturally prefers an alternative route, without any need for centralized coordination or communication among agents. This mechanism is quantitatively confirmed in Section 4.5 through the ablation configuration NO_AGENTS_COORD ( λ = 0 ).
When an agent is left without an admissible route ( h a s _ s o l u t i o n   =   f a l s e ) for two or more consecutive planning cycles, a rescue-intervention notification is automatically generated, containing the agent’s current position, a recommended access point for rescue teams, and the duration of the blockage. This sequence is directly verified in the simulation log for the boundary case.

3.8. Crowd-Movement Model

The route computed in Section 3.5 is not executed unconditionally. The physical movement of each agent from node to node is governed by a separate, independent model, implemented as a discrete cellular automaton with a fixed, at this stage, five-second time step. This model acts as an execution layer between the planned route and the agent’s actual position, and includes its own, independent hazard-avoidance logic, distinct from the hard exclusion of nodes at the planning level. This is a defence-in-depth architecture, in which physical entry into a fire or intolerable-smoke node is prevented at two independent levels.
The agent’s movement speed depends on the local crowd density at the node the agent currently occupies (Equation 9):
s p e e d a g e n t = m o b i l i t y a g e n t if   c o n g e s t i o n < 0.3 m o b i l i t y a g e n t 1 + c o n g e s t i o n − 0.3 ⋅ 3.0 otherwise .
Speed accumulates as credit at each step. The agent changes node only once the accumulated credit reaches 1.0, after which the credit is reduced by 1.0. This is a mechanism that allows agents with different individual mobility to advance at different effective rates within an equal discrete time step, rather than all agents moving synchronously at every step.
The decision as to which neighboring node is selected as the next position follows a three-level priority hierarchy. First, if the agent is already located in a fire or intolerable-smoke node, escape logic is activated: the agent follows the route recommended by the planner if it points to a neighboring node that is not fire-affected or intolerably smoke-affected. Otherwise, a neighboring node is chosen via a scoring function that gives preference to fully safe nodes over tolerably smoke-affected nodes, and to fire nodes only as a last resort, with an additional penalty for recently visited nodes to prevent persistent oscillation between two neighboring nodes. Second, if the agent is not in danger and a planned route exists, it is followed to the next node along the path, unless that node is fire-affected or intolerably smoke-affected, in which case processing moves to the third level. Third, in the absence of an applicable planned move, direct, local (greedy) selection among the neighboring nodes is applied, based on an attraction scoring function (Equation 10):
a t t r a c t i o n v = w e x i t ⋅ e x i t _ s c o r e v − w d a n g e r ⋅ d a n g e r _ s c o r e v − w c r o w d ⋅ c r o w d _ d e n s i t y v ,
with default weights w e x i t = 2.0 , w d a n g e r = 3.0 , w c r o w d = 1.0 ;the first term e x i t _ s c o r e v is a monotonically decreasing function of the number of hops to the nearest exit (obtained via multi-source breadth-first traversal from all exit nodes), and the second term d a n g e r _ s c o r e v is 1.0 for a fire node, 0.5 for a smoke node, and 0.0 for a safe node. At all three levels of the hierarchy, a choice leading to a fire or intolerable-smoke node from a currently safe position is explicitly prohibited and is confirmed through a separate validation step after all moves for the current step have been determined, before they are applied.
If all an agent’s neighboring nodes are simultaneously on fire, the agent remains at its current position rather than being forced to choose among equally inadmissible options. This is a state corresponding to a section of the graph topologically cut off by the hazard, and it is the threshold condition for the rescue-intervention notification. It is precisely the discrete, stepwise nature of this movement model that explains why an agent already located in a given node at the moment of its sensor classification as fire- or smoke-affected may register brief physical contact with the hazard before the escape mechanism has the opportunity to trigger at the next step.

4. Experiments

4.1. Experimental Setup

The algorithm was evaluated in a simulation environment combining (i) an agent-based crowd-movement model, implemented as a cellular automaton, and (ii) a risk-aware K-shortest-paths planner, which computes K shortest paths over a building connectivity graph weighted by a linear edge-cost model with eight defined parameters (presence of fire, presence of smoke, crowd density, blocked connections, proximity to exit, proximity to fire, geometric distance, constant offset value). The weight vector is calibrated offline via gradient descent on a mean-squared-error-type loss function relative to an “ideal” cost derived from simulated trajectories and is further adapted online through threshold-based updating of a table of node values as new sensor data arrives.
Building topology is described through a hierarchical directed-multigraph connectivity model [1], in which nodes represent spatial elements (rooms, corridors, stairwells) and edges are the doors and openings between them. Unlike the flat graph-based models used in most indoor-navigation systems, the hierarchical representation (building → wing → floor → vertical connectivity) allows a subgraph to be extracted for only the relevant part of the building, without loading the entire topology into memory. This advantage was demonstrated experimentally in the original paper (up to 1,433 times faster than Yen’s algorithm on complete graphs, and 4.7–27 times faster in real building scenarios, relative to the same baseline algorithm). Provision is made for introducing virtual nodes. For example, a virtual target node (outdoors) allows simultaneous search toward multiple admissible exits in a single call to the algorithm.
Hazard (fire and smoke) is modeled dynamically through time series of sensor data, which are fed into the simulation from a file in a stepwise manner and lead to recomputation of the plans for affected agents whenever a significant change in hazard occurs, rather than only once at the start of the simulation.
The fire and smoke dynamics in Scenarios 8–13 are constructed to reflect established fire-safety engineering practice, rather than arbitrarily chosen curves: the growth of heat-release rate follows the t² law [31,32], with a growth class (ultra-fast/fast/medium) determined by the space category; the temperature contribution at each node is computed via the Alpert [33] ceiling-jet correlation; occupant loading per area follows BS 9999 [34] and the occupancy load tables of NFPA 101 [35]; and pre-movement time distributions are aligned with PD 7974-6 [36].
The evaluation covers thirteen scenarios, presented in Table 8, spanning four different buildings and differing in the number of agents, topology, and fire-spread dynamics.
Detailed information for each scenario (objective, building(s), number of agents, fire type and dynamics, smoke type and dynamics) is available in Supplementary Material/docs/SF2_Software_description.pdf.
The Rectorate and University Library buildings are real buildings of the Technical University of Gabrovo (Bulgaria), modeled specifically for the purposes of the present study. The Institute corresponds to a publicly available IFC test model [37], and ZDB corresponds to a real test model for evacuation-route analysis, published by the research team at TU Wien [38] under a Creative Commons Attribution 4.0 license.
A visual overview of the four studied buildings, illustrating the difference in their scale and typology, is shown in Figure 2. For the Institute and for ZDB individually, the corresponding building IFC file serves as the sole source of information — both the 3D geometry and the connectivity graph used by the routing algorithm were extracted from it. For the Rectorate and the Library, the 3D visualization and the connectivity graph are two separate representations, independent of one another, of the same real buildings: the 3D model was built in SketchUp solely for illustration purposes, while the connectivity graph was defined manually.

4.2. Evaluation Metrics

Six metrics were used for the quantitative evaluation of the algorithm, computed from the complete agent-movement log rather than from the planned routes alone, to reflect the executed behavior.
Evacuated (number of evacuated agents). The number of agents that reach the “outdoors” node by the end of the simulation, relative to the total number of agents in the scenario. This information is complemented by Blocked agents — agents for whom the planner found no admissible route and for whom the emergency services are notified.
Mean and maximum evacuation time. The mean and maximum time (in seconds) required successfully evacuated agents to reach an exit. The maximum value is indicative of the worst-case scenario. This is a critical metric for compliance with regulatory evacuation-time requirements.
Number of exits used. The number of distinct exits through which agents left the building, relative to the total number of available exits in the scenario. A low value indicates overloading of a small subset of exits, even given a good mean evacuation time.
Gini coefficient of exit load. Computed according to Equation 11, where the values v i are the numbers of evacuated agents per exit, sorted in ascending order, and n is the number of exits actually used — with one correction: if all evacuated agents used a single exit ( n = 1 ) while the building has more than one registered exit ( N d o o r > 1 ), n is instead set to N d o o r and the count vector is zero-padded with the N d o o r − 1 unused exits before evaluating the sum below. This distinguishes a genuine single-exit building, for which G = 0 is the only possible outcome, from a case where several exits exist but agents happened to concentrate on only one of them.
G = 2 ∑ i = 1 n i ⋅ v i n ⋅ ∑ i = 1 n v i − n + 1 n .
The value of G = 0 corresponds to perfectly uniform loading of all exits; the maximum value ( G → 1 ) corresponds to complete concentration of evacuation on a single exit. A building with only one registered exit trivially yields G = 0 ; by contrast, all agents using only one of several available exits is scored close to G = 1 . This metric is key for assessing the contribution of inter-agent coordination (Section 4.5), since it directly reflects load balance rather than evacuation speed.
Safety-compliance metrics (agents_fire / agents_smoke). The number of evacuated agents whose executed movement path (rather than the planned route) passed through at least one node classified as fire-affected, or respectively smoke-affected, at the moment the agent occupied it. This is computed by matching each agent’s position log against the sensor time series for fire and smoke. This metric is independent of the speed and balance metrics above and is used specifically to verify regulatory compliance.
All metrics are aggregated over twenty Monte Carlo replicates per scenario and configuration (Section 4.3), using the non-parametric Mann–Whitney U test for statistical significance and Cliff’s delta for effect size. This is necessary because normality of the distributions cannot be guaranteed given the small number of agents in some of the scenarios.

4.3. Ablation Configurations

To isolate the contribution of each individual component of the proposed algorithm, an ablation study was conducted with five configurations, distinguished by four independent switches: (1) whether the weight vector is offline-calibrated or set manually to its default values; (2) whether online adaptation of the node-value table is active; (3) the degree of coordination among agents in distributing load across exits; and (4) whether the plan is dynamically recomputed upon a significant change in hazard, or computed once at the start. The five configurations are summarized in Table 9.
PROPOSED is the complete version of the proposed algorithm. STATIC_WEIGHTS isolates the effect of offline calibration and online adaptation on its own, keeping coordination and dynamic replanning unchanged. NO_AGENTS_COORD isolates the effect of coordination on its own, keeping calibration and adaptation active. Here the coordination factor is set to zero, so that each agent plans its route independently of the load on the exits chosen by the other agents. KSP_BASELINE combines both restrictions but retains dynamic replanning. It simulates a standard K-shortest-paths planner with a fixed heuristic, extended solely with a response to hazard changing over time. STATIC_PLAN isolates the contribution of dynamic recomputation on its own. In this case, the plan is computed once at the start of the simulation and is not subsequently updated, regardless of the later development of the fire or smoke
Each of the five configurations was run with twenty Monte Carlo replicates for each of the thirteen scenarios, using identical, paired values of random jitter and density-prediction noise across configurations for a given replicate index. This is a methodological choice that reduces variance in the comparison and allows the observed differences to be directly attributed to the factor under study.

4.4. Sensitivity Analysis

4.4.1. Methodology

To verify the extent to which the proposed linear edge-cost model governs route selection, a One-At-a-Time (OAT) local sensitivity analysis was conducted on the eight calibratable weights, following the methodology recommended in ASTM E1355 [39] for assessing the predictive capacity of deterministic fire models. For each weight, its value is scaled relative to the default value by six factors (0.25, 0.5, 1, 1.5, 2, and 3) while the remaining seven weights are held fixed at their default values. The base case is shared across the sweeps of the individual weights, so the total number of runs per scenario is 41. The analysis was applied across all thirteen scenarios to verify whether the conclusions are specific to a particular topology or generalize (Supplementary Material/results/sensitivity).

4.4.2. Results

The results, summarized in Table 10, show that a substantial share of the eight weights have no measurable effect on the output metrics across the entire range studied.
Flatness is not confined to a particular scenario. The weights fire, smoke, and blocked are systematically flat across all scenarios, regardless of the fire’s characteristics. For example, Scenario 8, in which the fire spreads across three floors, shows an identical flatness pattern to Scenario 10, in which the fire is localized.

4.4.3. Causal Analysis

To determine whether the lack of sensitivity is an implementation defect or architecturally expected behavior, the planner was directly instrumented to trace what happens during each route-planning step. Three distinct, empirically confirmed mechanisms were identified.
Mechanism A: absence of an alternative route. In the scenarios with limited connectivity (1–5, 7), only a single physically feasible route to the exit exists for most agents. A direct test with the fire weight ranging from 2.5 to 30.0 shows an identical total route cost and an identical selected route, since the sole feasible path never passes through a node with a nonzero value for the corresponding feature.
Mechanism B: dominance of a fixed risk-gate over the calibratable cost. The final route selection sorts of candidate routes by a dual key ( r i s k _ l e v e l ,   t o t a l _ c o s t ), where the primary term r i s k _ l e v e l is a separate, hard-coded formula, entirely independent of the eight calibratable weights. The latter enter only into the secondary term t o t a l _ c o s t , which serves solely as a tie-break criterion. Direct instrumentation of all planning points in Scenario 10 (869 agent-replan instances) shows that changing the fire weight from 10.0 to 30.0 changes the total cost in 108 of 869 cases (12%) but never changes the selected route (0 of 869 cases).
Mechanism C: dynamic rather than static fire modeling. The static configuration fields for fire and smoke nodes are empty in all six of the larger scenarios (8–13); fire and smoke enter only dynamically, through the sensor time series, later in the simulation’s timeline. The initial plan, computed at the starting instant t = 0 , is computed under an entirely clean hazard state. The fire and smoke parameters are structurally zero at this planning point, regardless of the value of the corresponding weights.
An illustration of the mixed sensitivity pattern is presented in Figure 3, showing the results for Scenario 10: the panels for fire, smoke, blocked, fire_proximity, and distance are completely flat, while the panels for crowd and bias show a measurable dependence.

4.4.4. Interaction with the Compensating Regulatory-Compliance Correction

The hard exclusion of fire and smoke nodes from the planning graph (introduced for regulatory compliance, Section 5) has a side effect on the sensitivity-analysis results. The reason is a logical consequence of Mechanism A: removing previously generated inadmissible routes reduces the total number of alternative candidate routes, and hence the tie-break opportunities through which these two weights had shown an effect. This is a quantitative picture of the architecture, paid as a necessary price for compliance with regulatory requirements for fire evacuation from buildings

4.4.5. Conclusions

The observed low sensitivity is a consequence of the design decision to use a safety-oriented route-selection criterion. In this case, the calibratable weights act solely as a secondary mechanism with limited scope of influence. This finding directly motivates the content of Section 4.5, in which the comparative Monte Carlo study localizes the real source of result improvement outside weight calibration.
The architectural question of whether a different choice of primary sorting criterion could reveal broader influence of the calibratable weights, without compromising the guaranteed avoidance of fire and smoke, remains an open architectural question, discussed further in Section 6.7.

4.5. Comparative (Monte Carlo) Study

4.5.1. Overview of Results

The aggregated result at the level of the entire sample of thirteen scenarios across five configurations and twenty replicates, a total of 1,300 simulation runs and 260 pairwise comparisons (Supplementary Material/results/mc), is presented in Table 11.
The PROPOSED configuration versus STATIC_WEIGHTS is statistically indistinguishable in practice almost everywhere. This is a direct confirmation of the finding from Section 4.4 (Mechanism B). PROPOSED versus configurations without coordination or without dynamic replanning shows a systematically significant effect. This aggregated result, however, conceals substantial variation among scenarios, which cannot be understood without a breakdown by group, presented in Figure 4 and the following subsections.
For a meaningful interpretation, the scenarios are divided into three groups based on two objective criteria: (1) the source of graph connectivity — manually described (Scenarios 1–8, the Rectorate and Library buildings) versus automatically extracted from IFC (Scenarios 9–13, the Institute and ZDB buildings); and (2) the number of actually accessible exits, which determines whether the load-balance metrics are structurally informative.

4.5.2. Group A: Small Buildings, Manual Connectivity, Limited Exit Choice (Scenarios 1–5)

The results for Group A are summarized in Table 12.
The effect is real and in the correct direction everywhere, but statistical significance is weak and inconsistent. This is not because the mechanism fails to work, but because the sample is structurally limited: with 3–8 agents and 20 replicates per configuration, the distribution of “which agent through which exit” has too few possible outcome states to allow the Mann–Whitney test to consistently reject the null hypothesis. This is a statistical-power effect rather than an absence of a real effect. This is confirmed by the fact that the effect size remains comparable in magnitude to that in the larger groups, while the p-value is unstable due to the small size of the sample of possible outcome configurations.

4.5.3. Group B: Larger Buildings, Manual Connectivity, Rich Exit Choice (Scenarios 6–8)

The results for Group B, summarized in Table 13, show the strongest and statistically cleanest effect of the entire dataset.
Cliff’s delta reaches a value of 1.00 (complete separation of the distributions) for the Gini coefficient and the number of exits relative to the three uncoordinated configurations. The reason is direct: with 32–64 agents and 7–8 accessible exits in a richly connected topology, the coordination mechanism has enough agents and alternative exits available to display its full potential for load balancing. An illustration for the representative Scenario 6 is shown in Figure 5.
An important trade-off is also observed. In this group, PROPOSED shows a higher, not lower, mean evacuation time (27.17 s versus 24.98 s) relative to the uncoordinated configurations, despite a significantly better distribution across exits. This is an expected trade-off between speed and load fairness. Coordination deliberately diverts some agents from the nearest, but potentially overloaded, exit toward a more distant but less occupied one, which increases the individual path length for some agents in exchange for a lower risk of congestion at the most heavily used exit.

4.5.4. Group C: IFC-Derived Connectivity, Large Buildings (Scenarios 9–13)

The results for Group C are summarized in Table 14.
Unlike Group B, in the representative Scenario 10, coordination improves the Gini coefficient (0.231 versus 0.456 for NO_AGENTS_COORD) without paying a cost in higher mean time (120.77 s versus 121.57 s). This difference relative to Group B is due to scale: with 48–120 agents and a more complex topology, the available buffer of alternative routes is large enough to allow load balancing without materially lengthening the individual path of any agent. The distribution of evacuated agents across exits for Scenario 10 specifically, under the PROPOSED configuration, is shown in Figure 6. The plotted data represent direct console output from the simulation script (dynamic_simulation.py) and illustrate, at the level of individual agents, how the coordination mechanism distributes the load among the six available exits of the ZDB building, rather than concentrating it on the nearest one.
The strongest and most consistent result across the entire study is for maximum evacuation time (5/5 significant scenarios relative to NO_AGENTS_COORD and STATIC_PLAN, δ≈0.75). Dynamic replanning is especially critical precisely in this group, because larger, more complex buildings entail longer evacuation times, during which a significant change in hazard requiring plan recomputation is statistically more likely to occur.
Scenario 9 is an exception within the group: the building is constructed with a single physically accessible exit, so the Gini coefficient is trivially 0.0 for each of the five configurations, in every one of the twenty replicates, without exception. The Mann–Whitney test on two identical constant samples is not informative. This scenario was deliberately included in the study design to test the algorithm’s behavior under a topology devoid of choice. The result confirms that the algorithm does not create artificial variation where no physical choice exists.

4.5.5. Conclusions

The three groups, considered together, trace a consistent picture, in agreement with the architectural analysis from Section 4.4. Calibration of the weight vector shows no measurable effect in any of the three groups — a confirmation of Mechanism B at the level of final simulation results. Coordination and dynamic replanning show an effect whose strength increases monotonically with the size of the sample of possible outcome configurations, as expected from a statistical standpoint. The trade-off between speed and load balance is scale-dependent — noticeable in Group B for smaller, denser buildings, practically absent in Group C at larger scale. The sole structural exception, Scenario 9, is fully explainable by the building’s topology.
Whether an alternative route-ranking criterion changes the balance between coordination and calibration established above is documented in the study’s supplementary material.

5. Verification of Regulatory Compliance

5.1. Regulatory Requirement

Besides effectiveness, an evacuation algorithm intended for real-world operation must meet a categorical regulatory requirement arising from Regulation No. Iz-1971 [40]: agents must not be routed along a path passing through a node with an active fire, nor through a smoke-affected node. To verify that the proposed architecture guarantees this in practice, a targeted audit of the planner’s code was conducted, followed by quantitative verification against the actual simulation logs.

5.2. Mechanism for Excluding Fire and Smoke Nodes

The planner applies a single, unified principle of hard exclusion of hazardous nodes from the planning graph, applied symmetrically for both smoke and fire. The prohibition on passing through smoke nodes can be disabled programmatically. Smoke is excluded through a tolerance-checking mechanism configured to a strict zero value. This means that any node classified as smoke-affected drops out of the graph at every (re)planning cycle. The same principle applies to all nodes with an active fire: they do not participate in route search as candidates for traversal, regardless of the computed cost of alternative paths. In this way, the selected route is guaranteed to be free of fire and smoke nodes at every moment of planning, not merely in the statistically more likely case.

5.3. Handling of a Starting Position Within a Hazardous Zone

When an agent is in a node that, at a given moment, is classified as fire- or smoke-affected, the planner activates logic to move the search’s starting point to the safest neighboring node. In this case, the abandoned node (the agent’s former position) is also excluded from the graph for the purposes of the subsequent search. This guarantees that the route cannot subsequently pass back through it at a later step. The combination of the two mechanisms ensures that the recommended route never contains a fire or smoke node—neither as an intermediate point nor through a return to an already-vacated hazardous position.

5.4. Verification

Verification was conducted at two levels. An audit of the recommended route, applied across all thirteen scenarios, shows zero instances of a fire or smoke node in the recommended route after the correction, including Scenario 10. An audit of the executed movement—a stricter test, based on the agents_fire and agents_smoke metrics from Section 4.2. The result shows zero incidents across all one hundred runs (five configurations, each with twenty replicas) for twelve of the thirteen scenarios, summarized in Table 15.

5.5. Boundary Case (Scenario 12)

Scenario 12 is the only exception in Table 15: on average, about two evacuated agents per run show physical contact with fire or smoke during their movement. The number of incidents is virtually identical for all five ablation configurations in each of the twenty replicates — a strong indication that the cause lies outside the scope of the planner’s decisions, since if the number of incidents depended on route selection, the better-coordinated configurations would show a lower number.
A direct check of the position log confirmed this hypothesis: in every one of the affected cases, the agent was already located in the affected node at the moment the sensor system classified it as fire- or smoke-affected, since the agent’s position before and after classification coincides. The agent did not “enter” the hazard because of a routing decision but was overtaken by it in place. The reason is the speed of fire spread in this configuration is related to the sensor-check interval, illustrated in Figure 7. In this scenario, the agent physically does not have time to leave the node between the moment of detection and the moment of classification.

5.6. Tool for Interactive 3D Auditing of a Selected Route

In addition to the quantitative verification in the preceding subsections, the system includes a tool for interactive 3D reconstruction of the route of an arbitrarily selected agent in an arbitrarily selected scenario (the evacuation_3d_visualizer.py module, which uses building geometry extracted from the IFC model via the ifc_geometry_extractor.py module). An example of the evacuation path of agent Z001 in Scenario 11 (ZDB building) is shown in Figure 8.
The tool animates the agent’s movement through the building space, as well as the development of fire and smoke in the rooms. The higher the temperature or the higher the smoke concentration, the redder or whiter the color of the rooms.
The tool shows not only the final selected path but also the sequence of specific spaces and doors through which the agent passes (the “Actual route” panel), as well as an option to visualize the moments of route replanning (“Show replanning”)—a direct visual link to dynamic recomputation. It is available only for scenarios involving buildings with an available IFC model (Scenarios 9–13), since it requires a geometric envelope extracted from the BIM data.

5.7. Conclusion

It has been verified across all thirteen scenarios that the route recommended by the planner never contains a fire or smoke node. The sole class of recorded incidents involving physical contact between an agent and fire or smoke has a purely physical origin. It arises when the agent is already located in a node at the moment it is classified as hazardous, rather than because of a routing decision.

6. Discussion

6.1. Analysis of the Results

The three independent lines of analysis converge into a single, consistent explanation rather than three separate observations: the sensitivity analysis (Section 4.4), the comparative Monte Carlo study (Section 4.5), and the regulatory-compliance verification (Section 5). The reason all eight of the eight calibratable weights show limited sensitivity is the same reason weight-vector calibration shows no statistically measurable contribution to any output metric in the comparative study: the lexicographic criterion s o r t _ k e y = r i s k _ l e v e l ,   t o t a l _ c o s t (Equation 6a) guarantees that the calibratable cost decides only between routes that are already equally safe. This architectural feature is also the premise on which the regulatory-compliance mechanism from Section 5 is built. The hard exclusion of fire and smoke nodes from the planning graph operates independently of any weight configuration, which explains why the verification in Section 5.4 finds not a single violation in any of the five ablation configurations.
The real, statistically confirmed contribution of the proposed algorithm stems from two mechanisms distinct from weight calibration: coordination among agents through virtual load, and dynamic route recomputation upon a change in hazard. Both mechanisms bypass the lexicographic risk-gate, since they do not participate in determining r i s k _ l e v e l . Coordination affects the distribution of agents among exits that are already equally safe, while dynamic replanning responds to a change in the hazard classification itself, rather than to a change in the calibrated cost.

6.2. Architectural Conclusions

The finding from Section 4.4 has significance beyond the specific implementation examined in this paper. Any evacuation-route-selection architecture that applies a hard, priority safety criterion (as r i s k _ l e v e l does in the present system) ahead of a calibratable cost component structurally limits the extent to which that component can influence the final decision, regardless of how precisely it is calibrated. This is not a shortcoming. On the contrary, a system in which a calibratable component could override a risk assessment would represent a more substantial safety risk, since an error or drift in calibration could directly lead to a more dangerous choice. The architectural decision applied in the present system follows a safety-first principle, familiar from other areas of critical-systems engineering: the learned or calibratable components are permitted to optimize only within the bounds already set by a deterministic safety criterion.
The practical implication for researchers working with similar systems is methodological: demonstrating that a calibrated or “trained” component of a given system has no measurable effect on the result is not necessarily an indication of a calibration error or of unsuitable training data. It can be a direct, verifiable consequence of the architecture in which the component is embedded, as shown empirically in Section 4.4.3 through direct instrumentation of the algorithm rather than merely observation of the aggregated results.

6.3. Coordination Design

The results from Section 4.5 reveal a trade-off between evacuation speed and load uniformity across exits, whose direction and magnitude depend on building scale. In smaller buildings (Group B, Section 4.5.3), coordination substantially improves load balance (Cliff’s delta up to 1.00) at the cost of a higher mean evacuation time. Agents are deliberately redirected from a nearby but potentially overloaded exit toward a more distant but less occupied one. In larger buildings with richer topology (Group C, Section 4.5.4), the same mechanism improves load balance at practically no cost in mean time, since the available buffer of alternative routes is large enough to absorb the redistribution without materially lengthening individual paths.
Further analysis of the variance of maximum evacuation time (a metric reflecting the predictability of the worst-case evacuation outcome, not merely its mean duration) reveals a third, separate benefit of coordination and dynamic replanning, most pronounced in the largest-scale scenarios. In Scenarios 11 and 12, the standard deviation of the maximum evacuation time under PROPOSED is 4.26 s and 4.87 s respectively, versus 11.68 s and 23.68 s for the uncoordinated, statically weighted baseline algorithm (KSP_BASELINE)—a reduction on the order of 3 to 5 times (see Figure 9). This pattern is not universal across all thirteen scenarios (PROPOSED shows the lowest variance in eight of thirteen scenarios), but it appears systematically precisely in the scenarios where predictability of emergency-response time is practically essential.
The practical implication for deployment is that the value of the coordination coefficient λ (Equation 8) probably should not be a fixed universal constant, but a parameter whose calibration accounts for the scale and topology of the specific building. This is a conclusion that the present study formulates based on the observed dependence across scenario groups, but does not test directly through a dedicated sensitivity analysis on λ.

6.4. Regulatory Compliance

Section 5 empirically verifies a single, albeit central, regulatory requirement: avoidance of fire and smoke nodes along the route. Beyond this check, the individual mechanisms of the algorithm described in Section 3 are, by design, consistent with a broader set of requirements from the applicable regulatory framework, summarized in Table 16. Unlike Section 5, the correspondences in this table are not subject to separate quantitative verification in the present study and should be regarded as documented design justification rather than as an additional, independently tested result.

6.5. Computational Considerations

The proposed algorithm uses a value of K=5. A direct comparison with a larger, but practically applicable, value (K=200) shows that, for twelve of the thirteen scenarios, the number of evacuated agents remains completely identical to that at K=5, while the runtime of a single execution of the algorithm increases by approximately a factor of 12. In the single scenario with a measurable difference in outcome (Scenario 9), K=200 yields one fewer evacuated agent, not more. This is a counterintuitive result, but explainable by the fact that, with a significantly larger number of candidate routes sharing the same minimal primary value r i s k _ l e v e l , the secondary tie-break criterion t o t a l _ c o s t begins choosing among a much wider set of practically equivalent alternatives, which can lead to different, but not necessarily better, coordination among agents in a topology with a single critical congestion point.
This finding suggests that, for an architecture with a lexicographic risk-gate criterion (Section 3.5), increasing K beyond a value sufficient to cover the diversity of routes with different primary values r i s k _ l e v e l incurs mainly computational cost, without a corresponding improvement in the quality of the final choice. This is because the additional candidate paths typically differ only in the secondary term t o t a l _ c o s t , a criterion with limited influence on the outcome (Section 4.4.3, Mechanism B). A practical recommendation for systems with similar architecture is that K should be determined empirically, through comparison of the output metrics at increasing values, rather than accepting the value specified in a configuration file without verification.

6.6. Limitations of the Study

Validation through simulation only. All results presented in Section 4 stem from a simulation environment with a crowd-movement model implemented as a cellular automaton, rather than from observations of a real evacuation or a controlled drill with human participants. The absolute values of evacuation time should not be interpreted as a direct prediction of real-world behavior during a fire; the comparative conclusions between configurations (Section 4.5) are more robust, since they rely on a paired, controlled comparison under identical hazard conditions, but they remain bound by the assumptions of the movement model.
Latency of sensor detection. The boundary case in Scenario 12 (Section 5.5) shows that the interval between the physical onset of a hazard and its sensor-based classification can exceed the time needed for an affected agent to voluntarily leave the node. The present study characterizes this effect quantitatively but does not test alternative, more frequent sensor-checking intervals, which could reduce the frequency of such cases at the cost of higher computational load.
Statistical power for small scenarios. Group A (Section 4.5.2) shows an effect size comparable in magnitude to that in the larger groups, but statistically unreliable significance, due to the limited number of possible outcome configurations with 3–8 agents. The conclusions regarding the presence of a real effect in this group are based on consistency with the larger groups rather than on standalone statistical significance.
Scope of the buildings studied. The thirteen scenarios cover four buildings, represented through two different topology-extraction methods (manual description and automatic extraction from IFC). Generalizability of the findings to buildings with fundamentally different topology (for example, very tall buildings with a central stairwell core, or buildings with irregular, non-hierarchical connectivity) has not been tested directly.
Single regulatory jurisdiction. The conformities documented in Section 6.4 are based on European regulations. The applicability of the same mechanisms to jurisdictions with different requirements (for example, different minimum standards for the number of independent exits, or different smoke-tolerance criteria) requires separate verification against the corresponding local regulations.

6.7. Directions for Future Research

Whether the lexicographic route-sorting criterion (TWO_TIER) should be reconsidered in favor of an alternative formulation remains an open architectural question, as discussed in the study’s supplementary material. Such a change directly affects a decision related to human safety and should be the subject of a dedicated development effort involving a certifying fire-safety engineer, rather than a unilateral algorithmic decision.
The dependence of the trade-off between speed and load fairness on building scale (Section 6.3) motivates a dedicated sensitivity analysis on the coordination coefficient λ, analogous to the one conducted for the eight calibratable weights, with the aim of deriving a recommendation for its value as a function of the number of agents and the number of available exits, rather than a single fixed constant.

7. Conclusion

The present paper introduced a fully deterministic approach to intelligent fire-evacuation support in multi-storey buildings. The system combines continuous multi-sensor risk assessment with hysteresis, a calibrated composite model for graph-edge costs, a threshold-based table for adaptive node priority, multi-agent coordination through virtual load, and a cellular automaton for modeling evacuee movement. Not a single trainable or “black-box” component is used, with the aim of full traceability, auditability, and compliance with fire-safety regulatory requirements.
The evaluation, conducted across thirteen scenarios in four real buildings (the Rectorate, the University Library, the Institute, and the ZDB building) with up to 120 agents per scenario, shows that offline calibration of the weight vector makes no statistically measurable contribution to the final results — architecturally explained by the lexicographic risk-gate criterion, which subordinates the calibratable cost to a hard safety priority. The real, statistically significant contribution stems from coordination among agents and dynamic route recomputation upon a change in hazard: the combination of the two mechanisms achieves up to 2.7–4.9 times lower standard deviation of maximum evacuation time relative to an uncoordinated baseline algorithm in the largest-scale scenarios. This is a result of direct practical significance for the predictability of emergency response time.
Verification of regulatory compliance confirms that the recommended route never contains a fire or smoke node across all thirteen scenarios. The sole recorded class of incidents involving physical contact with fire or smoke has a purely physical origin (sensor latency under exceptionally rapid fire spread in a specific scenario) and is handled correctly through an immediate emergency-services notification mechanism.
These results demonstrate that adaptivity to dynamically evolving fire scenarios is achievable without trainable or hard-to-verify components. This is an architectural choice that ensures full traceability of every evacuation decision and constitutes a prerequisite for practical certification of such systems in safety-critical environments.
Future work will be directed toward integration with high-fidelity CFD models for fire and smoke spread, the use of real-time real IoT sensor streams, extending the system to large-scale, multi-building evacuation scenarios, a dedicated sensitivity analysis of the coordination coefficient relative to building scale, and extending the quantitative verification of regulatory compliance to the full set of requirements documented in the regulatory-positioning table.

Supplementary Materials

The following supporting information can be downloaded at: https://.../s1, software (code folder): contains the Python code used to generate all results (23 Python files); results (folder with all results): contains output files in JSON format with results generated by the software; docs (documents folder): contains three PDF files with project structure, software description, and 3D visualizer description.

Funding

This research received no external funding.

Data Availability Statement

The source code, configuration files, sensor input data, and simulation outputs supporting the findings of this study are openly available as Supplementary Material accompanying this article.

References

  1. Ivanov, R. An Algorithm for On-the-Fly K Shortest Paths Finding in Multi-Storey Buildings Using a Hierarchical Topology Model. Int. J. Geogr. Inf. Sci. 2018, 32, 2362–2385. [Google Scholar] [CrossRef]
  2. Qi, X.; Li, X.; Zhang, J.; Song, W. Pedestrian Evacuation in Fire Environments: Scientometric Analysis and Systematic Evaluation. Phys. A 2026, 131323. [Google Scholar] [CrossRef]
  3. Muthukumar, S.; Rajesh, S.; Talpallikar, A.; Mishra, T.K. A Systematic Review of Artificial Intelligence Frameworks for Holistic Disaster Management. Discov. Artif. Intell. 2026, 6, 308. [Google Scholar] [CrossRef]
  4. Leong, C.S.; Lau, S.H.; Liew, H.H. Conceptual Fire Risk Management Framework of Building Information Modeling and Fire Dynamic Simulator †. Engineering Proceedings, 2025. [Google Scholar] [CrossRef]
  5. Zhang, Q.; Hu, Y.; Li, X. Research on Fire Scenario Analysis and Emergency Response Strategies for L-Shaped Buildings Using FDS. PLoS ONE 2026, 21, e0346927. [Google Scholar] [CrossRef] [PubMed]
  6. Sharma, J.; Andersen, P.A.; Granmo, O.C.; Goodwin, M. Deep Q-Learning with Q-Matrix Transfer Learning for Novel Fire Evacuation Environment. IEEE Trans. Syst. Man. Cybern. Syst. 2021, 51, 7363–7381. [Google Scholar] [CrossRef]
  7. Feng, Z.; Wang, C.; An, J.; Zhang, X.; Liu, X.; Ji, X.; Kang, L.; Quan, W. Emergency Fire Escape Path Planning Model Based on Improved DDPG Algorithm. J. Build. Eng. 2024, 95. [Google Scholar] [CrossRef]
  8. Fang, H.; Tam, W.C.; Lovreglio, R.; Emon, M.I.S.; Huang, M.X. Development of a Tenability-Based Path Planning Model for Building Fire Evacuations Using Reinforcement Learning. J. Build. Eng. 2026, 118. [Google Scholar] [CrossRef]
  9. Sun, L.; Liu, H.; Fan, B.; Li, X.; Li, W. Multi-Agent Deep Reinforcement Learning-Based Path Planning for Crowd Evacuation in Buildings. J. Build. Eng. 2025, 111. [Google Scholar] [CrossRef]
  10. Xie, C.Z.T.; Chen, Q.; Zhu, B.; Lee, E.W.M.; Tang, T.Q.; Yin, X.; Yuan, Z.; Zhang, B. Coordinating Dynamic Signage for Evacuation Guidance: A Multi-Agent Reinforcement Learning Approach Integrating Mesoscopic Crowd Modeling and Fire Propagation. Chaos Solitons Fractals 2025, 194. [Google Scholar] [CrossRef]
  11. Omidbeyk, S.; Ghavami, S.M. Multi-Agent Simulation of Population Evacuation during Dynamic Fire Using Reinforcement Learning Based on Integration of Geographic Information Systems and Building Information Modeling. J. Build. Eng. 2025, 111. [Google Scholar] [CrossRef]
  12. Deng, H.; Fan, Z.; Wei, X.; Deng, Y. An Ontology-Based Approach to Dynamic Indoor Fire Emergency Evacuation Path Planning with BIM Integration. J. Build. Eng. 2025, 106. [Google Scholar] [CrossRef]
  13. Jiang, S.; Wei, Y.; Zhang, B. Fire Evacuation Design Optimization of Public Buildings Based on Building Information Modeling Semantic Enrichment for Fire Simulation Requirements. Reliab. Eng. Syst. Saf. 2026, 113173. [Google Scholar] [CrossRef]
  14. Shih, G.R.; Tsai, P.H. Safest-Path Planning Approach for Indoor Fire Evacuation. Int. J. Disaster Risk Reduct. 2023, 93. [Google Scholar] [CrossRef]
  15. Guan, W.; Hou, S.; Yu, G.; Gong, H.; Guan, S.; Zhao, J. Dynamic Evacuation Path Planning for Multi-Exit Building Fire: Bi-Objective Model and Algorithm. Fire Technol. 2023, 59, 2853–2876. [Google Scholar] [CrossRef]
  16. Yen, H.H.; Lin, C.H.; Tsao, H.W. Novel Smoke-Aware Individual Evacuation and Congestion-Aware Group Evacuation Algorithms in IoT-Enabled Multi-Story Multi-Exit Buildings. IEEE Access 2022, 10, 119402–119418. [Google Scholar] [CrossRef]
  17. Li, N.; Huang, G.; Jiang, H.; Gao, X.; Zhou, L. Fire Propagation-Driven Dynamic Intelligent Evacuation Model in Multifloor Hybrid Buildings. Adv. Eng. Inform. 2023, 57. [Google Scholar] [CrossRef]
  18. Bai, J.; Lv, X.; Nie, L.; Fang, M. Evacuation Route Determination in Indoor Architectural Environments Based on Dynamic Fire Risk Assessment. Buildings 2025, 15. [Google Scholar] [CrossRef]
  19. Xu, L.; Huang, K.; Liu, J.; Li, D.; Chen, Y.F. Intelligent Planning of Fire Evacuation Routes Using an Improved Ant Colony Optimization Algorithm. J. Build. Eng. 2022, 61. [Google Scholar] [CrossRef]
  20. Zhang, Y.Q.; Wang, J.H.; Wang, Y.; Jia, Z.C.; Sun, Q.; Pei, Q.Y.; Wu, D. Intelligent Planning of Fire Evacuation Routes in Buildings Based on Improved Adaptive Ant Colony Algorithm. Comput. Ind. Eng. 2024, 194. [Google Scholar] [CrossRef]
  21. Zuo, S.; Mao, Z.; Fan, C.; Chen, X.; Gong, M.; Ren, J.; Fan, X.; Guo, Y. Dynamic Planning of Crowd Evacuation Path for Metro Station Based on Dynamic Avoid Smoke A-Star Algorithm. Tunn. Undergr. Space Technol. 2024, 154. [Google Scholar] [CrossRef]
  22. Golshani, F.; Fang, L. A Fire Navigation Model: Considering Travel Time, Impact of Fire, and Congestion Severity. Reliab. Eng. Syst. Saf. 2025, 259. [Google Scholar] [CrossRef]
  23. Shi, J.; Li, M.; Jiang, N.; Yu, H.; Yang, H.; Zhou, X.; Yang, L. A Multi-Agent Deep Reinforcement Learning Model for Crowd Coordinated Evacuation Simulation in Complex Environments. Simul. Model. Pract. Theory 2026, 147. [Google Scholar] [CrossRef]
  24. Yu, A.; Bu, H.; Luan, T.; Gai, W. Integrated Multi-Agent-Based Outpatient Building Fire Response Modeling for Risk-Driven Resource Use and Retrofitting Strategies: A Case Study. Reliab. Eng. Syst. Saf. 2025, 260. [Google Scholar] [CrossRef]
  25. Bahmani, H.; Ao, Y.; Yang, D.; Xu, Q.; Zhao, J. Enhancing Evacuation Safety in Urban Primary Schools: An Agent-Based Model Integrating Child Development Behaviour and Health Dynamics. Reliab. Eng. Syst. Saf. 2026, 265. [Google Scholar] [CrossRef]
  26. Saravanan, T.; Singhal, U.; Magadum, N.; Ramasamy, P.; Paramanandam, K. AI-Driven Crowd Behavior Simulation for Emergency Evacuation Management. In International Conference on Data Science and Applications; Springer Nature Switzerland: Cham, Switzerland, 2025; pp. 65–78. [Google Scholar] [CrossRef]
  27. Yang, S.; Ceferino, L.; Zhang, Y.; Gu, C.; Guo, T.; Kondo, G. When Agents Learn to Think: Large Language Model-Enhanced Agent-Based Modeling for Crowd Evacuation in Disaster Scenarios. Reliab. Eng. Syst. Saf. 2026, 269. [Google Scholar] [CrossRef]
  28. Lin, J.R.; Chen, K.Y.; Song, S.Y.; Cai, Y.H.; Pan, P.; Deng, Y.C. Digital Twin of Buildings and Occupants for Emergency Evacuation: Framework, Technologies, Applications and Trends. Adv. Eng. Inform. 2025, 66. [Google Scholar] [CrossRef]
  29. Pishahang, M.; Ruiz-Tagle, A.; Ramos, M.A.; Droguett, E.L.; Mosleh, A. A Bayesian Agent-Based Model and Software for Wildfire Safe Evacuation Planning and Management. Proceedings of the Institution of Mechanical Engineers, Part O: Journal of Risk and Reliability 2025, 239, 515–534. [Google Scholar] [CrossRef]
  30. Sun, H.; Chen, M.; Zhang, Y.; Zhang, T.; Hu, P.; Ye, X.; et al. EvacuNet: An Intelligent Decision Support Framework for Real-Time Evacuation Assessment in Complex Buildings. Expert Syst. Appl. 2026, 132898. [Google Scholar] [CrossRef]
  31. National Fire Protection Association. NFPA 92: Standard for Smoke Control Systems; NFPA: Quincy, MA, USA, 2024; Available online: https://www.nfpa.org/codes-and-standards/nfpa-92-standard-development/92 (accessed on 18.08.2026).
  32. European Committee for Standardization. EN 1991-1-2:2002: Eurocode 1 — Actions on Structures — Part 1-2: General Actions — Actions on Structures Exposed to Fire; CEN: Brussels, Belgium, 2002. [Google Scholar]
  33. Alpert, R.L. Calculation of Response Time of Ceiling-Mounted Fire Detectors. Fire Technol. 1972, 8, 181–195. [Google Scholar] [CrossRef]
  34. British Standards Institution. BS 9999:2017: Fire Safety in the Design, Management and Use of Buildings — Code of Practice; BSI: London, UK, 2017; Available online: https://knowledge.bsigroup.com/products/fire-safety-in-the-design-management-and-use-of-buildings-code-of-practice (accessed on 18.08.2026).
  35. National Fire Protection Association. NFPA 101: Life Safety Code; NFPA: Quincy, MA, USA, 2024; Available online: https://www.nfpa.org/product/nfpa-101-life-safety-code/p0101code/nfpa-101-life-safety-code-2024/10124 (accessed on 18.08.2026).
  36. British Standards InTablestitution. PD 7974-6:2019: Application of Fire Safety Engineering Principles to the Design of Buildings — Part 6: Human Factors: Life Safety Strategies — Occupant Evacuation, Behaviour and Condition; BSI: London, UK, 2019; Available online: https://knowledge.bsigroup.com/products/application-of-fire-safety-engineering-principles-to-the-design-of-buildings-human-factors-life-safety-strategies-occupant-evacuation-behaviour-and-condition-sub-system-6 (accessed on 18.08.2026).
  37. Karlsruhe Institute of Technology; Institute for Automation and Applied Informatics. AC20-Institute-Var-2 [IFC Test Model]; IfcWiki, 2017. Available online: https://www.ifcwiki.org/images/9/98/AC20-Institute-Var-2.ifc (accessed on 18.08.2026).
  38. Fischer, S.; Schranz, C.; Urban, H.; Pfeiffer, D.; Flamm, L. Real-World Test Model for Escape Route Analysis in IFC Format (Version 2.0.0) [Data Set]; TU Wien, 2024. [Google Scholar] [CrossRef]
  39. ASTM International. ASTM E1355-23: Standard Guide for Evaluating the Predictive Capability of Deterministic Fire Models; ASTM International: West Conshohocken, PA, USA, 2023; Available online: https://store.astm.org/e1355-23.html (accessed on 18.08.2026).
  40. Ministry of Regional Development and Public Works. Regulation No. Iz-1971 on Construction-Technical Rules and Standards for Ensuring Fire Safety. 2009. (in Bulgarian). Available online: https://www.mrrb.bg/bg/naredba-z-1971-ot-29-oktomvri-2009-g-za-stroitelno-tehnicheski-pravila-i-normi-za-osiguryavane-na-bezopasnost-pri-pojar/ (accessed on 18.08.2026).
Figure 1. Algorithmic architecture of the proposed system.
Figure 1. Algorithmic architecture of the proposed system.
Preprints 229727 g001
Figure 2. 3D views of the four studied buildings: a) Rectorate, b) University Library, c) Institute, d) ZDB.
Figure 2. 3D views of the four studied buildings: a) Rectorate, b) University Library, c) Institute, d) ZDB.
Preprints 229727 g002aPreprints 229727 g002b
Figure 3. OAT local sensitivity analysis for the eight calibratable weights, Scenario 10. Flat panels (constant line) indicate the absence of a measurable effect across the entire range studied.
Figure 3. OAT local sensitivity analysis for the eight calibratable weights, Scenario 10. Flat panels (constant line) indicate the absence of a measurable effect across the entire range studied.
Preprints 229727 g003
Figure 4. PROPOSED versus each baseline configuration by number of evacuated agents, for all thirteen scenarios (W = statistically significant win, -- = no significant difference, p<0.05).
Figure 4. PROPOSED versus each baseline configuration by number of evacuated agents, for all thirteen scenarios (W = statistically significant win, -- = no significant difference, p<0.05).
Preprints 229727 g004
Figure 5. Gini coefficient of exit load, by configuration, for Scenario 6 (values averaged over 20 Monte Carlo replicates).
Figure 5. Gini coefficient of exit load, by configuration, for Scenario 6 (values averaged over 20 Monte Carlo replicates).
Preprints 229727 g005
Figure 6. Distribution of evacuated agents across exits for Scenario 10 (ZDB building), extracted from the console output of dynamic_simulation.py for a single illustrative run.
Figure 6. Distribution of evacuated agents across exits for Scenario 10 (ZDB building), extracted from the console output of dynamic_simulation.py for a single illustrative run.
Preprints 229727 g006
Figure 7. Temporal dynamics of fire and smoke spread across nodes for Scenario 12, showing the rapid transition from smoke (orange) to active fire (red) at each individual node.
Figure 7. Temporal dynamics of fire and smoke spread across nodes for Scenario 12, showing the rapid transition from smoke (orange) to active fire (red) at each individual node.
Preprints 229727 g007
Figure 8. Interactive 3D reconstruction of the actual route of agent Z001 in Scenario 11 (ZDB building), with fire and smoke nodes marked, the actual sequence of doors and spaces traversed, and a slider for time animation and elevation range.
Figure 8. Interactive 3D reconstruction of the actual route of agent Z001 in Scenario 11 (ZDB building), with fire and smoke nodes marked, the actual sequence of doors and spaces traversed, and a slider for time animation and elevation range.
Preprints 229727 g008
Figure 9. Mean versus standard deviation of maximum evacuation time, by configuration, for all thirteen scenarios with available Monte Carlo results.
Figure 9. Mean versus standard deviation of maximum evacuation time, by configuration, for all thirteen scenarios with available Monte Carlo results.
Preprints 229727 g009
Table 1. Comparison of the proposed approach with representative methods from literature.
Table 1. Comparison of the proposed approach with representative methods from literature.
Approach Dynamic evacuation Logic type Explainability Graph structure Real time Multi-agent coordination Potential for regulatory compliance
Classical routing algorithms [14,15] Partial Deterministic (rule-based) High Yes Limited No High
ACO/A*/risk-oriented approaches [16,18,19,20,21] Yes Deterministic (rule-based) Medium Yes Yes No Medium
Single-agent Reinforcement Learning [6,7,8] Yes Trainable Low No Yes No Low
Multi-Agent Reinforcement Learning [9,10,11] Yes Trainable Low Partial Yes Yes Low
BIM/FDS [4,5,12] Partial Deterministic (rule-based) High Yes Limited No Medium
Integrated AI platforms [26] Yes Trainable Low Yes Yes Partial Low
Proposed approach Yes Deterministic High Yes Yes Yes High
Table 2. Maximum crowding capacity by node type, used for density normalization.
Table 2. Maximum crowding capacity by node type, used for density normalization.
Node type Maximum capacity (people)
Corridor 20
Stairwell 10
Room 15
Elevator 8
Safe zone (exit) 100
Undefined type (default) 15
Table 3. Sensor-type confidence weights are used in the aggregation of fire risk and smoke risk.
Table 3. Sensor-type confidence weights are used in the aggregation of fire risk and smoke risk.
Sensor type Fire weight Smoke weight
Temperature 0.95 0.70
Smoke 0.70 0.85
CO₂ 0.40 0.80
Crowd 0.00 0.00
Table 4. Hysteresis thresholds for classifying a node as fire-affected or smoke-affected.
Table 4. Hysteresis thresholds for classifying a node as fire-affected or smoke-affected.
Hazard type Entry threshold Exit threshold
Fire risk ≥ 0.45 risk < 0.30
Smoke risk ≥ 0.25 risk < 0.15
Table 5. Eight-dimensional feature vector f computed for each edge of the graph.
Table 5. Eight-dimensional feature vector f computed for each edge of the graph.
Index Feature Semantics
f₀ bias Constant base cost per hop (minimum number of steps)
f₁ fire_risk Continuous fire risk score (or 0.9 for a binary indicator)
f₂ smoke_risk Continuous smoke risk score (or 0.5 for a binary indicator)
f₃ crowd_density Crowd density at the node, [0,1]
f₄ blocked 1.0 if the connecting door is marked as blocked
f₅ exit_bonus 1.0 if the node is an exit
f₆ fire_proximity 1.0 − normalized distance to the nearest fire node
f₇ distance Geometric distance along the edge, normalized to 5 meters
Table 6. Default weight vector for the edge-cost model.
Table 6. Default weight vector for the edge-cost model.
Weight Feature Value Direction of effect
w ₀ bias 1.0 Minimum cost per hop
w ₁ fire_risk 10.0 Higher value → stronger avoidance of fire nodes
w ₂ smoke_risk 5.0 Higher value → stronger avoidance of smoke-affected nodes
w ₃ crowd 3.0 Higher value → stronger avoidance of congested nodes
w ₄ blocked 15.0 Higher value → stronger avoidance of blocked doors
w ₅ exit_bonus −2.0 Negative value → attracts toward exit nodes
w ₆ fire_proximity 5.0 Higher value → earlier, anticipatory avoidance of fire zones
w ₇ distance 0.5 Higher value → preference for geometrically shorter paths
Table 7. Threshold-based corrections to the online table of node values P ( n o d e ) .
Table 7. Threshold-based corrections to the online table of node values P ( n o d e ) .
Event Correction to P(node)
The node is in a fire zone −15.0
The node is in a smoke-affected zone −5.0
The node is a free exit +10.0
The node is overcrowded −3.0
Table 8. Overview of the thirteen evacuation scenarios used for the experimental evaluation.
Table 8. Overview of the thirteen evacuation scenarios used for the experimental evaluation.
No. Building Agents Nature of the hazard
1 Rectorate, 3rd floor 5 Cascading evacuation, fire in the stairwell
2 Rectorate, floors 2–4 8 Simultaneous mass evacuation
3 Library, floors 1–3 6 Cascading evacuation with smoke
4 Rectorate + Library 6 Mixed evacuation from two buildings
5 Rectorate 3 Blocked agent, fire-department notification
6 Rectorate + Library 32 Mass planned evacuation
7 Rectorate + Library 32 Mass evacuation under stress
8 Rectorate 64 Expanding fire (floors 2/3/4)
9 Institute 80 Congestion at a single connectivity core
10 ZDB 48 Fire spread from several vehicles
11 ZDB 120 CFD-type fire (area-based modeling)
12 ZDB 120 CFD-type fire, car-to-car
13 ZDB 80 Cascading fire with stairwell blockage
Table 9. Ablation configurations used in comparative study.
Table 9. Ablation configurations used in comparative study.
Configuration Calibrated weights Online adaptation Coordination Dynamic replan
PROPOSED yes yes 0.35 yes
STATIC_WEIGHTS no no 0.35 yes
NO_AGENTS_COORD yes yes 0.0 yes
KSP_BASELINE no no 0.0 yes
STATIC_PLAN no no 0.0 no
Table 10. Number of weights with no measurable effect (“flat” weights) out of eight total, per scenario.
Table 10. Number of weights with no measurable effect (“flat” weights) out of eight total, per scenario.
Scenario Flat weights Which weights
1–5, 7 8/8 bias, fire, smoke, crowd, blocked, exit, fire_proximity, distance
6, 8, 9, 10 5/8 fire, smoke, blocked, fire_proximity, distance (for Scenario 9: + exit)
11, 12, 13 6/8 fire, smoke, blocked, exit, fire_proximity, distance
Table 11. Number of scenarios (out of 13 total) with p<0.05 (Mann–Whitney U) when comparing PROPOSED against each baseline configuration, by metric.
Table 11. Number of scenarios (out of 13 total) with p<0.05 (Mann–Whitney U) when comparing PROPOSED against each baseline configuration, by metric.
Metric vs STATIC_WEIGHTS vs NO_AGENTS_COORD vs KSP_BASELINE vs STATIC_PLAN
Evacuated (count) 0/13 2/13 2/13 2/13
Mean evac. time 1/13 9/13 9/13 11/13
Max. evac. time 0/13 7/13 6/13 9/13
Number of exits 0/13 8/13 9/13 11/13
Gini coefficient 3/13 8/13 8/13 9/13
Table 12. Significance (number of scenarios out of 5, p<0.05) and mean effect size (|Cliff’s delta|) for Group A.
Table 12. Significance (number of scenarios out of 5, p<0.05) and mean effect size (|Cliff’s delta|) for Group A.
Metric vs STATIC_WEIGHTS vs NO_AGENTS_COORD vs KSP_BASELINE vs STATIC_PLAN
Mean evac. time 0/5 (δ=0.01) 3/5 (δ=0.33) 3/5 (δ=0.33) 4/5 (δ=0.43)
Number of exits 0/5 (δ=0.00) 3/5 (δ=0.64) 3/5 (δ=0.64) 4/5 (δ=0.80)
Gini coefficient 0/5 (δ=0.02) 3/5 (δ=0.65) 3/5 (δ=0.65) 4/5 (δ=0.80)
Table 13. Significance and mean effect size for Group B.
Table 13. Significance and mean effect size for Group B.
Metric vs STATIC_WEIGHTS vs NO_AGENTS_COORD vs KSP_BASELINE vs STATIC_PLAN
Mean evac. time 1/3 (δ=0.29) 3/3 (δ=1.00) 3/3 (δ=0.98) 3/3 (δ=0.90)
Max. evac. time 0/3 (δ=0.02) 2/3 (δ=0.71) 2/3 (δ=0.68) 3/3 (δ=0.91)
Number of exits 0/3 (δ=0.00) 2/3 (δ=0.67) 2/3 (δ=0.67) 3/3 (δ=1.00)
Gini coefficient 2/3 (δ=0.55) 3/3 (δ=1.00) 3/3 (δ=1.00) 3/3 (δ=0.80)
Table 14. Significance and mean effect size for Group C.
Table 14. Significance and mean effect size for Group C.
Metric vs STATIC_WEIGHTS vs NO_AGENTS_COORD vs KSP_BASELINE vs STATIC_PLAN
Mean evac. time 0/5 (δ=0.07) 3/5 (δ=0.53) 3/5 (δ=0.58) 4/5 (δ=0.59)
Max. evac. time 0/5 (δ=0.01) 5/5 (δ=0.75) 4/5 (δ=0.61) 5/5 (δ=0.75)
Number of exits 0/5 (δ=0.01) 3/5 (δ=0.51) 4/5 (δ=0.60) 4/5 (δ=0.60)
Gini coefficient 1/5 (δ=0.14) 2/5 (δ=0.40) 2/5 (δ=0.31) 2/5 (δ=0.40)
Table 15. Number of evacuated agents with physical contact with fire (agents_fire) or smoke (agents_smoke) during movement, summed over all one hundred runs (5 configurations × 20 replicates) per scenario.
Table 15. Number of evacuated agents with physical contact with fire (agents_fire) or smoke (agents_smoke) during movement, summed over all one hundred runs (5 configurations × 20 replicates) per scenario.
Scenario agents_fire agents_smoke
1–11, 13 (12 scenarios) 0 0
12 230 230
Table 16. Correspondence between the algorithm’s mechanisms and selected requirements from the applicable regulatory framework (design justification; only the requirement from Section 5 is empirically verified).
Table 16. Correspondence between the algorithm’s mechanisms and selected requirements from the applicable regulatory framework (design justification; only the requirement from Section 5 is empirically verified).
Requirement Regulatory act Algorithm mechanism
Route to a safe zone Regulation Iz-1971, Art. 31–32 Search restricted to explicitly defined exit nodes (Section 3.3)
Minimum of two independent exits Regulation Iz-1971, Art. 33 Coordination through virtual load (Section 3.7)
Elevators are not an evacuation route Regulation Iz-1971, Art. 3; Directive 92/91/EEC Permanent structural exclusion from the graph (Section 3.3)
Dynamic response to a new hazard Directive 89/654/EEC Hysteresis classification and recomputation trigger (Section 3.2)
A safer route takes precedence over a faster one ISO 23932; SFPE Handbook Lexicographic sorting (risk_level, total_cost) (Section 3.5)
Monitoring of route load Regulation Iz-1971, Art. 33 Crowd density in risk_score, edge_cost, and node_priority (Section 3.4 and Section 3.5)
Notification for blocked individuals Directive 89/654/EEC; SFPE Handbook Rescue-notification mechanism (Section 3.7)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.