Method and Validation of Coal Mine Gas Concentration Prediction by Integrating PSO Algorithm and LSTM Network
Abstract
:1. Introduction
2. Gas Concentration Data and Its Characteristics
2.1. Abnormal of Gas Concentration at the Time of Coal and Gas Outburst
- (1)
- Case Study One. A mine in Guizhou Province was developed with an inclined shaft. Both the main and auxiliary inclined shafts connect to the main and auxiliary mine doors at the elevation of +1410 m, respectively. They are linked to the belt conveyance downhill and track conveyance downhill. The belt conveyance downhill, track conveyance downhill, and the return air inclined shaft were leveled and interconnected at the elevation of +1358 m. The coal and gas outburst accident occurred at the 11,175 open-off cut (drift) development face of the mine. At the time of the accident, the excavation of the open-off cut was progressing upward from the 11,175 transport tunnel, with an inclined length of about 5 m. The coal seam at the 11,175 open-off cut had an inclination angle of approximately six degrees and a coal thickness of around 1.7 m. The accident site was at an elevation of about +1375 m, corresponding to a ground elevation of about +1885 m, with a burial depth of about 510 m. On the day of the accident, the mine utilized a gas concentration monitoring system to gather data on gas concentration at intervals of every 5 min. For this case, 288 gas concentration data points collected from 0:00 on 29 November 2012 to 0:00 the following day were selected. The first 200 data points were used as the training set, and the remaining 88 data points were used as the test set. The PSO-SLTM model was used to predict changes in gas concentration. A typical gas concentration dataset is shown in Figure 1.
- (2)
- Case Study 2: A mine in Guizhou Province was developed with inclined shafts, including a main inclined shaft, an auxiliary inclined shaft, and a return air inclined shaft. The elevation of the main inclined shaft’s entrance is +1234.5 m, the auxiliary inclined shaft’s entrance is +1236 m, and the return air inclined shaft’s entrance is +1240.963 m. A significant carbon monoxide poisoning incident occurred in this mine on 29 March 2012 at the 2902 transport tunnel heading face in the second mining area. On the day of the accident, the mine’s gas concentration monitoring system collected data on gas concentration at 5 min intervals. For this analysis, 288 gas concentration data points collected from 00:00 29 March 2012 to the following day at 00:00 were selected. The first 200 data points were used as the training set, and the remaining 88 were used as the test set for the predictive analysis of gas concentration changes using the PSO-SLTM model. A typical gas concentration dataset is shown in Figure 2.
2.2. Characteristics of Gas Concentration Data and the Difficulty of Prediction
- (1)
- Periodicity: The gas concentration underground is influenced by various factors, leading to periodic variations with similar magnitudes across most periods. By learning the periodic variations in gas concentration characteristics through machine learning, it can be used to predict its changes in the next period.
- (2)
- Trend: Gas concentration data are a time series that change over time and exhibit trend characteristics, such as level, rising, and falling trends. Trend changes are one of the important foundations for making predictions.
- (3)
- Volatility and high nonlinearity: The complex mining conditions underground lead to significant fluctuations in gas concentration monitoring data, resulting in high nonlinearity.
3. Introduction to Prediction Theory and Method
3.1. PSO Algorithm
3.2. LSTM Model
3.3. PSO-LSTM Algorithm
4. Prediction Model Construction and Evaluation Method
4.1. Data Preprocessing
4.2. Composite Model Building Steps
- (1)
- Step 1: The sample data processed using normalization are divided into training set E1 and test set E2 of the PSO-LSTM model in a ratio of 7:3.
- (2)
- Step 2: Start to optimize the training LSTM model with the training set E1 and PSO models. The specific process is as follows: ① initialize the PSO algorithm and form the optimization community; ② the first 70% of training set E1 is defined as the LSTM model training set E1-1 and the last 30% is defined as PSO model optimization set E1-2. ③ Data set E1-1 is used as the training set of LSTM model and the optimal solution of the data set E1-2 is used as the test set of LSTM model; ④ start the simulation prediction process to find the particle (training result) that makes the PSO optimal selection RMSE minimum. At the same time, the LSTM model is trained using data set E1-1. The Root Mean Square Error (RMSE) was selected as an evaluation index to detect whether the PSO model training reached the maximum number of iterations or the minimum difference in the adaptation values between iterations. ⑤ The optimal solution of the output data set E1-2, , i = {1, 2, …, n}.
- (3)
- Step 3: Use the optimal solution Y1-2 of data set E1-2 to perform a predictive analysis on the LSTM model that has been trained.
- (4)
- Step 4: Adjust the model parameters according to the prediction results. Predict whether the training result reaches the maximum number of iterations. If not, adjust the parameters, update the internal weights, and return to the PSO-LSTM model again for training until the training result reaches the maximum number of iterations.
- (5)
- Step 5: After the training of the PSO-LSTM model, the test set E2 was used to conduct predictive analysis of the trained PSO-LSTM model.
- (6)
- Step 6: Output the optimal solution of the PSO-LSTM model, , i = {1, 2, … n}.
4.3. Performance Evaluation Method
5. Parameter Selection and Model Evaluation
5.1. Evaluation of Model Key Parameters
5.2. Influence Analysis of Data Length and Sampling Frequency
- (1)
- Analysis of different sample data volumes
- (2)
- Prediction analysis of sample data volume with different amplitude of change
5.3. Predictive Performance Evaluation (Data10)
5.4. Cross Validation Analysis (Data11)
6. Case Study and Discussion
6.1. Typical Case Analysis
6.2. Discussion Section
7. Conclusions
- (1)
- Based on the characteristic patterns of typical gas concentration time series data, a combined model prediction method utilizing the PSO model and LSTM network is proposed. This model capitalizes on the high accuracy and convergence properties of the PSO algorithm to optimize key parameters of the LSTM model, determining the weight coefficients within the combined model, thereby enhancing the prediction accuracy of the LSTM model. The introduction of this method further improves the accuracy of coal mine gas concentration predictions, offering significant reference value for gas disaster monitoring, early warning, and prevention.
- (2)
- The prediction accuracy of the PSO-LSTM model was evaluated using 24 h gas concentration data from a mine as a sample. The results show that the PSO-LSTM model performs even better, and this method successfully combines the global search potential of adaptive PSO with the local search capabilities of the Adam optimizer, enhancing model accuracy, reducing the likelihood of falling into local minima, and overcoming underfitting/overfitting issues.
- (3)
- To verify the superiority of the PSO-LSTM model, two sets of field-measured gas concentration data were used as sample data and compared with the predictive effects of conventional models such as LSTM, SVR-LSTM, and PSO-GRU. The results indicate that the predictive performance of all models ranks as follows: PSO-LSTM > SVR-LSTM > LSTM > PSO-GRU. Compared to the other three algorithms, PSO-LSTM exhibits higher predictive accuracy and maintains a more stable prediction accuracy rate, aligning with the general trends of time series data.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Lu, B.; Hardin, J. A Unified Framework for Random Forest Prediction Error Estimation. J. Mach. Learn. Res. 2021, 22, 386–426. [Google Scholar]
- Wang, H.; Wang, G. Improving random forest algorithm by Lasso method. J. Stat. Comput. Simul. 2021, 91, 353–367. [Google Scholar] [CrossRef]
- Zhang, H.; Zimmerman, J.; Nettleton, D.; Nordman, D.J. Random forest prediction intervals. Am. Stat. 2019, 74, 392–406. [Google Scholar] [CrossRef]
- Czajkowski, M.; Czerwonka, M.; Kretowski, M. Cost-sensitive global model trees applied to loan charge-off forecasting. Decis. Support Syst. 2015, 74, 57–66. [Google Scholar] [CrossRef]
- Blanquero, R.; Carrizosa, E.; Molero-Río, C.; Morales, D.R. On optimal regression trees to detect critical intervals for multivariate functional data. Comput. Oper. Res. 2023, 152, 106152. [Google Scholar] [CrossRef]
- Zhao, Y.; Kang, N. Prediction of Coal Face Gas Emission Based on Multiple Linear Regression. Coal Technol. 2021, 40, 118–121. [Google Scholar]
- Li, N.; Yang, M.; Hu, X.; Zhu, Z. Research on Influencing Factors of Coal Mine Gas Emissions Based on Multiple Stepwise Linear Regression. Coal Technol. 2022, 41, 131–134. [Google Scholar]
- Tutak, M.; Brodny, J. Predicting methane concentration in longwall regions using artificial neural net-works. Int. J. Environ. Res. Public Health 2019, 16, 1406. [Google Scholar] [CrossRef] [PubMed]
- Bukhari, S.M.S.; Moosavi, S.K.R.; Zafar, M.H.; Mansoor, M.; Mohyuddin, H.; Ullah, S.S.; Alroobaea, R.; Sanfilippo, F. Federated transfer learning with orchard-optimized Conv-SGRU: A novel approach to secure and accurate photovoltaic power forecasting. Renew. Energy Focus 2024, 48, 100520. [Google Scholar] [CrossRef]
- Khan, U.A.; Khan, N.M.; Zafar, M.H. Resource efficient PV power forecasting: Transductive transfer learning based hybrid deep learning model for smart grid in Industry 5.0. Energy Convers. Manag. X 2023, 20, 100486. [Google Scholar] [CrossRef]
- Olatomiwa, L.; Mekhilef, S.; Shamshirband, S.; Mohammadi, K.; Petković, D.; Sudheer, C. A support vector machine–firefly algorithm-based model for global solar radiation prediction. Sol. Energy 2015, 115, 632–644. [Google Scholar] [CrossRef]
- Cao, S.G.; Liu, Y.B.; Wang, Y.P. A forecasting and forewarning model for methane hazard in working face of coal mine based on LS-SVM. J. China Univ. Min. Technol. 2008, 18, 172–176. [Google Scholar] [CrossRef]
- Zhou, J.; Yang, P.; Peng, P.; Khandelwal, M.; Qiu, Y. Performance Evaluation of Rockburst Prediction Based on PSO-SVM, HHO-SVM, and MFO-SVM Hybrid Models. Min. Metall. Explor. 2023, 40, 617–635. [Google Scholar] [CrossRef]
- Liu, L.; Yang, C. LSTM gas concentration prediction model based on multiple factors. J. Saf. Sci. Technol. 2022, 18, 108–113. [Google Scholar]
- Li, H.; Jia, J.; Yang, X.; Song, C. Gas concentration prediction model for fully mechanize coal mining face. Ind. Mine Autom. 2018, 44, 48–53. [Google Scholar]
- Li, S.; Ma, L.; Pan, S.; Shi, X. Research on prediction model of gas concentration based on RNN in coal mining face. Coal Sci. Technol. 2020, 48, 33–38. [Google Scholar]
- Zhang, Z.; Zhu, Q.; Li, Q. Prediction of Mine Gas Concentration in Heading Face Based on Keras Long Short Time Memory network. Saf. Environ. Eng. 2021, 28, 61–67+78. [Google Scholar]
- Fu, H.; Liu, Y.; Xv, N.; Zhang, J. Research on Gas Concentration Prediction Based on Multi-Sensor-Deep Long Short-Term Memory Network Fusion. Chin. J. Sens. Actuators 2021, 34, 784–790. [Google Scholar]
- Liu, C.; Zhang, A.; Xue, J.; Lei, C.; Zeng, X. LSTM-Pearson Gas Concentration Prediction Model Feature Selection and Its Application. Coal Sci. Technol. 2023, 16, 2318. [Google Scholar] [CrossRef]
- Brodny, J.; Felka, D.; Tutak, M. The use of the neuro-fuzzy model to predict the methane hazard during the underground coal mining production process. J. Clean. Prod. 2022, 368, 133258. [Google Scholar] [CrossRef]
- Liang, Y.; Li, X.; Li, Q.; Mao, S.; Zheng, M.; Li, J. Research on intelligent prediction of gas concentration in working face based on CS-LSTM. Min. Saf. Environ. Prot. 2022, 49, 80–86. [Google Scholar]
- Wen, H.; Yan, L.; Jin, Y.; Wang, Z.; Guo, J.; Deng, J. Coalbed methane concentration prediction and early-warning in fully mechanized mining face based on deep learning. Energy 2023, 264, 126208. [Google Scholar] [CrossRef]
- Al-Hajj, R.; Assi, A.; Fouad, M.; Mabrouk, E. A hybrid LSTM-based genetic programming approach for short-term prediction of global solar radiation using weather data. Processes 2021, 9, 1187. [Google Scholar] [CrossRef]
- Tang, G.; Sheng, J.; Wang, D.; Men, S. Continuous Estimation of Human Upper Limb Joint Angles by Using PSO-LSTM Model. IEEE Access 2021, 9, 17986–17997. [Google Scholar] [CrossRef]
- Cao, X.H.; Stojkovic, I.; Obradovic, Z. A robust data scaling algorithm to improve classification accuracies in biomedical data. BMC Bioinform. 2016, 17, 359. [Google Scholar] [CrossRef] [PubMed]
- Jiang, Z.; Zhang, S.; Li, W. Gas Concentration Prediction Model Based on Improved Neural Network. IEEE Access 2019, 7, 100364–100370. [Google Scholar]
- Ruma, J.F.; Adnan, M.S.G.; Dewan, A.; Rahman, R.M. Particle swarm optimization based LSTM networks for water level forecasting: A case study on Bangladesh river network. Results Eng. 2023, 17, 100951. [Google Scholar] [CrossRef]
- Kumar, G.; Singh, U.P.; Jain, S. An adaptive particle swarm optimization-based hybrid long short-term memory model for stock price time series forecasting. Soft Comput. 2022, 26, 12115–12135. [Google Scholar] [CrossRef]
Parameter | Parameter Value | Parameter | Parameter Value |
---|---|---|---|
Example initialize the number of communities | 5 | Learning factors c2 | 2 |
Initialize the population dimension | 2 | Maximum inertia weight | 1.2 |
Initialize the maximum number of group iterations | 10 | Minimum inertial weight | 0.8 |
learning factors c1 | 2 | tolerance | 10−8 |
Parameter | Parameter Value | Parameter | Parameter Value |
---|---|---|---|
Input layer dimension | 2 | Solver | Adam |
Output layer dimension | 1 | Learning rate | Self-adaptation |
Number of hidden layer neurons | 10~200 | Number of iterations | 50 |
LSTM layer | PSO optimization |
Prediction Model | Case 1 | Case 2 | ||||
---|---|---|---|---|---|---|
MAE | RMSE | R2 | MAE | RMSE | R2 | |
LSTM | 0.0807 | 0.1050 | 0.1945 | 0.0292 | 0.0432 | 0.8605 |
SVR-LSTM | 0.0404 | 0.0745 | 0.3473 | 0.0218 | 0.0379 | 0.8906 |
PSO-GRU | 0.0899 | 0.1366 | 0.1410 | 0.0378 | 0.0790 | 0.4841 |
PSO-LSTM | 0.0166 | 0.0327 | 0.9059 | 0.0077 | 0.0118 | 0.9912 |
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
Yang, G.; Zhu, Q.; Wang, D.; Feng, Y.; Chen, X.; Li, Q. Method and Validation of Coal Mine Gas Concentration Prediction by Integrating PSO Algorithm and LSTM Network. Processes 2024, 12, 898. https://doi.org/10.3390/pr12050898
Yang G, Zhu Q, Wang D, Feng Y, Chen X, Li Q. Method and Validation of Coal Mine Gas Concentration Prediction by Integrating PSO Algorithm and LSTM Network. Processes. 2024; 12(5):898. https://doi.org/10.3390/pr12050898
Chicago/Turabian StyleYang, Guangyu, Quanjie Zhu, Dacang Wang, Yu Feng, Xuexi Chen, and Qingsong Li. 2024. "Method and Validation of Coal Mine Gas Concentration Prediction by Integrating PSO Algorithm and LSTM Network" Processes 12, no. 5: 898. https://doi.org/10.3390/pr12050898
APA StyleYang, G., Zhu, Q., Wang, D., Feng, Y., Chen, X., & Li, Q. (2024). Method and Validation of Coal Mine Gas Concentration Prediction by Integrating PSO Algorithm and LSTM Network. Processes, 12(5), 898. https://doi.org/10.3390/pr12050898