Guangyuan Weng, Xinlei Xing, Zhaoyang Han, Bo Wang, Xiyu Zhu, Jie Zheng
{"title":"基于磁力耦合和机器学习的油气管道应力预测模型","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":"{\"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}","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
摘要
本研究提出了一种新的基于机器学习的模型,用于精确监测天然气管道中的应力,这对于确保安全高效的运行至关重要。该模型利用了由管道外径、壁厚、弹性模量、相对渗透率、结构特性等参数获得的应力和磁通密度数据,并结合通过磁仿真平台获得的内部压力载荷和环境磁场。因此,数据主要来自于磁性仿真平台,还包括一些模型试验和课题组实测数据的积累。数据预处理包括缺失值输入、离群值处理和归一化。建立了三维并行计算机器学习模型,结合管道结构参数、内部压力载荷和磁参数进行应力预测。使用网格搜索方法优化模型参数,交叉验证率为50%,并使用R2、RMSE和MAE指标评估性能。在RF、SVR、CART和ANN算法中,随机森林(Random Forest, RF)算法的应力预测R2 = 0.87, RMSE = 0.045, MAE = 0.01;磁通密度预测R2 = 0.97, RMSE = 0.05, MAE = 0.02。与有限元法在12个管道参数集上的计算结果进行比较,结果表明该方法的最大精度值误差在6%以内。该模型的稳健性使得即使在数据不完整的情况下也能进行准确的预测,从而可以使用设计数据、现场调查和测试进行非开挖应力评估。这为管道生命周期管理和预防性维护提供了有价值的见解,为油气管道的应力监测提供了有效的技术支持。
Stress prediction model of oil and gas pipeline based on magnetic-force coupling and machine learning
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.