Prediction Model of Corrosion Rate for Oil and Gas Pipelines Based on Knowledge Graph and Neural Network
Open Access
Abstract
Aiming to solve the problems of high cost and large error, a prediction model of oil and gas pipeline corrosion rate was established by using a knowledge graph and neural network. The knowledge map of oil and gas pipeline corrosion was constructed by the seven-step method and the fusion of Bidirectional Encoder Representations from Transformers, Bidirectional Long Short-Term Memory, and Conditional Random Fields models (BERT-Bi LSTM-CRF) combined extraction, and the triplet information was stored by the Neo4j graph database. With eight factors, such as carbon dioxide content, as input signals, three kinds of neural networks were used to screen the basic prediction model, and the genetic algorithm (GA) and particle swarm optimization algorithm (PSO) were used to optimize and compare. The results show that the extraction accuracy of BERT-Bi LSTM-CRF is 94.46%, the recall rate is 90.39%, and the F1 value is 92.38%. The optimized PSO-BP model has the best effect, and the coefficient of determination in the training stage and the test stage is as high as 0.9954 and 0.9935, and the total mean square error of the sample is reduced by 92.8% compared with that before optimization. The corrosion rate model proposed in this paper ensures the safe operation of oil and gas pipelines and offers a theoretical foundation for corrosion prediction.Keywords
Funding Information
- Xi'an Shiyou University (YCS23214233)
This publication has 14 references indexed in Scilit:
- Enhanced prediction of corrosion rates of pipeline steels using simulated annealing-optimized ANFIS modelsResults in Engineering, 2024
- HTINet2: herb–target prediction via knowledge graph embedding and residual-like graph neural networkBriefings in Bioinformatics, 2024
- Pipeline corrosion prediction and uncertainty analysis with an ensemble Bayesian neural network approachProcess Safety and Environmental Protection, 2024
- A knowledge graph-based hazard prediction approach for preventing railway operational accidentsReliability Engineering & System Safety, 2024
- Prediction on Failure Pressure of Pipeline Containing Corrosion Defects Based on ISSA-BPNN ModelEnergy Engineering, 2024
- Development of machine learning algorithms for predicting internal corrosion of crude oil and natural gas pipelinesComputers & Chemical Engineering, 2023
- A dynamic community gas risk-prediction method based on temporal knowledge graphsProcess Safety and Environmental Protection, 2023
- Pipeline Corrosion Prediction Using the Grey Model and Artificial Bee Colony AlgorithmAxioms, 2022
- Introduction to neural network‐based question answering over knowledge graphsWIREs Data Mining and Knowledge Discovery, 2021
- Cu-catalyzed Asymmetric Dearomative [3 + 2] Cycloaddition Reaction of Benzazoles with AminocyclopropanesChem, 2019