Intelligent Identification of Hidden Dangers in Hydrogen Pipeline Transmission Station Using GWO-Optimized Apriori Algorithm
Abstract
:1. Introduction
2. Basic Thinking for Mining Association Rules of Hidden Dangers
3. Theoretical Basis
3.1. The Apriori Algorithm
- (1)
- Scan the initial dataset and calculate the support of each item. Frequent 1-itemset L1 is generated from the items that meet the minimum support.
- (2)
- Join frequent (k − 1)-itemset Lk−1 (k ≥ 2) to itself to generate a candidate k-itemset Ck.
- (3)
- Take Ck−1 as (k − 1) order subset of Ck. If , then ; thus, the candidate k-itemset is not frequent and it is deleted from Ck.
- (4)
- Iterate step 2 and step 3 until a higher order frequent itemset cannot be obtained. The strong association rules are next extracted from the frequent itemsets that meet the minimum support and minimum confidence.
3.2. Grey Wolf Optimizer (GWO)
3.3. The GWO-Apriori Algorithm
- (1)
- Initialize the number and locations of wolves and the maximum number of iterations. Then, set the optimization scopes of minimum support and minimum confidence. The position of an individual grey wolf corresponds to a feasible set of parameter combinations.
- (2)
- Location of the prey is estimated by alpha, beta and delta wolves, whose position vectors are calculated. Based on the fitness parameter, three optimal individuals and their locations are determined and position of the prey is updated.
- (3)
- Repeat the above step to update the positions of other omega wolves. Position vectors of alpha, beta and delta wolves are also updated. Then, conduct the next iterations until meeting the criteria for termination, or the fitness threshold is reached. The position of alpha wolf is taken as minimum support and minimum confidence.
- (4)
- Conduct traditional Apriori with the GWO-determined minimum support and minimum confidence.
4. Application of GWO-Apriori
4.1. Data Acquisition
4.2. Data Preprocessing
4.3. Evaluation Metrics
5. Results and Discussion
5.1. Performance Analysis of GWO-Apriori
5.2. Association Rule Mining Based on Traditional Apriori Algorithm
5.3. Association Rule Mining Based on GWO-Apriori Algorithm
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Olabi, A.G.; Abdelkareem, M.A.; Mahmoud, M.S.; Elsaid, K.; Obaideen, K.; Rezk, H.; Wilberforce, T.; Eisa, T.; Chae, K.J.; Sayed, E.T. Green Hydrogen: Pathways, Roadmap, and Role in Achieving Sustainable Development Goals. Process Saf. Environ. Prot. 2023, 177, 664–687. [Google Scholar] [CrossRef]
- Sadeq, A.M.; Homod, R.Z.; Hussein, A.K.; Togun, H.; Mahmoodi, A.; Isleem, H.; Patil, A.R.; Moghaddam, A.H. Hydrogen Energy Systems: Technologies, Trends, and Future Prospects. Sci. Total Environ. 2024, 939, 173622. [Google Scholar] [CrossRef] [PubMed]
- Cheng, W.; Cheng, Y.F. A Techno-economic Study of the Strategy for Hydrogen Transport by Pipelines in Canada. J. Pipeline Sci. Eng. 2023, 3, 100112. [Google Scholar] [CrossRef]
- Achitaev, A.; Suvorov, A.; Ilyushin, P.; Volkova, I.; Kan, K.; Suslov, K. Life Extension of AC-DC Converters for Hydrogen Electrolysers Operating as Part of Offshore Wind Turbines. Int. J. Hydrogen Energy 2024, 51, 137–159. [Google Scholar] [CrossRef]
- Bulychev, N.A.; Kazaryan, M.A.; Averyushkin, A.S.; Chernov, A.A.; Gusev, A.L. Hydrogen Production by Low-Temperature Plasma Decomposition of Liquids. Int. J. Hydrogen Energy 2017, 4, 20934–20938. [Google Scholar] [CrossRef]
- Tsiklios, C.; Hermesmann, M.; Müller, T.E. Hydrogen Transport in Large-Scale Transmission Pipeline Networks: Thermodynamic and Environmental Assessment of Repurposed and New Pipeline Configurations. Appl. Energy 2022, 327, 120097. [Google Scholar] [CrossRef]
- Cui, J.; Kong, Y.; Liu, C.; Cai, B.; Khan, F.; Li, Y. Failure Probability Analysis of Hydrogen Doped Pipelines Based on the Bayesian Network. Eng. Fail. Anal. 2024, 156, 107806. [Google Scholar] [CrossRef]
- Miao, D.; Lv, Y.; Yu, K.; Liu, L.; Jiang, J. Research on Coal Mine Hidden Danger Analysis and Risk Early Warning Technology Based on Data Mining in China. Process Saf. Environ. Prot. 2023, 171, 1–17. [Google Scholar] [CrossRef]
- Xu, F.; Chen, Q.; Liu, Q.; Li, N. Intelligent Analysis Algorithm for Hidden Danger Identification of Intelligent Network Monitoring System from the Perspective of Big Data. Procedia Comput. Sci. 2023, 228, 57–63. [Google Scholar] [CrossRef]
- Liu, W.; Luo, R.; Xiao, M.; Chen, Y. Intelligent detection of hidden distresses in asphalt pavement based on GPR and deep learning algorithm. Constr. Build. Mater. 2024, 416, 135089. [Google Scholar] [CrossRef]
- Dehghani, M.; Yazdanparast, Z. Discovering the Symptom Patterns of COVID-19 From Recovered and Deceased Patients Using Apriori Association Rule Mining. Inform. Med. Unlocked 2023, 42, 101351. [Google Scholar] [CrossRef]
- Cleland, Z.W.; Dao, K.A.; Dao, T.H.D. Detecting Changes in Spatial Characteristics of Colorado Human-Caused Wildfires Using Apriori-Based Frequent Itemset Mining. Comput. Environ. Urban Syst. 2023, 101, 101941. [Google Scholar] [CrossRef]
- Papi, R.; Attarchi, S.; Boloorani, A.D.; Samany, N.N. Knowledge Discovery of Middle East Dust Sources Using Apriori Spatial Data Mining Algorithm. Ecol. Inform. 2022, 72, 101867. [Google Scholar] [CrossRef]
- Li, L.; Wu, Y.; Huang, Y.; Li, B.; Miao, F.; Deng, Z. Optimized Apriori Algorithm for Deformation Response Analysis of Landslide Hazards. Comput. Geosci. 2023, 170, 105261. [Google Scholar] [CrossRef]
- Rafindadi, A.D.; Shafiq, N.; Othman, I.; Ibrahim, A.; Aliyu, M.M.; Mikić, M.; Alarifi, H. Data Mining of The Essential Causes of Different Types of Fatal Construction Accidents. Heliyon 2023, 9, e13389. [Google Scholar] [CrossRef]
- Qiu, Z.; Liu, Q.; Li, X.; Zhang, X.; Zhang, J. Construction and Analysis of a Coal Mine Accident Causation Network Based on Text Mining. Process Saf. Environ. Prot. 2021, 153, 320–328. [Google Scholar] [CrossRef]
- Shi, G.; Ding, X.; Hong, C.; Liu, Z.; Zhao, L. Research on Key Risk Chain Mining Method for Urban Rail Transit Operations: A New Approach to Risk Management. Int. J. Transp. Sci. Technol. 2024, 13, 29–43. [Google Scholar] [CrossRef]
- Yi, J.; Chen, K.; Liu, H.; Liang, K.; Mi, H.; Zhou, W. A Hybrid Association Analysis Framework of Accident Reports for Offshore Drilling Platforms. J. Loss Prev. Process Ind. 2023, 85, 105161. [Google Scholar] [CrossRef]
- Djenouri, Y.; Comuzzi, M. Combining Apriori Heuristic and Bio-Inspired Algorithms for Solving the Frequent Itemsets Mining Problem. Inf. Sci. 2017, 420, 1–15. [Google Scholar] [CrossRef]
- Yürüşen, N.Y.; Uzunoğlu, B.; Talayero, A.P.; Estopiñán, A.L. Apriori and K-Means Algorithms of Machine Learning for Spatio-Temporal Solar Generation Balancing. Renew. Energy 2021, 175, 702–717. [Google Scholar] [CrossRef]
- Bhandari, A.; Gupta, A.; Das, D. Improvised Apriori Algorithm Using Frequent Pattern Tree for Real Time Applications in Data Mining. Procedia Comput. Sci. 2015, 46, 644–651. [Google Scholar] [CrossRef]
- Lien, L.; Cheng, M. A Hybrid Swarm Intelligence Based Particle-Bee Algorithm for Construction Site Layout Optimization. Expert Syst. Appl. 2012, 39, 9642–9650. [Google Scholar] [CrossRef]
- Wang, H.; Arasteh, B.; Arasteh, K.; Gharehchopogh, F.S.; Rouhi, A. A Software Defect Prediction Method Using Binary Gray Wolf Optimizer and Machine Learning Algorithms. Comput. Electr. Eng. 2024, 118, 209336. [Google Scholar] [CrossRef]
- Zhang, T.; Hu, H.; Liang, Y.; Liu, X.; Rong, Y.; Wu, C.; Zhang, G.; Huang, Y. A Novel Path Planning Approach to Minimize Machining Time in Laser Machining of Irregular Micro-Holes Using Adaptive Discrete Grey Wolf Optimizer. Comput. Ind. Eng. 2024, 193, 110320. [Google Scholar] [CrossRef]
- Zhu, M.; Xu, W.; Ma, W. A Novel Prestress Design Method for Cable-Strut Structures with Grey Wolf-Fruit Fly Hybrid Optimization Algorithm. Structures 2024, 67, 106932. [Google Scholar] [CrossRef]
- Hu, J.; Song, Z.; Tan, Y.; Tan, M. Optimizing Integrated Energy Systems Using a Hybrid Approach Blending Grey Wolf Optimization with Local Search Heuristics. J. Energy Storage 2024, 87, 111384. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
Types of Hidden Dangers | Detailed Items |
---|---|
Mismanagement | Inadequate hydrogen safety training (M1); failure to check and maintain equipment as required (M2); production responsibility system unestablished (M3); lack of evaluation of employee competence (M4); risk mitigation measures untaken prior to operation (M5); the staff are unfamiliar with risk mitigation measures (M6); unqualified staff without qualification certificates (M7); unauthorized activities (M8); failure to provide safety education and training to employees as required (M9); forcible execution of illegal operations against job regulations (M10); approve illegal affairs (M11); incomplete elimination of discovered hidden dangers (M12); self-ignition of hydrogen in emergency blow-down (M13); lack of job inspection (M14). |
Operation violation | Overheight of stacked up materials (O1); explosion-proof tools are not used in flammable and explosive areas (O2); handing over goods over rotating equipment (O3); nonexecution of pre-start-up check (O4); operations with body instead of tools (O5); failure to use and maintain fire-fighting equipment in accordance with regulations (O6); overload equipment (O7); touch the switches with hands wet (O8); explosive operation without wearing antistatic clothing; (O9); carry kindling into operation areas (O10); aerial work without safety rope (O11); illegal fire operation (O12); unauthorized entry into restricted areas (O13); failure to wear protective equipment (O14). |
Equipment defect | Failure of hydrogen detector (E1); surge of hydrogen compressor (E2); deterioration of hydrogen compressor sealing performance (E3); clogging of filter separator (E4); aging of fiber optic splice closure (E5); equipment fails to meet the explosion-proof standard (E6); weld defect of pipelines (E7); coarse inner wall of the blow-down pipe (E8); poor lighting (E9); damaged protection layer of electrical cables (E10); internal and external leakage of valves (E11); dampened electrical equipment (E12); malfunction of automatic interlock protection system (E13); water shortage of fire pool (E14); explosion-proof grade of electrical equipment inconsistent with stipulation (E15); unacceptable equipment installation, use, testing and upgrading (E16). |
Environmental issue | Damage of fence around the station (S1); blockage of exit passageway (S2); disarray of materials (S3); ineffective communication in confined space (S4); lack of safety warning signs (S5); improper setting of explosion-protection facilities (S6); insufficient safety distance (S7); nearby landslide (S8); unqualified fire rating of building materials (S9); slippery and wet ground (S10); extreme temperature and humidity (S11); excessive noise (S12); mixed setting of administrative and storage areas (S13); foundation settlement (S14). |
Investigation No. | M1 | M2 | M3 | M4 | … | S1 | S2 | S3 | S4 | … |
---|---|---|---|---|---|---|---|---|---|---|
1 | 1 | 0 | 1 | 0 | … | 0 | 1 | 0 | 0 | … |
2 | 1 | 1 | 0 | 0 | … | 1 | 0 | 1 | 0 | … |
3 | 0 | 0 | 0 | 1 | … | 1 | 0 | 0 | 1 | … |
4 | 1 | 0 | 1 | 0 | … | 0 | 1 | 0 | 0 | … |
5 | 0 | 1 | 0 | 1 | … | 0 | 0 | 0 | 0 | … |
6 | 1 | 0 | 0 | 1 | … | 0 | 1 | 0 | 0 | … |
… | … | … | … | … | … | … | … | … | … | … |
Rule No. | Antecedent | Consequent | Support | Confidence |
---|---|---|---|---|
1 | O3 | M9 | 0.6328 | 0.8023 |
2 | E1 | E16 | 0.4547 | 0.7987 |
3 | S10 | M12 | 0.5238 | 0.7940 |
4 | S4 | O11 | 0.4594 | 0.7824 |
5 | O14 | M9 | 0.4890 | 0.7612 |
6 | O13 | S5 | 0.6305 | 0.7487 |
7 | S1 | E4 | 0.4354 | 0.7388 |
8 | M1 | S2 | 0.6840 | 0.7383 |
9 | O12 | M7 | 0.5671 | 0.7257 |
10 | O6 | M2 | 0.4515 | 0.7040 |
Rule No. | Antecedent | Consequent | Support | Confidence |
---|---|---|---|---|
1 | O3 | M9 | 0.5512 | 0.9551 |
2 | E1 | E16 | 0.6504 | 0.9483 |
3 | O4 | E2 | 0.4680 | 0.9308 |
4 | O14 | M9 | 0.6271 | 0.9247 |
5 | E8 | M13 | 0.5113 | 0.9162 |
6 | S10 | M12 | 0.5110 | 0.9031 |
7 | O13 | S5 | 0.4951 | 0.9002 |
8 | O12 | M7 | 0.5723 | 0.8836 |
9 | S11 | E12 | 0.6068 | 0.8760 |
10 | O6 | M2 | 0.7160 | 0.8634 |
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, C.; Fu, A.; Li, W.; Li, M.; Chen, T. Intelligent Identification of Hidden Dangers in Hydrogen Pipeline Transmission Station Using GWO-Optimized Apriori Algorithm. Energies 2024, 17, 4539. https://doi.org/10.3390/en17184539
Wang C, Fu A, Li W, Li M, Chen T. Intelligent Identification of Hidden Dangers in Hydrogen Pipeline Transmission Station Using GWO-Optimized Apriori Algorithm. Energies. 2024; 17(18):4539. https://doi.org/10.3390/en17184539
Chicago/Turabian StyleWang, Chaoming, Anqing Fu, Weidong Li, Mingxing Li, and Tingshu Chen. 2024. "Intelligent Identification of Hidden Dangers in Hydrogen Pipeline Transmission Station Using GWO-Optimized Apriori Algorithm" Energies 17, no. 18: 4539. https://doi.org/10.3390/en17184539
APA StyleWang, C., Fu, A., Li, W., Li, M., & Chen, T. (2024). Intelligent Identification of Hidden Dangers in Hydrogen Pipeline Transmission Station Using GWO-Optimized Apriori Algorithm. Energies, 17(18), 4539. https://doi.org/10.3390/en17184539