Guangyuan Weng, Xinlei Xing, Zhaoyang Han, Bo Wang, Xiyu Zhu, Jie Zheng
{"title":"Stress prediction model of oil and gas pipeline based on magnetic-force coupling and machine learning","authors":"Guangyuan Weng, Xinlei Xing, Zhaoyang Han, Bo Wang, Xiyu Zhu, Jie Zheng","doi":"10.1016/j.measurement.2025.117818","DOIUrl":null,"url":null,"abstract":"<div><div>This study proposes a novel machine learning-based model for accurate stress monitoring in gas pipelines, essential for ensuring safe and efficient operations. The model leverages data on stress and magnetic flux density derived from parameters such as pipe external diameter, wall thickness, elastic modulus, relative permeability, and structural characteristics, combined with internal pressure loads and environmental magnetic fields, obtained via a magnetic simulation platform. So, the data mainly comes from the magnetic simulation platform, but also includes some model tests and the accumulation of measured data of the study team. Data preprocessing included missing value imputation, outlier processing, and normalization. A 3D parallel computing machine learning model was developed to predict stress, incorporating pipeline structural parameters, internal pressure loads, and magnetic parameters. Model parameters were optimized using a grid search method with 50 % cross-validation, and performance was evaluated using R<sup>2</sup>, RMSE, and MAE metrics. Among RF, SVR, CART, and ANN algorithms, Random Forest (RF) performed best, achieving R<sup>2</sup> = 0.87, RMSE = 0.045, MAE = 0.01 for stress prediction, and R<sup>2</sup> = 0.97, RMSE = 0.05, MAE = 0.02 for magnetic flux density prediction. Comparisons with finite element method calculations across 12 pipeline parameter sets showed a maximum accuracy value error is within 6 %. The model’s robustness allows accurate predictions even with incomplete data, enabling non-excavation stress assessment using design data, field surveys, and tests. This provides valuable insights for pipeline lifecycle management and preventive maintenance, offering effective technical support for stress monitoring in oil and gas pipelines.</div></div>","PeriodicalId":18349,"journal":{"name":"Measurement","volume":"253 ","pages":"Article 117818"},"PeriodicalIF":5.2000,"publicationDate":"2025-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0263224125011777","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
This study proposes a novel machine learning-based model for accurate stress monitoring in gas pipelines, essential for ensuring safe and efficient operations. The model leverages data on stress and magnetic flux density derived from parameters such as pipe external diameter, wall thickness, elastic modulus, relative permeability, and structural characteristics, combined with internal pressure loads and environmental magnetic fields, obtained via a magnetic simulation platform. So, the data mainly comes from the magnetic simulation platform, but also includes some model tests and the accumulation of measured data of the study team. Data preprocessing included missing value imputation, outlier processing, and normalization. A 3D parallel computing machine learning model was developed to predict stress, incorporating pipeline structural parameters, internal pressure loads, and magnetic parameters. Model parameters were optimized using a grid search method with 50 % cross-validation, and performance was evaluated using R2, RMSE, and MAE metrics. Among RF, SVR, CART, and ANN algorithms, Random Forest (RF) performed best, achieving R2 = 0.87, RMSE = 0.045, MAE = 0.01 for stress prediction, and R2 = 0.97, RMSE = 0.05, MAE = 0.02 for magnetic flux density prediction. Comparisons with finite element method calculations across 12 pipeline parameter sets showed a maximum accuracy value error is within 6 %. The model’s robustness allows accurate predictions even with incomplete data, enabling non-excavation stress assessment using design data, field surveys, and tests. This provides valuable insights for pipeline lifecycle management and preventive maintenance, offering effective technical support for stress monitoring in oil and gas pipelines.
期刊介绍:
Contributions are invited on novel achievements in all fields of measurement and instrumentation science and technology. Authors are encouraged to submit novel material, whose ultimate goal is an advancement in the state of the art of: measurement and metrology fundamentals, sensors, measurement instruments, measurement and estimation techniques, measurement data processing and fusion algorithms, evaluation procedures and methodologies for plants and industrial processes, performance analysis of systems, processes and algorithms, mathematical models for measurement-oriented purposes, distributed measurement systems in a connected world.