肖述辉, 杜传甲, 王成军. 改进麻雀搜索算法优化BP神经网络管道腐蚀速率预测模型[J]. 油气储运, 2024, 43(7): 760-768,795. DOI: 10.6047/j.issn.1000-8241.2024.07.005
引用本文: 肖述辉, 杜传甲, 王成军. 改进麻雀搜索算法优化BP神经网络管道腐蚀速率预测模型[J]. 油气储运, 2024, 43(7): 760-768,795. DOI: 10.6047/j.issn.1000-8241.2024.07.005
XIAO Shuhui, DU Chuanjia, WANG Chengjun. Pipeline corrosion rate prediction model using BP neural network based on improved sparrow search algorithm[J]. Oil & Gas Storage and Transportation, 2024, 43(7): 760-768,795. DOI: 10.6047/j.issn.1000-8241.2024.07.005
Citation: XIAO Shuhui, DU Chuanjia, WANG Chengjun. Pipeline corrosion rate prediction model using BP neural network based on improved sparrow search algorithm[J]. Oil & Gas Storage and Transportation, 2024, 43(7): 760-768,795. DOI: 10.6047/j.issn.1000-8241.2024.07.005

改进麻雀搜索算法优化BP神经网络管道腐蚀速率预测模型

Pipeline corrosion rate prediction model using BP neural network based on improved sparrow search algorithm

  • 摘要:
    目的 为保障油气储运系统安全运行,需准确预测油气管道腐蚀速率。现有预测模型多基于BP神经网络建立,存在收敛速度慢、易陷入局部最优等缺点。
    方法 为解决上述问题,提出一种基于改进麻雀搜索算法(Sparrow Search Algorithm, SSA)优化BP神经网络的管道腐蚀速率预测模型,通过反向学习策略初始化种群,引入混合正余弦算法更新发现者位置,加入Levy飞行策略更新追随者位置对麻雀搜索算法进行改进。基于改进后的麻雀搜索算法对BP神经网络的权重与阈值进行寻优,从而提高参数选择的科学性。
    结果 以100组20钢材料试验获取的均匀腐蚀速率与点蚀速率的样本数据为例,综合多种改进策略(Multiple Improvement Strategies, MIS),分别建立BP、SSA-BP、MIS-SSA-BP神经网络管道腐蚀速率预测模型,对油气管道均匀腐蚀速率与点蚀速率进行训练、预测及模型对比。MIS-SSA-BP神经网络管道腐蚀速率预测模型的平均绝对误差、均方误差、均方根误差、平均绝对百分比误差均处于极低水平,且均匀腐蚀速率、点蚀速率预测值与实测值的相对误差均低于5%,其各项评价指标与预测精度均显著优于BP、SSA-BP神经网络管道腐蚀速率预测模型。
    结论 MIS-SSA-BP神经网络管道腐蚀速率预测模型具有良好的预测性能,为后续油气管道腐蚀速率预测研究提供了新方法与思路。

     

    Abstract:
    Objective Accurate corrosion rate prediction of oil and gas pipelines is critical to ensure the operational safety of oil and gas storage and transportation systems. However, most of the existing prediction models are based on the BP neural network, which has drawbacks such as slow convergence rates and a tendency to fall into local optima.
    Methods This paper proposes a pipeline corrosion rate prediction model using an optimized BP neural network based on an improved Sparrow Search Algorithm to address the aforementioned disadvantages. The improvement process involved initializing the population through a reverse learning strategy. Additionally, a hybrid sine-cosine algorithm was introduced to update the location of discoverers, and a Levy flight strategy was incorporated to update the location of followers within the Sparrow Search Algorithm. Based on the enhanced Sparrow Search Algorithm, the weights and thresholds of the BP neural network were optimized, leading to a more scientifically selected set of parameters.
    Results Incorporating sample data of uniform corrosion rates and pitting corrosion rates from 100 rounds of 20 steel tests, pipeline corrosion rate prediction models were established respectively utilizing BP, SSA-BP, and MIS-SSA-BP neural networks. These models were applied to train, predict, and compare uniform corrosion rates and pitting corrosion rates of oil and gas pipelines. The MIS-SSA-BP neural network prediction model exhibited very low mean absolute error, mean square error, root mean square error, and mean absolute percentage error. Its relative errors between the predicted and measured values of both uniform corrosion rates and pitting corrosion rates were all below 5%. Furthermore, this model showcased superior evaluation indexes and prediction accuracy compared to the BP and SSA-BP neural network prediction models.
    Conclusion After additional study efforts, the strong prediction performance of the pipeline corrosion rate prediction model based on the MIS-SSA-BP neural network has been further verified. The research findings offer new approaches and insights for future investigations into the prediction of corrosion rates in oil and gas pipelines.

     

/

返回文章
返回