An Artificial Intelligence Method for Flowback Control of Hydraulic Fracturing Fluid in Oil and Gas Wells
Abstract
:1. Introduction
2. Problem Description and Solution
2.1. Problem Description
2.2. Solution
3. Algorithm of AU-RES Neural Network
3.1. Signal Conversion in the Time Domain
3.2. Residual Neural Network
3.3. AU-RES Neural Network
3.4. Loss Function
3.5. Training Algorithm
- Step 1: Data are collected on site. Then, unreasonable data are filtered out and deleted. Finally, samples are made using the processed data. The input to the residual model in the AU-RES neural network is the two-dimensional image of the data transformation, including flow, pressure, and temperature. In addition, the output of the AU-RES neural network is the label (Y in Equation (6)).
- Step 2: The finite element difference method is used to calculate the downhole fluid dynamics model, supplementing the simulated sample.
- Step 3: The neural network hyperparameters and initial values are set.
- Step 4: 80% of samples are selected as the training set to train the neural network.
- Step 5: Whether the AU-RES neural network training process converges is observed.
- Step 6: 20% of the sample set is used as the test set to study the influence of different hyperparameters on the prediction accuracy and optimize the AU-RES neural network structure. Here, we introduce an index of prediction error E for AU-RES.
- Step 7: Training process finished.
4. Simulation and Experiment
4.1. Training Sample
4.2. Training Process
4.3. The Influence of Hyperparameters on AU-RES Network Performance
4.4. The Influence of the Fully Connected Layer on AU-RES Network Performance
4.5. Comparison of AU-RES Network with Other Networks
4.6. Experiment
5. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Aloysius, N.; Geetha, M. A review on deep convolutional neural networks. In Proceedings of the 2017 IEEE International Conference on Communication and Signal Processing, ICCSP 2017, Chennai, Tamilnadu, India, 6–8 April 2017; pp. 588–592. [Google Scholar]
- Sharma, N.; Jain, V.; Mishra, A. An analysis of convolutional neural networks for image classification. Procedia Comput. Sci. 2018, 132, 377–384. [Google Scholar] [CrossRef]
- Lin, B.; Guo, J. Discussion on current application of artificial intelligence in petroleum industry. Pet. Sci. Bull. 2019, 4, 403–413. [Google Scholar] [CrossRef]
- Zhang, S.; Chen, Z. Status and prospect of artificial intelligence application in fracturing technology. Pet. Drill. Tech. 2023, 51, 69–77. [Google Scholar]
- Hui, G.; Chen, S.; He, Y.; Wang, H.; Gu, F. Machine learning-based production forecast for shale gas in unconventional reservoirs via integration of geological and operational factors. J. Nat. Gas Sci. Eng. 2021, 94, 104045. [Google Scholar] [CrossRef]
- Liu, W.; Liu, W.D.; Gu, J.W. Forecasting oil production using ensemble empirical model decomposition based Long Short-Term Memory neural network. J. Pet. Sci. Eng. 2020, 189, 107013. [Google Scholar] [CrossRef]
- Hu, X.; Tu, Z.; Luo, Y.; Zhou, F.; Li, Y.; Liu, J.; Yi, P. Shale gas well productivity prediction model with fitted function-neural network cooperation. Pet. Sci. Bull. 2022, 3, 94–405. [Google Scholar] [CrossRef]
- Zhou, L.; Yu, W. Improved Convolutional Neural Image Recognition Algorithm based on LeNet-5. J. Comput. Netw. Commun. 2022, 2022, 2022. [Google Scholar] [CrossRef]
- Su, J.; Wang, H. Fine-Tuning and Efficient VGG16 Transfer Learning Fault Diagnosis Method for Rolling Bearing. Mech. Mach. Sci. 2023, 117, 453–461. [Google Scholar]
- Zhang, C.; Zhang, H.; Tian, F.; Zhou, Y.; Zhao, S.; Du, X. Research on sheep face recognition algorithm based on improved AlexNet model. Neural Comput. Applic. 2023, 35, 1–10. [Google Scholar] [CrossRef]
- Fawaz, H.I.; Lucas, B.; Forestier, G.; Pelletier, C.; Schmidt, D.F.; Weber, J.; Webb, G.I.; Idoumghar, L.; Muller, P.-A.; Petitjean, F. InceptionTime: Finding AlexNet for time series classification. Data Min. Knowl. Discov. 2020, 34, 1936–1962. [Google Scholar] [CrossRef]
- Zhang, L.; Dou, H.; Wang, T.; Wang, H.; Peng, Y.; Zhang, J.; Liu, Z.; Mi, L.; Jiang, L. A production prediction method of single well in water flooding oilfield based on integrated temporal convolutional network model. Pet. Explor. Dev. 2022, 49, 996–1004. [Google Scholar] [CrossRef]
- Sagheer, A.; Kotb, M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019, 323, 203–213. [Google Scholar] [CrossRef]
- Bai, S.; Kolter, J.Z.; Koltun, V. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv 2018, arXiv:1803.01271. [Google Scholar]
- Gu, J.W.; Zhou, M.; Li, Z.T.; Jia, X.; Liang, Y. A data mining-based method for oil well production prediction with long and short-term memory network model. Spec. Oil Gas Reserv. 2019, 26, 77–81+131. [Google Scholar]
- Huang, R.; Wei, C.; Wang, B.; Yang, J.; Xu, X.; Wu, S.; Huang, S. Well performance prediction based on Long Short-Term Memory (LSTM) neural network. J. Pet. Sci. Eng. 2022, 208, 109686. [Google Scholar] [CrossRef]
- Wang, J.; Qiang, X.; Ren, Z.; Wang, H.; Wang, Y.; Wang, S. Time-Series Well Performance Prediction Based on Convolutional and Long Short-Term Memory Neural Network Model. Energies 2023, 16, 499. [Google Scholar] [CrossRef]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar]
- Alom, M.Z.; Taha, T.M.; Yakopcic, C.; Westberg, S.; Sidike, P.; Nasrin, M.S.; Van Esesn, B.C.; Awwal, A.A.S.; Asari, V.K. The history began from alexnet: A comprehensive survey on deep learning approaches. arXiv 2018, arXiv:1803.01164. [Google Scholar]
- Lyu, C.; Huo, Z.; Cheng, X.; Jiang, J.; Alimasi, A.; Liu, H. Distributed Optical Fiber Sensing Intrusion Pattern Recognition Based on GAF and CNN. J. Light. Technol. 2020, 38, 4174–4182. [Google Scholar] [CrossRef]
- Wang, Z.; Oates, T. Encoding time series as images for visual inspection and classification using tiled convolutional neural networks. In Proceedings of the 29th AAAI Conference on Artificial Intelligence, Austin, Texas, USA, 25–30 January 2015; AI Access Foundation: El Segundo, CA, USA, 2015. [Google Scholar]
- Yang, C.L.; Chen, Z.X.; Yang, C.Y. Sensor classification using convolutional neural network by encoding multivariate time series as two-dimensional colored images. Sensors 2020, 20, 168. [Google Scholar] [CrossRef] [Green Version]
- Gu, Y.; Wu, K.; Li, C. Rolling bearing fault diagnosis based on Gram angle field and transfer deep residual neural network. J. Vib. Shock 2022, 41, 228–237. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Identity mappings in deep residual networks. In Proceedings of the 21st ACM Conference on Computer and Communications Security, Scottsdale, AZ, USA, 3–7 November 2014. [Google Scholar]
- Veit, A.; Wilber, M.J.; Belongie, S. Residual networks behave like ensembles of relatively shallow networks. Adv. Neural Inf. Process. Syst. 2016, 550–558. [Google Scholar] [CrossRef]
- Yuan, D.-R.; Zhang, Y.; Tang, Y.-J.; Li, B.-Y.; Xie, B.-L. Multiscale Residual Attention Network and Its Facial Expression Recognition Algorithm. J. Chin. Comput. Syst. 2022, 11, 1–9. [Google Scholar]
Number | Learning Rate | Loss | E |
---|---|---|---|
1 | 0.001 | 0.0512 | 0.4601 |
2 | 0.0001 | 0.00021 | 0.1689 |
3 | 0.00001 | 0.0020 | 0.2015 |
Number | Gradient Updating Methods | Loss | E |
---|---|---|---|
1 | Adam | 0.00021 | 0.1689 |
2 | RMSprop | 0.00137 | 0.3358 |
3 | Sgdm | divergence | divergence |
Number | Network | RMSE | Loss | E |
---|---|---|---|---|
1 | LeNet5 | 0.183 | 0.0065 | 2.1032 |
2 | AlexNet | 0.162 | 0.0013 | 0.8875 |
3 | VGG16 | 0.157 | 0.0010 | 0.8023 |
4 | AU-RES | 0.131 | 0.00021 | 0.1689 |
Time | Oil Pressure | Casing Pressure | Flow Rate | Viscosity | Temperature | Nozzle Diameter |
---|---|---|---|---|---|---|
Hour:Minute | MPa | MPa | m3/h | mPas | °C | mm |
6:00 | 3.5 | 4.1 | 4.50 | 1 | 39 | 6 |
7:00 | 3.5 | 4.1 | 4.50 | 1 | 39 | 6 |
8:00 | 3.5 | 4.1 | 4.50 | 1 | 39 | 6 |
9:00 | 3.5 | 4.1 | 4.50 | 1 | 39 | 6 |
10:00 | 3.0 | 3.8 | 3.85 | 1 | 39 | 6 |
11:00 | 3.0 | 3.8 | 3.85 | 1 | 39 | 6 |
12:00 | 3.0 | 3.8 | 3.85 | 1 | 39 | 6 |
13:00 | 3.0 | 3.4 | 3.85 | 1 | 38 | 6 |
14:00 | 2.6 | 3.4 | 3.18 | 1 | 38 | 6 |
15:00 | 2.6 | 3.4 | 3.18 | 1 | 38 | 6 |
16:00 | 2.6 | 3.4 | 3.18 | 1 | 38 | 6 |
17:00 | 2.6 | 3.4 | 3.18 | 1 | 38 | 6 |
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. |
© 2023 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
Li, R.; Wei, H.; Wang, J.; Li, B.; Zheng, X.; Bai, W. An Artificial Intelligence Method for Flowback Control of Hydraulic Fracturing Fluid in Oil and Gas Wells. Processes 2023, 11, 1773. https://doi.org/10.3390/pr11061773
Li R, Wei H, Wang J, Li B, Zheng X, Bai W. An Artificial Intelligence Method for Flowback Control of Hydraulic Fracturing Fluid in Oil and Gas Wells. Processes. 2023; 11(6):1773. https://doi.org/10.3390/pr11061773
Chicago/Turabian StyleLi, Ruixuan, Hangxin Wei, Jingyuan Wang, Bo Li, Xue Zheng, and Wei Bai. 2023. "An Artificial Intelligence Method for Flowback Control of Hydraulic Fracturing Fluid in Oil and Gas Wells" Processes 11, no. 6: 1773. https://doi.org/10.3390/pr11061773
APA StyleLi, R., Wei, H., Wang, J., Li, B., Zheng, X., & Bai, W. (2023). An Artificial Intelligence Method for Flowback Control of Hydraulic Fracturing Fluid in Oil and Gas Wells. Processes, 11(6), 1773. https://doi.org/10.3390/pr11061773