摘要
随着纯氢与掺氢天然气管网的快速发展,传统的数值求解算法面临数值稳定性及求解效率的挑战,迫切需要研究高效、稳定的数值求解新方法,以优化掺氢天然气管网设计,提高管网运营效率。为此,在研究了掺氢对天然气管网瞬态仿真过程中矩阵条件数的影响基础上,提出了将压缩行存储格式(CSR)与水热力解耦策略相结合的数值求解算法,并评估了其在瞬态输氢管网仿真中的适应性。研究结果表明:①天然气管网掺氢会导致瞬态仿真中矩阵的条件数增加数十至数百倍,影响解的稳定性;②相较于传统的二维矩阵算法,基于CSR的数值求解算法能至少提升10倍计算效率,且随着矩阵规模的增大,提升效果呈指数级增长;③在管网仿真中推荐优先使用稀疏LU分解法,当结果不稳定时,再考虑使用稀疏QR分解作为备用方案;④解耦策略下,求解矩阵的条件数显著降低,算法的稳定性提高,仿真求解性能至少为耦合的10倍,在基于CSR的算法中,也有50%以上的性能提升。结论认为,该研究成果可以为提高纯氢与掺氢天然气管网瞬态仿真效率提供有益的参考,具有重要的理论意义和实际应用价值。
With the rapid development of pure hydrogen and hydrogen-blended natural gas pipeline networks,traditional numerical solution algorithms face challenges in respect of numerical stability and solution efficiency.Under this context,more efficient and stable numerical solution algorithms are urgently needed for improving the design and operation of hydrogen-blended natural gas pipeline networks.In this paper,a new numerical solution algorithm combining compressed sparse row(CRS)and hydro-thermal decoupling strategy is proposed after investigating how hydrogen blending affects the condition number of matrix in transient simulation of natural gas pipeline networks,and its adaptability in transient simulation of hydrogen pipeline networks is evaluated.The following results are obtained.First,hydrogen blending into natural gas pipeline networks can increase the condition number of matrix in transient simulation by tens to hundreds of times,which affects the stability of solution.Second,compared with traditional two-dimensional matrix algorithms,the CSR-based numerical solution algorithm can improve the computational efficiency by at least 10 times,with the improvement effect increasing exponentially with the increase of the matrix size.Third,sparse LU-decomposition algorithm is preferentially recommended in the transient simulation of pipeline networks.When the results are unstable,sparse QR-decomposition algorithm can be considered as an alternative solution.Fourth,under the decoupling strategy,the number of conditions for solving the matrix is significantly reduced,the stability of the algorithm is improved,and the simulation solution performance of the decoupling is at least 10 times that of the coupling,or improved by more than 50%in the case of CSR-based algorithm.It is concluded that the research results provide a useful reference for improving the transient simulation efficiency of pure hydrogen and hydrogen-blended natural gas pipeline networks,and have important theoretical significance and practical application value.
作者
李玉星
陈若飞
朱建鲁
仇柏林
吕浩
陈凤
张双蕾
杨浩
陈俊文
何佳薪
LI Yuxing;CHEN Ruofei;ZHU Jianlu;QIU Bolin;LYU Hao;CHEN Feng;ZHANG Shuanglei;YANG Hao;CHEN Junwen;HE Jiaxin(Shandong Provincial Key Laboratory of Oil,Gas and New Energy Storage and Transportation Safety//China University of Petroleum-East China,Qingdao,Shandong 266580,China;Southwest Branch of China Petroleum Engineering&Construction Corporation,Chengdu,Sichuan 610041,China)
出处
《天然气工业》
北大核心
2025年第5期188-200,共13页
Natural Gas Industry
基金
国家重点研发计划项目“中低压纯氢与掺氢燃气管输工艺与掺氢设备研发”(编号:2021YFB4001602)。
关键词
掺氢天然气
瞬态
管网仿真
数值求解
稀疏矩阵
CSR
解耦
仿真效率
Hydrogen-blended natural gas
Transient
Pipeline network simulation
Numerical solution
Sparse matrix
CSR
Decoupling
Simulation efficiency