## 7 Experimental Results
### Realtime Implementation
#### 7.1.2. Evacuation Path
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**Starting Node** & **Exit** & **Distance** & **Evacuation Route** \\ \hline E1 & & 7.0 m & E1\(\rightarrow\)E0 \\ \hline E2 & & 14.5 m & E2\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E3 & & 21.0 m & E3\(\rightarrow\)E2\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E10 & & 29.0 m & E10\(\rightarrow\)E11\(\rightarrow\)E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E11 & E0 & 21.5 m & E11\(\rightarrow\)E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E12 & & 14.0 m & E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E16 & & 36.0 m & E16\(\rightarrow\)E17\(\rightarrow\)E18\(\rightarrow\)E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E17 & & 28.5 m & E17\(\rightarrow\)E18\(\rightarrow\)E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E18 & & 21.0 m & E18\(\rightarrow\)E12\(\rightarrow\)E1\(\rightarrow\)E0 \\ \hline E4 & & 21.0 m & E4\(\rightarrow\)E5\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E5 & & 14.5 m & E5\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E6 & & 7.0 m & E6\(\rightarrow\)E19 \\ \hline E7 & & 14.0 m & E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E8 & E19 & 21.5 m & E8\(\rightarrow\)E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E9 & & 29.0 m & E9\(\rightarrow\)E8\(\rightarrow\)E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E13 & & 21.0 m & E13\(\rightarrow\)E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E14 & & 28.5 m & E14\(\rightarrow\)E13\(\rightarrow\)E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline E15 & & 36.0 m & E15\(\rightarrow\)E14\(\rightarrow\)E13\(\rightarrow\)E7\(\rightarrow\)E6\(\rightarrow\)E19 \\ \hline \end{tabular}
\end{table} 
Table 2: Shortest Path of Each Source Node to Destination during Normal Stage. Figure 26: Equivalent Diagram of Building with Nodes in Normal Situation. To improve overall safety and evacuation efficiency, the subsequent fire alarm should not modify the completed emergency evacuation route directions, as changes in evacuation direction generate panic. If a source node's sensor nodes detect a fire emergency and the source node is closest to transit node E12, the source node is activated. Evacuees are unable to pick channel E18, E12 because it becomes extremely contaminated by a smoke stream in a relatively short period. Figure 27 depicts the analogous diagram of a structure with nodes during a fire emergency. Because the computed evacuation route based on the shortest distance is now inaccurate, it cannot be utilized as a guide for the safety of the evacuation plan. To overcome this issue, an updated Dijkstra method is proposed, and evacuees can use it to determine the ideal path of escape output respective transmission nodes, as indicated in Table 3.  
The exit routes for nodes E10, E11, E16, E17, and E18 vary compared to the exit path when there is no risk of fire. For example, the shortest route from node E18 to the exit is shifted from the original shortest route (i.e., E18, E12, E1, E0) to the optimal route (i.e., E18, E17, E16, E15, E14, E13, E17, E16, E19) because the path passes node E12, which is close to the fire spot. The optimal evacuation route based on the improved algorithm has a longer walking distance than the shortest route, but it is safer and allows you to evacuate safely while avoiding fires caused by unexpected damage. During the actual evacuation, one of the evacuation routes on the personnel congested phenomenon can lead to an extension of the evacuation time. The best strategy is to redirect some of the crowd to a safe and relatively open road, as this will make it easier to use an alternative path and ensure a smooth evacuation of everyone to the exit safely. The distance from all given nodes to the exit is calculated using coordinated devices that collect data from the sensors of all wireless nodes and calculate the optimal exit path using the improved algorithm as discussed. The evacuation information calculated by the dispatching node is then linked to the dynamic output display to indicate that the lights are flashing and to confirm that the correct direction is being generated.