西南石油大学学报(自然科学版) ›› 2018, Vol. 40 ›› Issue (1): 122-129.DOI: 10.11885/j.issn.1674-5086.2016.10.08.01

• 石油与天然气工程 • 上一篇    下一篇

基于最小自由能法的理想气相反应平衡新算法

张守鑫, 张足斌   

  1. 中国石油大学(华东)储运与建筑工程学院, 山东 青岛 266580
  • 收稿日期:2016-10-08 出版日期:2018-02-01 发布日期:2018-02-01
  • 通讯作者: 张足斌,E-mail:zhangzubin_1@163.com
  • 作者简介:张守鑫,1988年生,男,汉族,山东烟台人,博士研究生,主要从事天然气处理、油气储运系统安全与环境保护技术方面的研究。E-mail:lileixin@126.com;张足斌,1971年生,男,汉族,江苏江阴人,副教授,博士后,主要从事油罐与管道强度、天然气利用方面的研究。E-mail:zhangzubin_1@163.com

Novel Algorithm for Calculating Ideal Gas Phase Reactions Based on the Minimization of Free Energy

ZHANG Shouxin, ZHANG Zubin   

  1. College of Pipeline and Civil Engineering, China University of Petroleum, Qingdao, Shandong 266580, China
  • Received:2016-10-08 Online:2018-02-01 Published:2018-02-01

摘要: 针对目前采用最小自由能法计算理想气相反应平衡问题存在的不足,提出了梯度投影拉格朗日算法。算法中,采用了弱收敛准则作为梯度投影法的收敛标准,并从数学上证明了梯度投影法采用弱收敛条件的合理性和算法的收敛性,基于此,将梯度投影法的计算结果作为牛顿法计算拉格朗日乘数法的计算初值,同时对牛顿法的迭代步长进行了改进,从而解决了牛顿法计算初值选取困难的问题,提高了算法的稳健性和计算速度。算例计算结果表明,该算法的收敛速度快且计算精度高。

关键词: 最小自由能法, 理想气相反应, 克劳斯反应, 拉格朗日乘数法, 梯度投影法

Abstract: In this work, we propose a gradient projected Lagrangian algorithm to address the inadequacies of current free-energy minimization-based solution method for calculating the composition of the ideal gas phase equilibrium. In this algorithm, a weak convergence criterion was used as the convergence criterion of the gradient projection method. Mathematical proofs were then provided for the rationality of the weak convergence conditions used in the gradient projection method, as well as the convergence of this algorithm. On this basis, the result calculated by the gradient projection method was used as the initial value in Newton's method with Lagrange multipliers, and improvements were also made on the iteration step used in Newton's method. We have thus resolved the difficulty of selecting an initial value for Newton's method, and improved the stability and computational speed of the algorithm. The results of example calculations demonstrated that the algorithm proposed in this work converges very quickly and exhibits a high level of computational accuracy.

Key words: free-energy minimization methods, ideal gas phase reactions, Claus reaction, Lagrange multiplier, gradient projection method

中图分类号: