A robust numerical scheme for the calculation of constant composition (isoplethic) phase diagrams of complex multicomponent mixtures is presented. The scheme refers to the sequential calculation of the phase envelope of a mixture by guiding the estimation for the equilibrium curve via the introduction of a "spring" that sets the slope value of the modified tangent plane distance with respect to either temperature or pressure. A simple variation of the proposed method allows direct estimation of the Cricondentherm and/or Cricondenbar points, thus avoiding the calculation of the entire phase diagram. Extensive tests of the proposed scheme for different types of phase diagrams, using both cubic and higher-order equations of state are presented. V C 2015 American Institute of Chemical Engineers AIChE J, 62: 868-879, 2016 Keywords: phase envelope, equations of state, stability analysis
IntroductionAccurate and robust prediction of the phase equilibrium boundaries of multicomponent mixtures is important for the design, simulation, and optimization of various processes in oil and gas and in chemical industry. A plethora of approaches to tackle the problem have been proposed, which differ in the formulation of the problem, the numerical scheme used, and the details of the implementation. [1][2][3][4] The basis for the mathematical description of the multiphase equilibrium problem has been given by the seminal work of Gibbs who originally formulated the laws of equilibrium thermodynamics for open systems. Gibbs defined the list of variables along with the set of relations between them. These variables are the extensive and the intensive properties of each phase. Depending on the particular conditions, it is convenient to choose a different set of independent variables and use the corresponding relations to evaluate the remaining. Although there is a relative freedom to choose which variables to consider as independent, their number is strictly set by the Gibbs phase rule, according to which, the thermodynamic equilibrium state of a (nonreactive) system consisting of P phases and C components, is uniquely specified, if C2P 1 2 independent variables are set.The origin of the thermodynamic relations that govern phase equilibrium can be traced back to the first and the second law of thermodynamics for a closed system, where entropy, as an extensive and convex function of volume and energy, takes a maximum value for any given value of these variables. The vast majority of the solution schemes reformulates the problem of entropy maximization to an equivalent optimization problem of another thermodynamic potential and solves it by means of local optimization methods or nonlinear equations system solving techniques. The local properties of the thermodynamic potential in use produce the set of independent equations for the solution of the phase equilibrium problem and provide the local stability criteria.The requirement for phase stability that is location of the global minimum of the Gibbs free energy is formally addressed by the...