(733b) A Unified Presentation of Phase Stability Analysis: Specifications, State Functions, Variables, Stability Criteria and Solution Methods
AIChE Annual Meeting
2021
2021 Annual Meeting
Engineering Sciences and Fundamentals
Thermophysical Properties and Phase Behavior II
Wednesday, November 17, 2021 - 1:00pm to 1:15pm
Four possible formulations of tangent plane distance (TPD) functions are presented and analyzed in detail for various specifications: i) formulation in mole fractions and one/two intensive (molar extensive) variable(s); ii) formulation in mole numbers and one/two extensive variable(s), leading to modified TPD functions; iii) the volume-based formulation (when pressure is a specification) and iv) formulation in component molar densities and an extensive variable density. It is shown that all cases naturally reduce to either PT stability (when pressure is a specification, such in PHN and PSN stability) or VTN stability (when volume is a specification, such in UVN and SVN stability), by solving a specific nonlinear equation with respect to temperature. Furthermore, the PT stability can be solved using a volume-based approach, in which volume is a primary variable (thus the equation of state is not solved for volume) and the pressure equation as an additional stationarity condition. The VTN stability can be also used for negative pressures and pure components, unlike the PT stability.
A general stability criterion is derived using three different methods. The general TPD function degenerates to the specific TPD function corresponding to any desired specifications. A general spinodal criterion is derived from the Hessian of the general TPD function and a procedure relating spinodal conditions at various specifications to those in PT and VT (or molar density-temperature) planes is given. A special attention must be paid to the mechanical instability domain (located inside the mechanical spinodal). A detailed description of safe procedures for handling specifications leading to mechanical instability is given. The singularities for the phase stability problem are the spinodal (trivial saddle point) and the stability test limit locus (STLL), which is a nontrivial saddle point. The vicinity of the latter stationary point poses the most severe convergence problems in phase stability and requires a special attention
The calculation protocol consists in modified Newton iterations with diagonal corrections (via a modified Cholesky factorization) to restore positive definiteness of the Hessian matrix in negative curvature regions and a two-stage line search procedure (to keep iteration points within the feasible domain and to guarantee the decrease of the objective function). Alternatively, a robust combined SSI/Newton method can be used, with damped SSI in early iteration stages and sculptured switching criteria (intended to avoid chaotic convergence behavior due to potential instability of successive substitutions and to prevent unnecessary slow first-order iterations before the switch). For the latter approach, a detailed description is given in a companion paper (Robustness and efficiency of phase stability testing at VTN and UVN conditions, Nichita, 2021 AIChE Annual Meeting, Poster Session: Thermodynamics and Transport Properties). Finally, the practical result is a single code able to handle all specifications, with multiple options to select between the desired PT (conventional or volume based) and VTN treatments.
Numerical experiments are carried out for several mixtures of various degrees of complexity, by spanning the planes defined by all pairs of major specifications at fixed overall number of moles and using refined grids (resulting in a large number of test points). Solution methods for phase stability testing proved to be highly robust and efficient, with no failure and, unlike previous methods, with no dramatic locally increase in the number of iterations at problematic conditions; no outliers were found, even at the most challenging conditions (e.g. outside the STLL in any specific plane). Phase envelopes are constructed in PT, VT, PH, PS, UV, SV planes, together with several key curves (STLL, spinodal, mechanical spinodal, zero-pressure curve). Heat maps highlight the domains with a relative increase in iteration numbers.
This paper presents the first unified treatment of phase stability testing including all major specifications; beyond its theoretical importance, an important practical consequence is a unified calculation framework for phase stability testing, allowing a versatile numerical treatment and using highly robust and efficient procedures whatever the specifications. A single code handling all major specifications is valuable for compositional simulators addressing a variety of thermodynamic processes.