Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Mine fire emergency path planning based on hybrid strategy improved WOA algorithm

  • Yun Qi,

    Roles Resources

    Affiliations College of Mining and Coal, Inner Mongolia University of Science and Technology, Baotou, Inner Mongolia, China, College of Coal Engineering, Shanxi Datong University, Datong, Shanxi, China

  • Kaiwang Yu ,

    Roles Validation, Writing – original draft, Writing – review & editing

    15854197348@163.com

    Affiliation College of Coal Engineering, Shanxi Datong University, Datong, Shanxi, China

  • Xunping Li,

    Roles Resources

    Affiliation College of Mining and Coal, Inner Mongolia University of Science and Technology, Baotou, Inner Mongolia, China

  • Wei Wang,

    Roles Resources

    Affiliations College of Mining and Coal, Inner Mongolia University of Science and Technology, Baotou, Inner Mongolia, China, College of Coal Engineering, Shanxi Datong University, Datong, Shanxi, China

  • Xinchao Cui,

    Roles Investigation

    Affiliation College of Coal Engineering, Shanxi Datong University, Datong, Shanxi, China

  • Chenhao Bai

    Roles Conceptualization, Validation

    Affiliation College of Coal Engineering, Shanxi Datong University, Datong, Shanxi, China

Abstract

To address the challenge of personnel evacuation during mine fires, an enhanced Whale Optimization Algorithm (WOA) incorporating a hybrid strategy inspired by the intelligent behavior of marine life is proposed and applied to mine escape route planning. Initially, to overcome the limitations of the original WOA—such as poor optimization accuracy, susceptibility to local optima, and slow convergence—five improvement strategies are introduced: Sobol sequence for population initialization, nonlinear time-varying factors, adaptive weighting, stochastic learning, and Cauchy mutation. These enhancements are compared against single-strategy improved WOAs.Subsequently, path planning simulations were conducted using several extracted algorithms and grid-based methods. The results demonstrate that the optimal path length achieved by the Multi-Strategy WOA (MSWOA) is 41.7% shorter than that of the standard WOA, 42.3% shorter than WOA-1, and 48.5% shorter than PSO for the shortest path. Additionally, the average path length of MSWOA is 32.2% shorter than WOA, 40.5% shorter than WOA-1, and 41.4% shorter than PSO. The MSWOA algorithm generates the shortest and smoothest path among the tested methods.Based on the analysis of the path graph and iteration frequency graph, it is recommended to apply the MSWOA algorithm to path planning experiments. The findings indicate that the WOA with the five integrated strategies significantly enhances optimization accuracy and convergence speed, making it a robust solution for mine evacuation route planning.

The occurrence of mine disasters [1] often results in significant loss of life and property, making it critically important to develop effective countermeasures to mitigate such disasters. Mine fire disasters, in particular, pose a severe threat to safe and efficient production [2]. Traditional route planning methods rely solely on pre-established emergency escape routes, which lack flexibility and fail to adapt to the actual conditions during a fire. Currently, intelligent bio-inspired algorithms [3] are being utilized for emergency path planning in the aftermath of a fire. The application of such emergency path planning in the mining industry is also one of the key challenges attracting significant attention. With the rapid development of coal mine productivity, mine fires have become a serious hazard, endangering both lives and property [4]. Therefore, identifying the optimal escape path within the roadway after a fire plays a crucial role in minimizing the loss of life and property caused by mine fire accidents.

In previous research on path planning, traditional graph algorithms, such as Dijkstra’s algorithm and Floyd’s algorithm, have shown significant limitations. In complex information environments, the computational load increases dramatically, often exponentially. This exponential growth in computation undoubtedly raises both the difficulty and time cost of solving such problems. In recent years, with the continuous advancement of computer technology, sensing technology, and control technology, intelligent optimization algorithms have emerged and gained widespread application in the field of path planning. These algorithms are often inspired by the behaviors of biological organisms, with common examples including the Ant Colony Optimization (ACO) algorithm and the Particle Swarm Optimization (PSO) algorithm.

Many scholars have carried out in-depth research on the problem of optimal route planning, which is the essence of emergency evacuation path. For example, Zhang Yingfei et al. [5] proposed a linear cellular automata model with ripple diffusion as the core to explore the crowd evacuation path, and then obtained an emergency path that could shorten the evacuation time. Cao Xianghong [6] et al. improved the gravity function to generate the shortest evacuation route while staying away from the ignition point. Wang Tao [7] et al took the risk value suffered by evacuees as the key condition for path search, and applied the improved Dijkstra algorithm to finally obtain the evacuation path with the least personnel damage. Ye Jihong et al. [8] incorporated the toxicity load value of the evacuation path into the heuristic function of the ant colony algorithm, effectively reducing the impact of toxic gas on the evacuees. Zhang Haipeng et al. [9] adopted the Floyd algorithm and combined it with the hydraulic model to successfully obtain the shortest evacuation route in the fire scenario. Yang Qian [10] et al. used genetic algorithm to implement two-stage planning for emergency vehicle routes of sudden natural disasters, and used hierarchical analysis of hierarchical demand degree of legal empowerment to build an efficient material distribution model. Jia Jinzhang [11] et al., in order to solve the evacuation path of personnel more efficiently, proposed a hybrid gene-ant colony algorithm when a fire broke out. Luo Wenguan et al. [12] established an emergency UAV path planning model and proposed a cuckoo search algorithm for planning high-quality UAV rescue routes based on reinforcement learning. Lin Yong [13] et al. improved the path planning of multi-objective particle swarm optimization algorithm on the basis of coding correction in response to the distribution of emergency materials for earthquake disasters. By improving the algorithm, Zhang Huajun et al. [14] carried out optimal path planning in the context of cruise fire spread, and determined the optimal path by analyzing risk indicators such as fire gas. He Mengnan et al. [15] proposed a Global shortest path (GSPCA) optimization algorithm based on cellular automata, which can shorten the shortest path by 12.39% on average and flexibly choose solution methods according to terrain features. Cao Xianghong et al. [16] proposed Dijkstra-ACO hybrid path dynamic algorithm to obtain the optimal path. Liu Huilin et al. [17] used the Gaussian gas diffusion model to calculate the toxicity load value of injury indicators such as death probability of each evacuation section, so as to screen out the best route. Zhang Mingkong et al. [18] proposed a coevolutionary path optimization method, Ripple Diffusion algorithm (RSA), and adopted CEPO to optimize personnel evacuation paths. In summary, although some achievements have been achieved in emergency path planning through improved algorithms and the integration of different algorithms, there are still many problems. On the one hand, the traditional map search algorithm has its own defects. With the increasing of environmental information, its computational complexity will increase geometrically. On the other hand, general intelligent algorithm, as a new way of path planning, has high requirements on computer performance, its operation process is more complicated, the universality of the algorithm is relatively poor, and it is easy to fall into the dilemma of local optimization. Therefore, general intelligent algorithm has high requirements on computer performance in practical application, and the operation process is also relatively lengthy, and the universality of the algorithm is not good.

Therefore, the author proposes a mixed-strategy-based improved Whale Optimization Algorithm (MSWOA) incorporating five mixed strategies. This enhanced algorithm addresses issues such as low precision, local optima, and slow convergence speed, enabling it to achieve the optimal path more efficiently. The algorithm is applied to path planning, where an appropriate fitness function is selected for individual evaluation. It is then compared with mainstream algorithms and single-strategy improved whale optimization algorithms. The results demonstrate that MSWOA exhibits strong global search capabilities, excellent optimization performance, and fast convergence. Simulation results further confirm the superiority of the MSWOA algorithm, offering a novel approach for mine fire personnel escape and emergency path planning.

1 Whale optimization algorithm

1.1 Algorithm introduction

The Whale Optimization Algorithm (WOA) is a novel swarm intelligence optimization algorithm inspired by the foraging behavior of whale populations. It was proposed by Mirjalili et al. [19] in 2016 to achieve optimal solutions for target problems. The algorithm establishes theoretical models based on behaviors such as searching, encircling, and hunting. Compared to other optimization algorithms, WOA primarily consists of three stages: hunting prey, encircling prey, and spiral bubble-net hunting. Its key advantage lies in the unique search mechanism, which is developed by simulating the hunting behavior of humpback whales. Additionally, WOA features fewer parameters and is relatively easy to understand, making it both efficient and accessible.

1.2 Hunt for prey

The behavior of each whale participating in the hunt represents a finite solution x in the whale optimization algorithm. In the first stage of hunting prey, the whales’ experience is based on the position information of each other in the group, updating the position of the next generation, and through random search, based on the random walk mechanism during the group hunting, so that the algorithm has excellent performance in the overall search. According to the t search, At that time , The whale updates the search behavior for t + z1, as follows:

(1)

among , to hunt any whale location in the herd, is the current position, t is the current number of iterations, and:

(2)(3)

among , is the number of iterations. As the number of iterations increases, it’s a linear decline, Correspondingly, it gradually decreases with the decline, At that time , The algorithm moves from the prey search phase to the second phase to surround the prey.

1.3 Round up prey

As the number of iterations increases, reduce to 1. The algorithm moves into its second phase, which revolves around the prey. Since the location of prey is fuzzy during the initial search, it is assumed that the fit degree value and the optimal solution in the whale group at this time are the WOA algorithm for the location of prey or the location of the target prey. Other whales adjust their positions by gradually shrinking according to the current optimal location information when approaching prey and determining the target location of prey.

(4)

among, , the optimal solution for each iteration. When between random values, update from i teration to iteration, Gradually approaching the surrounding optimal solution.

1.4 Spiral bubble net hunting

The best whale individuals are unique in their hunting strategies by spiraling their prey close to the surface of the ocean and capturing it in the best possible way while surrounding it. The mathematical representation of this rare hunting behavior is as follows:

(5)

Where, b is the constant coefficient of the spiral equation, take ; Represents the distance between the search individual and the current optimal solution individual; Is [0,1]a random number inside.

In order to simulate the hunting behavior of whales which can simultaneously carry out encircling contraction and spiral bubble net hunting, the position updating strategy was selected by setting random probability. When the probability is random, The whales update their hunting position by spiraling around in a bubble net, getting closer to their prey by blowing bubbles, When the probability is random, The whales update their encircling hunting position based on the position of the current optimal solution individual. In the iterative process of approaching the target It keeps decreasing, At that time , The whale optimization algorithm has found the theoretical optimal solution. The overall hunting mechanism is described as follows:

(6)

2 Hybrid strategy improved whale optimization algorithm

2.1 Improved algorithm generalization

In this paper, the Sobol sequence is employed to initialize the whale population, enhancing the quality of the initial solutions. The algorithm’s global exploration and local exploitation capabilities are improved through a strategy that balances nonlinear time-varying factors and adaptive weights. Additionally, a Cauchy mutation operator is introduced to help the algorithm escape from local optima. Building on these four improvements, a hybrid-strategy improved Whale Optimization Algorithm (WOA) is proposed [20], which integrates the aforementioned enhancements to achieve superior performance.

2.2 Sobol sequence initializes the population

The distribution of initial solutions in the solution space significantly impacts the convergence speed and optimization accuracy of the algorithm. A uniform distribution of initial solutions helps enhance the algorithm’s performance. The traditional Whale Optimization Algorithm (WOA) initializes the population randomly, which often leads to an uneven distribution of the initial population. In this paper, the Sobol sequence is utilized to initialize the population. The Sobol sequence is a quasi-random sequence that employs base-2 radical inversion in each dimension of the population, with each dimension having its own unique matrix. This approach generates non-repetitive and relatively uniform points.To compare the spatial distribution of random numbers generated by the traditional WOA initialization method with those generated by the Sobol sequence, a two-dimensional random number distribution diagram was created for a population size of 500 within the range [0, 1]. As shown in Fig 1, the initial population generated using the Sobol sequence exhibits a more uniform distribution and provides more comprehensive coverage of the solution space.

thumbnail
Fig 1. Distribution of individuals of generated by random method and Sobol sequence.

https://doi.org/10.1371/journal.pone.0323789.g001

2.3 Nonlinear time-varying factors and adaptive weights

Parameter A, primarily influenced by the convergence factor, is a critical parameter that regulates global exploration and local exploitation in the Whale Optimization Algorithm (WOA). As illustrated in Fig 2, the convergence factor decreases linearly as the number of iterations increases. This linear decrease can lead to slow convergence during the later stages of the hunting process and may result in incomplete exploration of the prey’s location in the early stages. To address the limitations of the convergence factor, this paper proposes a piecewise nonlinear convergence factor, defined as follows:

thumbnail
Fig 2. Distribution of convergence factor and parameter A.

https://doi.org/10.1371/journal.pone.0323789.g002

(7)

Fig 2 illustrates the distribution of the convergence factor and parameter A over 500 iterations. As shown in the diagram, the proposed convergence factor is larger than the traditional convergence factor during both the early and late stages of iterations. This enhancement strengthens the algorithm’s global exploration capability in the early stage and its local exploitation capability in the later stage, while maintaining the original transition point between global exploration and local exploitation.

In the process of hunting, the adaptive weight strategy is proposed, taking into account the impact of prey targets on whale group position update, as follows:

(8)

The location update formula becomes:

(9)(10)(11)

As the number of adaptive weight changes increases, a nonlinear upward trend is observed. In the early iterations, the weight is small, and the target is relatively vague, making position updates less impactful. However, in the middle and later stages of the algorithm, the target becomes clearer, and the weight gradually increases with the number of iterations. This increasing weight enhances the attractiveness of the target to individual whales, enabling them to locate the target solution more quickly and accurately. This mechanism effectively strengthens the algorithm’s optimization performance, accelerates its convergence rate, and improves its stability. By adopting a global optimization approach, the algorithm also enhances its local exploitation capability.

2.4 Stochastic learning strategy

Whales possess the ability to communicate, navigate, locate, and hunt in water. Inspired by this behavior, a stochastic learning strategy is introduced into the teaching and learning-based optimization algorithm [21] to simulate the collaborative learning and communication among whales. This strategy allows individuals to optimize their positions by learning from high-performing individuals within the population. In contrast, the traditional Whale Optimization Algorithm (WOA) relies solely on random individuals in the population to guide position updates during global search, which limits its overall optimization capability.For an individual x, different individuals (xp) are selected from the population, and their fitness values are compared to identify better-performing individuals. The position of individual x is then adjusted by learning from these better-performing individuals. This process involves selecting different individuals from the population, comparing their fitness values, and updating positions based on the insights gained from superior individuals. This approach enhances the algorithm’s ability to seek optimal solutions and improves its overall performance.

(12)

Among them, The random number between the learning factors rand(0,1) and(0,1) reflects the difference in each individual’s learning ability. After studying, if , Then the population accepts the new individual xnew and replaces individual x, otherwise the population rejects the inferior individual xnew. Stochastic learning of individuals will provide more information to individuals, enhance the information sharing ability of populations, increase population diversity, and effectively improve the global optimization performance of the algorithm.

2.5 Cauchy mutation strategy

To address the issue of the traditional Whale Optimization Algorithm (WOA) being prone to falling into local optima, a Cauchy mutation strategy is introduced based on the Cauchy distribution. This strategy applies Cauchy disturbance to the current best individual. When an individual becomes trapped in a local optimum, the Cauchy operator can generate a larger step size, enabling the algorithm to escape the local optimum. Conversely, it can also produce a smaller step size, thereby accelerating the search for the optimal solution. To implement this, the following Cauchy variant is used in this paper:

(13)

Among them, is the new value obtained from the current optimal value by Cauchy perturbation, is a Cauchy operator, and the standard Cauchy distribution function formula is as follows:

(14)

From the mathematical theory, it can be known that the extension of the two ends of the Cauchy distribution function can produce random numbers away from the origin, and the disturbance ability of the individual whale is very strong, and the whale will be able to quickly avoid the local trap after the disturbance. At the same time, it can reduce the time spent by individuals in the search space, so as to speed up the convergence of the algorithm, when the highest peak value of the Cauchy distribution is low compared with other functions.

3 Algorithm implementation process

The flow of the MSWOA algorithm is described as follows. (1) initialization algorithm related parameters: population size , spatial dimensiondim, the searchable space of the population , iteration coefficient

(2) Sobol sequence strategy was used to initialize the population position.

(3) By calculating individual fitness, the optimal fitness and the corresponding optimal fitness are found. The optimal fitness value is constant for 10 consecutive iterations. Then formula (13) operates the variation of the optimal individual.

(4) Update parameters according to equation (7) , Then update A according to formula (2), Update parameters according to equation (8), And update parameters at the same time/

(5) At that time ,,Entry procedure ,, Proceed to step (7),, Go to Step 8.

(6) Global search is carried out, random learning is carried out according to formula (12) to update the location of individuals with poor locations, and further update the location of individuals according to formula (9).

(7) Carry out the phase of encircling the prey, and update the individual position according to formula (10).

(8) Conduct the spiral bubble net predation stage, and update individual positions according to equation (11).

(9) Determine whether the iteration termination condition is met. If the condition is met, output the global optimal solution and location information; otherwise, proceed to step (3) to continue.The flow chart of MSWOA algorithm is shown in Fig 3.

4 Algorithm performance test

MATLAB R2022b programming software was used to evaluate the performance of the algorithm. To validate the effectiveness of the Mixed-Strategy Whale Optimization Algorithm (MSWOA), 12 benchmark functions were selected for testing. Among these, F1–F6 are unimodal functions, F7–F10 are complex multimodal functions, and F11 and F12 represent fixed-dimensional functions. Testing with a diverse set of functions effectively assesses the optimization performance of the algorithm. The details of these functions are provided in Table 1.

The performance of the algorithm mentioned above is tested through two aspects. (1) Compare the convergence speed and accuracy of MSWOA, WOA(whale optimization algorithm), BOA(Butterfly optimization algorithm), GWO(Gray Wolf optimization algorithm), GAS(gravity search algorithm), PSO(particle swarm algorithm), and ABC(artificial bee colony algorithm) on the benchmark test function. Based on the same population size, maximum number of iterations and number of runs; (2) Analyze the test of the influence of different strategies on algorithm performance, based on independent tests under different improvement strategies.

4.1 Performance comparison with other optimization algorithms

To validate the performance of the proposed algorithm against other algorithms, the experimental setup includes a population size of 30 and a maximum of 500 iterations. Each algorithm is independently run 30 times to ensure statistical reliability. The mean value of the optimal simulation results and the standard deviation (std.dev) are used as performance evaluation metrics to compare the algorithms.

As shown in Table 2, by comparing the evaluation metrics of the optimal value and the average value, the MSWOA algorithm demonstrates the best optimization performance on the benchmark functions F1–F10 among the 12 test functions. For the benchmark function F11, the optimization accuracy of MSWOA is slightly inferior to that of the BOA and ABC algorithms, but it still outperforms other algorithms. In the case of F12, MSWOA’s accuracy is only marginally lower than that of the BOA algorithm.When using the standard deviation of the optimal value as the comparison metric, MSWOA exhibits slightly lower stability than the BOA, GWO, and ABC algorithms on benchmark function F5, and is less stable than BOA and ABC on function F11. However, overall, MSWOA still achieves the best performance in terms of stability across the majority of test functions.

thumbnail
Table 2. Comparison results of MSWOA and other optimization algorithms.

https://doi.org/10.1371/journal.pone.0323789.t002

By observing the convergence curve shown in Fig 4, we can directly assess the convergence speed of the proposed hybrid-strategy improved Whale Optimization Algorithm (MSWOA) and its enhanced ability to escape local optima. When the MSWOA algorithm performs optimization calculations on functions F1, F3, F8, F9, and F10, the use of the Sobol sequence for population initialization ensures a uniform distribution of the population. This increases the number of population individuals near the optimal solution, enabling the algorithm to find the optimal solution with the fewest iterations. As a result, MSWOA demonstrates strong optimization capabilities across all 12 benchmark functions. This is reflected in the convergence curve of MSWOA, which appears almost linear in the figure.In the optimization of F5 and F6, the presence of multiple inflection points in the convergence curve indicates the algorithm’s improved ability to escape local optima, further validating the effectiveness of the proposed hybrid strategy.

thumbnail
Fig 4. Function testing and iterative variation diagram.

https://doi.org/10.1371/journal.pone.0323789.g004

4.2 The effect of different strategies on algorithm performance is analyzed

In this paper, the proposed improvements to the Whale Optimization Algorithm (WOA) include Sobol sequence initialization, a nonlinear time-varying factor, adaptive weights, a Cauchy mutation strategy, and a stochastic learning strategy. To evaluate the impact of each strategy on the Mixed-Strategy Whale Optimization Algorithm (MSWOA), the population size is set to 30, the maximum number of iterations is 500, and each algorithm is independently run 30 times. The optimization is performed on the 12 benchmark functions listed in the table. The optimization results for each improvement strategy are presented in Table 3.

thumbnail
Table 3. Comparison results of different improved strategies.

https://doi.org/10.1371/journal.pone.0323789.t003

