殷雄, 徐波, 刘天尧, 温凯, 黄维和, 宫敬. 考虑温压补偿的天然气管道自适应仿真方法[J]. 油气储运, 2024, 43(6): 710-719. DOI: 10.6047/j.issn.1000-8241.2024.06.013
引用本文: 殷雄, 徐波, 刘天尧, 温凯, 黄维和, 宫敬. 考虑温压补偿的天然气管道自适应仿真方法[J]. 油气储运, 2024, 43(6): 710-719. DOI: 10.6047/j.issn.1000-8241.2024.06.013
YIN Xiong, XU Bo, LIU Tianyao, WEN Kai, HUANG Weihe, GONG Jing. Self-adaptive simulation method for natural gas pipeline considering temperature and pressure compensations[J]. Oil & Gas Storage and Transportation, 2024, 43(6): 710-719. DOI: 10.6047/j.issn.1000-8241.2024.06.013
Citation: YIN Xiong, XU Bo, LIU Tianyao, WEN Kai, HUANG Weihe, GONG Jing. Self-adaptive simulation method for natural gas pipeline considering temperature and pressure compensations[J]. Oil & Gas Storage and Transportation, 2024, 43(6): 710-719. DOI: 10.6047/j.issn.1000-8241.2024.06.013

考虑温压补偿的天然气管道自适应仿真方法

Self-adaptive simulation method for natural gas pipeline considering temperature and pressure compensations

  • 摘要:
    目的 天然气管网运行的数字化与智能化是必然趋势,在线仿真技术在其中起着至关重要的作用。
    方法 针对国外商业软件中在线仿真核心算法不公开的问题,从仿真模型构建、实时数据处理及温压补偿器设计3个方面提出一套适用于天然气管道在线仿真的自适应仿真方法。首先从管道基本流动方程出发,采用交错网格下的有限容积法进行离散求解,并利用线模型思想引入设备模型,使得天然气管道的流动仿真过程精度高、统一性好且扩展性强。同时基于3σ-MAF(3 Times Standard Deviation-Moving Average Filtering)方法实现了SCADA数据的实时处理,可识别传感器数据异常值并降低测量噪声。继而通过控制理论将模型自适应问题转化成以实测值与仿真值误差最小为目标的负反馈控制问题,并基于PID(Proportional Integral Derivative)算法设计了温压补偿器,实现在线仿真过程气体流动状态的修正,通过某实际管网算例进行算法验证。
    结果 通过与SCADA实测数据对比发现,压力修正前、后的仿真值与实测数据的平均相对误差从2.407%降至0.066%,温度修正前、后的仿真值与实测数据的平均相对误差从1.525%降至0.273%,极大地提高了在线仿真结果的准确性。
    结论 考虑温压补偿的天然气管道自适应仿真方法具有算法稳定、误差修正快及收敛误差小的优点,可为后续国产化工业级在线仿真软件应用落地提供理论基础。

     

    Abstract:
    Objective The digital and intelligent operation of natural gas pipeline networks has emerged as an inevitable trend, emphasizing the vital role of online simulation technology.
    Methods This study proposed a self-adaptive approach for the online simulation of natural gas pipelines, focusing on simulation model construction, real-time data processing, and the design of a temperature-pressure compensator. The objective is to address the core algorithm for online simulation, which is not disclosed in foreign commercial software. Firstly, based on the fundamental flow equation of pipelines, the finite volume method employing a staggered mesh was utilized for discrete solutions, and the line model concept was integrated into the equipment model to enhance the precision, uniformity, and expansibility of the flow simulation process in natural gas pipelines. Meanwhile, the 3 Times Standard Deviation-Moving Average Filtering (3σ-MAF) method was applied for the real-time processing of SCADA data, to facilitate the identification of abnormal values in sensor data and the reduction of measurement noise. Subsequently, the study on model self-adaption was transformed into an investigation into negative feedback control to minimize the discrepancy between measured and simulated values leveraging the control theory. Furthermore, a temperature-pressure compensator design was introduced, utilizing the Proportional Integral Derivative (PID) algorithm to enable the gas flow state correction in the online simulation process. The proposed algorithm was verified through its practical implementation in a real pipeline network scenario.
    Results In the comparison with the measured SCADA data, the average relative error between the simulated and measured data decreased from 2.407% to 0.066% following pressure correction, and from 1.525% to 0.273% due to temperature correction. These reductions underscored the significant effectiveness of enhancing the accuracy of online simulation results.
    Conclusion The proposed self-adaptive simulation method for natural gas pipelines considering temperature and pressure compensations, stands out for its stable algorithm, rapid error correction, and minimal convergence error. This method provides a theoretical foundation for the subsequent applications of domestic online simulation software at the industrial level.

     

/

返回文章
返回