Elsevier

Fluid Phase Equilibria

Volume 300, Issues 1–2, 25 January 2011, Pages 120-134
Fluid Phase Equilibria

Constrained and unconstrained Gibbs free energy minimization in reactive systems using genetic algorithm and differential evolution with tabu list

https://doi.org/10.1016/j.fluid.2010.10.024Get rights and content

Abstract

Phase equilibrium modeling plays an important role in design, optimization and control of separation processes. The global optimization problem involved in phase equilibrium calculations is very challenging due to the high non-linearity of thermodynamic models especially for multi-component systems subject to chemical reactions. To date, a few attempts have been made in the application of stochastic methods for reactive phase equilibrium calculations compared to those reported for non-reactive systems. In particular, the population-based stochastic methods are known for their good exploration abilities and, when optimal balance between the exploration and exploitation is found, they can be reliable and efficient global optimizers. Genetic algorithms (GAs) and differential evolution with tabu list (DETL) have been very successful for performing phase equilibrium calculations in non-reactive systems. However, there are no previous studies on the performance of both these strategies to solve the Gibbs free energy minimization problem for systems subject to chemical equilibrium. In this study, the constrained and unconstrained Gibbs free energy minimization in reactive systems have been analyzed and used to assess the performance of GA and DETL. Specifically, the numerical performance of these stochastic methods have been tested using both conventional and transformed composition variables as the decision vector for free energy minimization in reactive systems, and their relative strengths are discussed. The results of these strategies are compared with those obtained using SA, which has shown competitive performance in reactive phase equilibrium calculations. To the best of our knowledge, there are no studies in the literature on the comparison of reactive phase equilibrium using both the formulations with stochastic global optimization methods. Our results show that the effectiveness of the stochastic methods tested depends on the stopping criterion, the type of decision variables, and the use of local optimization for intensification stage. Overall, unconstrained Gibbs free energy minimization involving transformed composition variables requires more computational time compared to constrained minimization, and DETL has better performance for both constrained and unconstrained Gibbs free energy minimization in reactive systems.

Introduction

The accurate modeling of phase equilibrium plays a major role in the design, development, operation, optimization and control of chemical processes. For example, phase behavior has significant impact on equipment and energy costs of separation and purification processes in chemical industry. Further, solving phase equilibrium problems is a dominant task in the process simulation software. The development of reliable methods has long been a challenge and is still a research topic of continual interest [1]. The determination of the number of phases, their identity, and composition at equilibrium of multi-component systems is a complex issue and presents several numerical difficulties [1]. Chemical reactions, if present, increase the complexity and dimensionality of phase equilibrium problems, and so phase split calculations in reactive systems are more challenging due to non-linear interactions among phases and reactions [2]. This fact has prompted growing interest in reliable and efficient methods for the simultaneous computation of physical and chemical equilibrium.

The phase distribution and composition at equilibrium of a reactive mixture are determined by the global minimization of Gibbs free energy (G) subject to mass balance and chemical equilibrium constraints [3]. Specifically, the global optimization problem for reactive phase equilibrium calculations follows the form: minimize Fobj(u) subject to hj(u) = 0 for j = 1, 2, …, m and u  Ω where u is a vector of continuous variables in the domain Ω  n, m is the number of equality constraints related to material balances and chemical equilibrium, and Fobj(u) = G: Ω  ℜ is a real-valued function. The domain Ω is defined by the upper and lower limits of each decision variable, which are composition variables. This optimization problem can be formulated using either conventional composition variables (i.e., mole fractions or numbers), or transformed composition variables [3], [4], [5]. Based on the problem formulation and the numerical strategy used for this minimization, the methods can be grouped into two main categories: equation-solving methods and direct optimization strategies. In addition, depending on the handling of material balance constraints, these strategies can also be classified as either stoichiometric or non-stoichiometric [3], [6].

In general, classical strategies for determining the phase equilibrium of non-reactive systems have been extended and applied to systems subject to chemical reactions [3]. Equation-solving methods are based on the solution of non-linear equations obtained from the stationary conditions of the optimization criterion. Local search methods with and without decoupling strategies are frequently used to solve these equations in conjunction with the mass balance and chemical equilibrium restrictions [7]. However, they are prone to severe computational difficulties and may fail to converge to the correct solution when initial estimates are not suitable, especially for non-ideal multi-component and multi-reactive systems [1], [3], [6]. Note that the minimization of G in reactive systems involves many complexities because it is generally non-convex, constrained, highly non-linear with many decision variables, and often has unfavorable attributes such as discontinuity and non-differentiability (e.g., when cubic equations of state or asymmetric models are used for modeling thermodynamic properties). Additional complexities arise near the phase boundaries, in the vicinity of critical points or saturation conditions, and when the same model is used for determining the thermodynamic properties of the mixture [1], [3]. As consequence, G may have several local minima including trivial and non-physical solutions. In these conditions, conventional numerical methods are not suitable for performing reactive phase equilibrium calculations.

On the other hand, a number of optimization strategies for performing the minimization of G in reactive systems have been proposed, and they comprise local and global methods (e.g., [2], [3], [5], [6], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23]). The use of Lagrange multipliers is usually the preferred approach for G minimization but its performance is highly dependent on initial estimates of Lagrange multipliers [17]. There has been significant and increasing interest in the development of deterministic and stochastic global strategies for reliably solving reactive phase equilibrium problems. Studies on deterministic reactive phase equilibrium calculations have been focused on the application of the linear programming [9], [21], branch and bound global optimization [11], homotopy continuation methods [13], [15], [20], and interval analysis using an interval-Newton/generalized bisection algorithm [16]. Although these methods have proven to be promising, some of them are model-dependent, may require problem reformulation or significant computational time for multi-component systems [1], [24].

Alternatively, stochastic optimization techniques have often been found to be as reliable and effective as deterministic methods. Further, they offer more advantages for the global optimization of G. These methods are robust, require a reasonable computational effort for the optimization of multivariable functions (generally less time than deterministic approaches), applicable to ill-structure or unknown structure problems, require only objective function calculations and can be used with all thermodynamic models. In fact, it appears that they may fulfill the requirements of an ideal algorithm: reliability, generality and efficiency. To date, a few attempts have been made in the application of stochastic methods for reactive phase equilibrium calculations, compared to those reported for non-reactive systems [14], [19], [22], [23], [25]. Specifically, Lee et al. [14] introduced the application of the random search method of Luus and Jaakola for the global minimization of G using a non-stoichiometric formulation. On the other hand, Bonilla-Petriciolet et al. [19] formulated the unconstrained optimization problem for G minimization using simulated annealing (SA) and transformed composition variables. In another study, particle swarm optimization (PSO) and several of its variants have been applied for reactive phase equilibrium calculations using transformed composition variables [22]. Recently, our group [23] has tested and compared the performance of differential evolution (DE) and tabu search (TS) for the global minimization of G using reaction-invariant composition variables. Finally, Reynolds et al. [25] outlined a general procedure for the global optimization of G in reactive systems using SA and a non-stoichiometric approach. Results of these studies have shown the potential of stochastic optimization solvers for phase equilibrium calculations subject to chemical reactions.

In particular, the population-based stochastic methods are known for their good exploration abilities; when optimal balance between the exploration and exploitation is found, they can be reliable and efficient global optimizers. This is because at each generation/iteration a whole population of potential solutions is improved rather than a single solution. A variety of population-based stochastic methods have been proposed for chemical engineering applications including the modeling of phase equilibrium, e.g. [26], [27], [28], [29]. Specifically, genetic algorithms (GAs) and differential evolution with tabu list (DETL) have been very successful for performing phase equilibrium calculations in non-reactive systems [26], [28]. However, to the best of our knowledge, there are no studies on the performance of both these strategies for G minimization in systems subject to chemical equilibrium. These methods are suitable and promising for overcoming the numerical difficulties of this global optimization problem.

In this study, the constrained and unconstrained Gibbs free energy minimization in reactive systems have been analyzed and used to assess the performance of GA and DETL. Specifically, the numerical performance of these stochastic methods have been tested using both conventional and transformed composition variables as the decision vector for G minimization, and their relative strengths are discussed. The results of GA and DETL are compared with those obtained using SA, which has shown a competitive performance in reactive phase equilibrium calculations [19]. Our results on a variety of reactive systems indicate that DETL is superior to SA and GA for both the constrained and unconstrained Gibbs free energy minimization in reactive systems.

Section snippets

Gibbs free energy function

Classical thermodynamics indicates that, at constant temperature T and pressure P, the equilibrium for a c multi-component and π multi-phase system is achieved when the G function is at the global minimum [1]. This thermodynamic function is expressed as a linear combination of the chemical potential of each component in each phase, thenG=j=1πi=1cnijμijwhere nij is the number of moles of component i present in phase j and μij is the chemical potential of component i in phase j, respectively.

Description of stochastic optimization methods

In this study, we used three methods: SA, GA and DETL for the global minimization of constrained and unconstrained Gibbs free energy functions using both conventional (i.e., constrained minimization approach) and transformed composition variables (i.e., unconstrained minimization approach). SA has recently been used for reactive systems in [19], [25], whereas DETL and GA have not yet been tried for phase equilibrium calculations in reactive systems. SA is a point-to-point method while GA and

Description of reactive phase equilibrium problems

We have tested and compared the performance of SA, GA and DETL using a number of reactive systems and different thermodynamic models. The test problems include systems with vapor–liquid (VL) and liquid–liquid (LL) equilibrium. Details (i.e., feed conditions, thermodynamic models, objective function, decision variables and global optimum) of all examples are reported in Table 1, Table 2, Table 3. Parameters of thermodynamic models for these reactive systems are given in Appendix A. Most of the

Conclusions

In this work, performance of DETL, GA and SA is studied for Gibbs free energy minimization in reactive systems using both conventional and transformed composition variables. For both constrained (involving conventional composition variables) and unconstrained (involving transformed composition variables) problems, with and without local optimization, DETL and SA are better than GA in terms of reliability. However, these stochastic methods may face difficulties in finding the global minimum for

References (46)

  • W.D. Seider et al.

    Fluid Phase Equilib.

    (1996)
  • S. Ung et al.

    Chem. Eng. Sci.

    (1995)
  • E.S. Pérez-Cisneros et al.

    Chem. Eng. Sci.

    (1997)
  • Y.S. Teh et al.

    Chem. Eng. Res. Des.

    (2002)
  • J. Castillo et al.

    Comp. Chem. Eng.

    (1981)
  • H. Greiner

    Math. Comput. Model.

    (1988)
  • M. Castier et al.

    Chem. Eng. Sci.

    (1989)
  • C.M. McDonald et al.

    Comp. Chem. Eng.

    (1997)
  • A.V. Phoenix et al.

    Fluid Phase Equilib.

    (1998)
  • F. Jalali et al.

    Comp. Chem. Eng.

    (1999)
  • S.K. Wasylkiewicz et al.

    Fluid Phase Equilib.

    (2000)
  • G.I. Burgos-Solorzano et al.

    Fluid Phase Equilib.

    (2004)
  • P. Koukkari et al.

    Calphad

    (2006)
  • A. Bonilla-Petriciolet et al.

    Fluid Phase Equilib.

    (2008)
  • F. Jalali et al.

    Comp. Chem. Eng.

    (2008)
  • C.C.R.S. Rossi et al.

    Fluid Phase Equilib.

    (2009)
  • A. Bonilla-Petriciolet et al.

    Fluid Phase Equilib.

    (2010)
  • D.V. Nichita et al.

    Comp. Chem. Eng.

    (2002)
  • G.P. Rangaiah

    Fluid Phase Equilib.

    (2001)
  • M. Srinivas et al.

    Comp. Chem. Eng.

    (2007)
  • S.K. Wasylkiewicz

    Chem. Eng. Sci.

    (2000)
  • B.V. Babu et al.

    Comp. Chem. Eng.

    (2006)
  • M.L. Corazza et al.

    Fluid Phase Equilib.

    (2004)
  • Cited by (37)

    • Application of Pathfinder, Honey Badger, Red Fox and Horse Herd algorithms to phase equilibria and stability problems

      2023, Fluid Phase Equilibria
      Citation Excerpt :

      Bonilla-Petriciolet et al [1] state that the effectiveness of the optimization techniques depends on the stopping criteria, types of decision variables and the inclusion of local optimization techniques. Phase stability and equilibrium problems can be formulated and transformed from constraint problems to unconstraint ones; this is usually done by introducing new variables and transformation [1,30,31]. Based on the No Free launch theorem, no single optimization algorithm can sufficiently solve all optimization problems [32].

    • The prediction multi-phase, multi reactant equilibria by minimizing the Gibbs energy of the system: Review of available techniques and proposal of a new method based on a Monte Carlo technique

      2020, Chemical Engineering Science
      Citation Excerpt :

      But these methods are still model-dependent and may require problem reformulation. Genetic algorithm (Bonilla-Petriciolet et al., 2011) is a search heuristic algorithm for solving optimization problems. It is used in artificial intelligence.

    • Chemical and phase equilibrium calculations by Gibbs energy minimization using deterministic methods based on globally convergent branch and bound algorithms

      2017, Fluid Phase Equilibria
      Citation Excerpt :

      The algorithm was then run on eight benchmark equilibrium problems extracted from the study conducted by Bonilla-Petricolet and collaborators [9]. From these preliminary runs, values for the global optima of each problem were obtained and then compared with values reported by Bonilla-Petricolet et al. [9]. This approach, however, lead to very high values of α, which in turn, conduced to impractically high computational times.

    View all citing articles on Scopus
    View full text