According to the data analysis in Table 3, among the five improvement strategies, the one that has the greatest impact on the performance of WOA algorithm is using Sobol sequence to initialize the population, followed by the adaptive strategy. In unimodal function, the random learning strategy is better than the Cauchy variation strategy with the best improvement in multi-modal function, while the improvement of nonlinear time-varying factors is worse than the other four. MSWOA, which combines five policy improvements, has better optimization accuracy and stability on most functions than WOA, which uses any of the strategy improvements.,However, each improvement strategy has verified the contribution of a single strategy. In WOA-1 and WOA-3, the Sobol sequence initialization population and the adaptive weight strategy were verified to have an impact on the algorithm. Changing the population distribution and enhancing the algorithm’s search ability had the greatest impact on the algorithm. The nonlinear time-varying factor in WOA-2 also had an influence on the convergence speed and performance of the algorithm. The Cauchy variation in WOA-4 significantly improved the algorithm’s efficiency. The random learning strategy in WOA-5 enhanced the algorithm’s global optimization performance. MSWOA algorithm combines the advantages of the five improved strategies. Under the same optimization accuracy, MSWOA converges faster, and the optimization accuracy of most test functions is higher than that of WOA algorithm with one improved strategy. Therefore, the feasibility of the five improved hybrid strategy algorithms is verified.

4.3 Statistical analysis of rank sum test of experimental results

The rank sum test can be seen from the difference between statistical verification and JAYA, as can be seen from the data analysis in Fig 5. The improved WOA algorithm is quite different from the original one and meets the requirements of the improvement.

4.4 Test analysis

Through the above tests, it can be concluded first that the algorithm optimization performance and iteration speed of MSWOA are superior to those of other algorithms, and it is more stable. Based on the influence of different strategies on the original algorithm, it can be concluded that all five strategies have an impact on the original algorithm. Although a single strategy is not as effective as the mixed strategy, it has contributed to verifying the effectiveness of the strategies. After comparison, the MSWOA with the mixed improvement strategy has very strong performance. However, the complexity of MSWOA is more complex than that of other algorithms. The introduction of the five improvement strategies leads to additional operations, resulting in an increase in computational load, especially when dealing with large-scale problems, which may affect efficiency. However, this test experiment through Matlab testing did not affect the test process due to the increase in complexity. At the same time, attention should be paid to the adjustment of parameters. The mixed strategy increases the number of parameters and increases the difficulty of use. Therefore, we should be prepared to deal with the drawbacks of the algorithm, fully exert its advantages, and find ways to solve its shortcomings.

5 Path planning simulation test

5.1 Roblem description and environment modeling

When a fire occurs, the primary task of the algorithm is to analyze the internal environment of the underground building, avoid the fire source, locate safety exits, and plan the optimal evacuation route. To test the feasibility of the improved algorithm, the following assumptions about the environment are made:

The environment map shown in Fig 6 is generated by rasterizing the environmental information. The raster method is a traditional approach for path planning modeling [22]. A 60m × 60m simulation scene is constructed using this method. In the map, black grids represent obstacle areas, denoted by “1,” indicating impassable zones after a mine fire. White grids represent feasible areas, denoted by “0,” where evacuation paths can be planned. Each grid has a length of 1m and is numbered from bottom to top and left to right. Each grid has a unique sequence number and position coordinates, with the conversion formula as follows:

(15)

Among them, and is the coordinate of the position of the I-th grid; represents the length of the side of the small grid, Usually take 1; MM and NN are the number of grids in row direction and column direction, respectively. mod is a redundant operator; ceil is rounded up.

5.2 Experimental verification and analysis

Based on the performance tests of the algorithm described above, the Mixed-Strategy Whale Optimization Algorithm (MSWOA) demonstrates outstanding performance after incorporating five improvement strategies. To further validate its effectiveness, the algorithm is applied to emergency path planning, specifically for planning escape routes after a mine fire in a grid-based environment. For comparison, the Whale Optimization Algorithm (WOA), WOA-1, and Particle Swarm Optimization (PSO) algorithms are also tested under the same conditions. This comparison aims to verify whether MSWOA maintains its superior performance in practical path planning scenarios.The path diagrams of the simulation results of each algorithm are shown in Fig 7; the diagrams of the changes in path lengths of each algorithm are shown in Fig 8.

thumbnail
Fig 7. Simulation results of each algorithm path map.

https://doi.org/10.1371/journal.pone.0323789.g007

thumbnail
Fig 8. Path length variation diagram of each algorithm.

https://doi.org/10.1371/journal.pone.0323789.g008

