摘要
随着用气需求的日益增加,天然气管网的规模逐渐复杂化,管网仿真消耗的计算资源和计算时间亦趋庞大。对于管网仿真过程中出现的大型代数方程组,结合天然气管网的拓扑结构特征,提出一种分层计算方法,该方法将管网自上而下分解为若干层,每层又包含若干独立的子管网,从而使得每个子管网的计算可以独立执行。这种处理方法降低单次求解方程组的规模,同时也使得每层中各子管网的求解可以并行实现,从而有效提高仿真计算的效率。最后基于一个复杂管网的数值案例对算法的计算精度和效率进行分析,结果表明:相比于传统直接求解方法,分层算法可以在维持同等计算精度的前提下,提高仿真求解速度,在该案例中平均加速比达到了2倍左右。
As the demand for gas increases,the natural gas pipeline network is becoming more and more complicated,and the computational resources and time consumed by pipeline network simulation are also increasing.For the large algebraic equations in the pipeline network simulation,this paper proposes a layered calculation method,combined with the topological structure characteristics of the natural gas pipeline network.This method decomposes the pipeline network into several layers from top to bottom,and each layer contains several independent sub-pipeline networks so that the calculation of each sub-pipeline network can be performed independently.The method reduces the size of the single solution equation set and makes the solution of each sub-pipe network in each layer realized in parallel,thus effectively improving the efficiency of simulation calculation.Finally,this paper analyzes the calculation accuracy and efficiency of the algorithm based on a numerical case of a complex pipe network.The results show that compared with the traditional direct solution method,the layered algorithm can improve the simulation speed under the premise of maintaining the same calculation accuracy.In this case,the average acceleration ratio reaches about 2 times.
作者
阎涛
刘天尧
王雪莉
薛向东
康阳
朱峰
YAN Tao;LIU Tianyao;WANG Xueli;XUE Xiangdong;KANG Yang;ZHU Feng(PipeChina Institute of Science and Technology,Langfang 065000,China;School of Software Engineering,Xi'an Jiaotong University,Xi'an 710049,China)
出处
《石油工程建设》
2024年第1期65-74,共10页
Petroleum Engineering Construction
基金
国家石油天然气管网集团有限公司科学研究与技术开发项目“油气管网在线仿真平台研发及应用(一期)”(SSCC202104)。
关键词
天然气管网
数值仿真
分层求解
natural gas pipeline network
numerical simulation
layered solution