Unified presentation and comparison of various formulations of the phase stability and phase equilibrium calculation problems

被引:19
作者
Smejkal, Tomas [1 ]
Mikyska, Jiri [1 ]
机构
[1] Czech Tech Univ, Fac Nucl Sci & Phys Engn, Dept Math, Trojanova 13, Prague 12000 2, Czech Republic
关键词
C plus plus templates; General formulation; Generic programing; Phase equilibrium calculation; Phase stability testing; Modified Cholesky decomposition; Multicomponent mixtures; Newton-Raphson method; Optimization; VTN-flash; PTN-flash; UVN-flash; ISOTHERMAL FLASH PROBLEM; ENTROPY MAXIMIZATION; TEMPERATURE SPECIFICATIONS; MULTIPHASE EQUILIBRIA; SPLIT CALCULATION; VOLUME; STATE; EQUATION; ENERGY; COMPUTATION;
D O I
10.1016/j.fluid.2018.03.013
中图分类号
O414.1 [热力学];
学科分类号
摘要
In this paper we present general formulations of the phase-equilibrium and phase-stability problems for multicomponent mixtures and verify that these formulations generalize the problems of phase equilibrium and phase-stability at constant volume, temperature, and mole numbers (VTN-flash), at constant internal energy, volume, and mole numbers (UVN-flash), and at constant pressure, temperature, and mole numbers (PTN-flash). Furthermore, we develop a numerical method for solving the general formulation of phase-equilibrium problems. This algorithm is based on the direct minimization of the objective function with respect to the constraints. The algorithm uses a modified Newton-Raphson method, along with a modified Cholesky decomposition of the Hessian matrix to generate a sequence of states with decreasing values of the objective function. The algorithm was implemented in C++ and using generic programing we have a single, portable solver for all three flash formulations. Properties of the algorithm are shown on phase-equilibria problems of multicomponent mixtures in different specifications and with different levels of difficulty. Complexities and numerical performance of the individual flash formulations are discussed. (C) 2018 Published by Elsevier B.V.
引用
收藏
页码:61 / 88
页数:28
相关论文
共 37 条
[1]  
[Anonymous], 1981, Practical optimization
[2]   Comparison of C++ and Fortran 90 for object-oriented scientific programming [J].
Cary, JR ;
Shasharina, SG ;
Cummings, JC ;
Reynders, JVW ;
Hinker, PJ .
COMPUTER PHYSICS COMMUNICATIONS, 1997, 105 (01) :20-36
[3]   Dynamic simulation of fluids in vessels via entropy maximization [J].
Castier, Marcelo .
JOURNAL OF INDUSTRIAL AND ENGINEERING CHEMISTRY, 2010, 16 (01) :122-129
[4]   Solution of the isochoric-isoenergetic flash problem by direct entropy maximization [J].
Castier, Marcelo .
FLUID PHASE EQUILIBRIA, 2009, 276 (01) :7-17
[5]  
Firoozabadi A., 2015, THERMODYNAMICS APPL, Vfirst
[6]  
Firoozabadi A., 1999, THERMODYNAMICS HYDRO
[7]  
FUSSELL DD, 1978, SOC PETROL ENG J, V18, P173, DOI 10.2118/6050-PA
[8]   TECHNIQUE FOR CALCULATING MULTIPHASE EQUILIBRIA [J].
FUSSELL, LT .
SOCIETY OF PETROLEUM ENGINEERS JOURNAL, 1979, 19 (04) :203-210
[9]  
Gill P. E., 1974, Mathematical Programming, V7, P311, DOI 10.1007/BF01585529
[10]   Efficient and Robust Three-Phase Split Computations [J].
Haugen, Kjetil B. ;
Firoozabadi, Abbas ;
Sun, Lixin .
AICHE JOURNAL, 2011, 57 (09) :2555-2565