Due to the inherent randomness of intelligent swarm algorithms, two path graphs are randomly selected for each algorithm to ensure a comprehensive analysis of their performance. To further validate the randomness and adaptability of the path planning, two different endpoints are used for testing. In Fig 7(a) and 7(b), the endpoints are consistent, allowing for a direct comparison between the two groups.From the perspective of path smoothness, as shown in Fig 7(a), when the endpoint is far from the starting point, the optimization accuracy of each algorithm varies significantly. The paths generated by WOA-1 and PSO exhibit recurring loops, resulting in unnecessarily lengthy routes. The WOA algorithm also shows similar issues between 30–40 meters. In contrast, the MSWOA algorithm plans a more direct and efficient path toward the target. Similarly, in Fig 7(b), when the endpoint is closer to the starting point, the paths planned by WOA-1 and PSO contain numerous sharp turns and large angles, leading to complex, lengthy, and less smooth routes. In comparison, the path generated by MSWOA is significantly smoother and more efficient. These observations clearly indicate that MSWOA outperforms the other algorithms in terms of optimization accuracy.

As shown in Fig 8, the path lengths generated by each algorithm can be directly compared. The path planned by MSWOA is significantly shorter. Specifically, the shortest path generated by MSWOA is 41.7% shorter than that of WOA, 42.3% shorter than WOA-1, and 48.5% shorter than PSO. On average, MSWOA’s paths are 32.2% shorter than WOA’s, 40.5% shorter than WOA-1’s, and 41.4% shorter than PSO’s. These results demonstrate that MSWOA can plan shorter and more optimized paths, highlighting its robustness and efficiency.

The algorithm iteration diagram is shown in Fig 9. MSWOA exhibits superior global search and local exploitation capabilities compared to WOA. Additionally, MSWOA demonstrates better optimization performance and the ability to escape local optima compared to WOA-1. In the early iterations, MSWOA initializes the population using the Sobol sequence, which ensures a uniform distribution of the population. Although this results in a slower initial convergence speed, it ultimately leads to better global optimization and faster convergence in the middle and late iterations compared to the other algorithms.

5.3 Experimental verification and analysis

Based on the analysis of the results after the path planning experiments, it can be known that MSWOA performed very well in the above experiments. The planned paths were more optimal, shorter and smoother. Compared with single strategies and other algorithms, the success of this algorithm improvement has also been confirmed. However, since this experiment was simulated, for the algorithm’s optimization performance in different environments, it still needs further research. Nevertheless, based on the existing experiments, the success of the MSWOA algorithm can be verified. It can provide better planning routes for the emergency rescue after mine fires. Future research should fully utilize the advantages of MSWOA and solve its disadvantages. Then it can be applied to robot or unmanned aerial vehicle for actual environment path planning. This has a very good research significance for the entire emergency aspect.

6 Conclusion

  1. (1). Aiming at the problems of uneven initial population distribution, slow convergence speed, weak global search ability and easy to fall into local optimality, the standard whale algorithm introduced Sobol sequence to initialize the population and make the initial population evenly distributed; The global search capability is improved by nonlinear time-varying factor and inertia weight. The stochastic learning strategy is combined to increase the diversity of the population in the iterative process. Cauchy variation is introduced to improve the ability of the algorithm to jump out of local optimal.
  2. (2). Compared with other intelligent algorithms and algorithms with only one improved strategy, MSWOA shows better optimization ability and fast convergence speed, and can find the shortest path in the case of unknown mine fire emergency.
  3. (3). Through the path simulation diagram analysis, the path planned by MSWOA algorithm is significantly shorter. Compared with WOA algorithm, the shortest path is shortened by 41.7%, 42.3% and 48.5% compared with PSO algorithm. Compared with the average path length, the MSWOA algorithm is 32.2% shorter than the WOA algorithm, 40.5% shorter than the WOA-1 algorithm, and 41.4% shorter than the PSO algorithm. The shortest and smoothest path obtained by the MSWOA algorithm is analyzed by the path graph and the number of iterations graph. The MSWOA algorithm proposed in this paper has the best optimization effect, shortest path, better stability and robustness.
  4. (4). This article has verified the success of the hybrid strategy improvement algorithm, and has also successfully demonstrated the effectiveness of the algorithm in path planning. At the same time, it has pointed out existing or potential problems, providing a research path for the escape and emergency issues in mine fires. In the future, when applied to robots or unmanned aerial vehicles, it is our outlook. The translation is as follows: This article has verified the success of the hybrid strategy improvement algorithm and has also successfully demonstrated the effectiveness of the algorithm in path planning. At the same time, it has pointed out existing or potential problems, providing a research path for the escape.

References

  1. 1. Qi Y, Xue K, Wang W, Cui X, Liang R, Wu Z. Coal and gas protrusion risk evaluation based on cloud model and improved combination of assignment. Sci Rep. 2024;14(1):4551. pmid:38402302
  2. 2. Jianzhao S, Jinhao Z.Research on control strategy of ground mobile Robot’s path avoidance. Machinery Design Manufacture. 2024:1–8.
  3. 3. Gromyka DS, Kremcheev EA, Nagornov DO. Review of applicability of using indicator gas coefficients for determining the temperature of the place of spontaneous combustion of coal. J Phys Conf Ser. 2019;1384(1):012016.
  4. 4. Qi Y, Xue K, Wang W. Prediction model of borehole spontaneous combustion based on machine learning and its application. Fire. 2023;6(9):357.
  5. 5. Zhang Y, Zhang G, Li H. Research on evacuation model of cellular automata based on ripple spreading algorithm. J Saf Environ. 2023;23(5):1668–78.
  6. 6. Cao X, Huang M, Li D. Fire path planning based on improved A* and artificial potential field algorithm. Fire Sci Technol. 2021;40(2):204–8.
  7. 7. Wang T, Wang C, Wang C, et al. Study on path planning of emergency evacuation in offshore platform fire. J Saf Sci Technol. 2023;19(12):142–8.
  8. 8. Ye J, Lyu Q. Evacuation route planning of toxic gas leakage accident in chemical industry park based on adaptive ant colony algorithm. J Saf Sci Technol. 2022;18(12):148–53.
  9. 9. Zhang H, Chen M, Li Y. An optimization algorithm for evacuation routes under ship fire environment. J Harbin Eng Univ. 2023;44(1):97–108.
  10. 10. Yang Q, Wang F, Lu J. Constrained vehicle routing model for emergency relief supplies based on demand urgency. J Tsinghua Univ (Sci Technol). 2024;:1–7.
  11. 11. Jia J, Li X. Research on evacuation path planning in single-story building fire based on genetic-ant colony algorithm. J Sci Technol. 2020;16(06):122–6.
  12. 12. Luo W, Yu X. A reinforcement learning-based cuckoo search algorithm for emergency UAV path planning. J Catastrophol. 2023;38(2):206–12.
  13. 13. Lin Y, Xiao H, Zhang L. Optimization model algorithm of emergency supplies allocation-transportation in earthquake disaster. China Safety Sci J. 2020;30(10):171–8.
  14. 14. Zhang H, Liu Y, Zhu Z. Optimal evacuation path planning under dynamic spreading of cruise ship fire. China Saf Sci J. 2023;33(1):183–90.
  15. 15. He M, Fu Y, Chen C. Shortest path optimal algorithm for emergency evacuation based on cellular automata. Chin Saf Sci J. 2019;29(04):51–7.
  16. 16. Cao X, Li X, Wei X, et al. Dynamic programming of emergency evacuation path based on Dijkstra-ACO hybrid algorithm. J Electron Inf Technol. 2020;42(06):1502–9.
  17. 17. Liu H, Shen F. Evacuation route planning model based on toxic injury index. China Safety Sci J. 2018;28(1):179–84.
  18. 18. Zhang M, Hu X, Wang J. Study on evacuation route of high-rise buildings considering dynamic fire diffusion processs. J Saf Sci. 2019;29(3):32–8.
  19. 19. Mirjalili S, Lewis A. The whale optimization algorithm. Adv Eng Softw. 2016;95:51–67.
  20. 20. Qiu X, Wang R, Zhang W. Improved whale optimizer algorithm based on hybrid strategy. Comput Eng Appl. 2022;58(01):70–8.
  21. 21. BI X, LI Y, CHEN C. A self-adaptive teaching-and-learning-based optimization algorithm with a mixed strategy. J Harbin Eng Univ. 2016;37(6):842–8.
  22. 22. Mao S, Dai Y, Liu H. Path planning for agricultural robots based on improved sparrow search algorithm. Comput Era. 2023;:115–9.