## Abstract

Surrogate-based optimization of distillation columns using an iterative Kriging approach is investigated. Focus is on deterministic global optimization to avoid suboptimal local minima. The determination of optimal setups and operating conditions for ideal and non-ideal distillation columns, leading to mixed-integer nonlinear programming problems, serve as case studies. It is found that the optimization using the adapted Kriging approach yields similar results compared to the direct global optimization of the original problem in the ideal case, while it leads to a huge improvement compared to a multistart local optimization approach in the non-ideal case.

## 1 Introduction

Rigorous optimization of distillation columns is of major interest in the chemical process industry due to its high economical impact. Due to the presence of discrete and continuous decision variables this leads to mixed-integer nonlinear programs (MINLP). Standard local optimization or stochastic optimization approaches can not guarantee that the optimum found by the optimizer is the global one. Alternatively, deterministic global optimization based on convex relaxations within a branch and bound framework has become an interesting approach for solving such problems, e.g., see the recent textbook by Locatelli and Schoen [6] for an introduction. However, computation times for distillation columns using standard model formulations from first principles are often extremely large [1, 7, 8].

To overcome this problem, different solution approaches were recently proposed. Quirante et al. [11] suggested to use surrogate models based on Kriging interpolation for optimization of distillation columns to reduce computational complexity. Main emphasis was on local optimization but it was also suggested to use Kriging models to reduce computational complexity in deterministic global optimization. Nallasivam et al. [8] presented an algorithm for calculating minimum energy requirements for thermally coupled distillation column configurations. The algorithm is based on a shortcut model which is only valid for ideal mixtures under minimum reflux conditions. An alternative approach for any reflux based on rigorous tray to tray models was proposed by Ballerstein et al. [1]. It applies to binary ideal mixtures. Illustration was demonstrated for a hybrid distillation crystallization process for isomer separation. The approach is based on monotonicity of the concentration variables in a binary distillation, which can be used to systematically reduce the search space. More recently this strategy could be extended in Mertens et al. [7] to ideal multicomponent distillation processes using a model reformulation strategy, which results in monotonicity of some aggregated concentration variables. However, an extension to non-ideal mixtures is in general not possible as will be argued in the present paper. Therefore, global optimization using Kriging models as proposed by Quirante et al. [11] is further investigated in some detail in this paper and compared to the previous approaches by Mertens et al. [7].

The outline of the paper is as follows: The general concept of Kriging interpolation is briefly explained in Sect. 2. Section 3 deals with ideal multicomponent distillation, which admits a rigorous global optimization using the reformulation by Mertens et al. [7]. It is shown that very similar results could be obtained with the Kriging approach using iterative refinement. Afterwards a highly non-ideal azeotropic mixture is considered in Sect. 4. Since rigorous global optimization is currently not possible with standard global optimization software within reasonable time, global optimization with the Kriging approach is compared with local optimization and thereby demonstrating the power of the global Kriging approach for highly non-ideal mixtures.

## 2 Kriging models

Kriging models can be used to approximate complex mathematical models of real world processes. During the last years they gained increasingly more interest from engineers from different fields, such as chemical engineering, e.g. see [2] and [11]. The accuracy of Kriging models, as well as their complexity, depends on the number of reference points used for their generation. In this section the basic idea of an ordinary Kriging model is briefly sketched. The presentation mainly follows [2].

Given a vector-valued function \(\varvec{f}:{\mathbb {R}}^{m}\rightarrow {\mathbb {R}}^{d}\) and a finite number of *reference points* \(\bar{\varvec{x}}^{k}\in {\mathbb {R}}^m\), \(k = 1,\dots , N\), a Kriging interpolation is a vector-valued function \(\varvec{\hat{f}}:{\mathbb {R}}^m\rightarrow {\mathbb {R}}^d\) with \(\varvec{\hat{f}}(\varvec{x}):= \varvec{q}(\varvec{x}) + \varvec{Z}(\varvec{x})\). Here, \(\varvec{q}:{\mathbb {R}}^m\rightarrow {\mathbb {R}}^d\) is a vector-valued function consisting of polynomials, and \(\varvec{Z}:{\mathbb {R}}^m\rightarrow {\mathbb {R}}^d\) is a vector-valued function used to describe the deviation of \(\hat{\varvec{f}}(\varvec{x})\) from \(\varvec{q}(\varvec{x})\). In ordinary Kriging models, as considered in this work, function \(\varvec{q}(\varvec{x})\) is chosen to be a vector \(\varvec{\xi }\in {\mathbb {R}}^d\) of suitable constants. Although this restriction seems to be rather strong, it does not affect the accuracy of the resulting surrogate model significantly for smooth functions, because most of the information is contained in \(\varvec{Z}(\varvec{x})\) as noted by Papalambros and Wilde [9]. Function \(\varvec{Z}(\varvec{x})\) is assumed to be a weighted sum of the deviations at all reference points with certain weights depending on \(\varvec{x}\) that are defined by a weight function \(\varvec{w}:{\mathbb {R}}^m\rightarrow {\mathbb {R}}^{N}\), i.e.

This leads to the following representation for \(\hat{\varvec{f}}\).

It is further postulated that vector \(\hat{\varvec{f}}(\varvec{x})\) is identical to vector \(\varvec{f}(\varvec{x})\) for each reference point, i.e.

In order to ensure the conditions in Eq. (1), it is requested that the weight function evaluated at the *k*th reference point coincides with the *k*th unit vector \({\mathbf {e}}_k\in {\mathbb {R}}^{N}\), i.e.

A parametrized function \(c:{\mathbb {R}}^m\times {\mathbb {R}}^m\rightarrow {\mathbb {R}}\) and a matrix \(\varvec{R}\) are further used to calculate the weights \(\varvec{w}(\varvec{x})\) as follows.

Due to (2), matrix \(\varvec{R}\) needs to be

Note that function *c* and the reference points must be chosen such that matrix \(\varvec{R}\) is invertible. In the literature, various strategies for finding a suitable function *c* and appropriate reference points are available, e.g. see [5].

In case of \(\varvec{f}\) being a Gaussian process, minimizing the variance of the estimation error \(\hat{\varvec{f}}(\varvec{x})-\varvec{f}(\varvec{x})\) leads to function values \(c(\varvec{x}^1,\varvec{x}^2)\) being the covariance between the points \(\varvec{x}^1\) and \(\varvec{x}^2\). When interpolating a deterministic function (as considered here), any function \(c(\varvec{x}^1,\varvec{x}^2)\) may be feasible and the best choice is non-trivial. The choice of the function determines how the model fits the data. Therefore, it usually contains parameters that have to be optimized in order to generate a surrogate model with a good fit. The most commonly used function is an exponential function of the following form [2]

For \(\varvec{x}^1 = \varvec{x}^2\), value \(c(\varvec{x}^1,\varvec{x}^2)\) equals one, while it tends to zero when the distance between the points \(\varvec{x}^1\) and \(\varvec{x}^2\) increases. For every component *i*, parameter \(\theta _i\) defines the speed of this tendency and parameter \(p_i\) denotes the smoothness of *c*. In summary, \(\varvec{Z}(\varvec{x})\) is calculated as

with constant matrix \(\varvec{F}\) given by

Thus, there are some unknown parameters that have to be calculated, namely \(\varvec{\xi }\), \(\theta _i\) and \(p_i\). Following [11], values of the parameters are obtained by maximizing the logarithmic likelihood function

with

In this work the MATLAB function “fmincon” is used for the identification of the parameters, i.e. for the fitting of the Kriging models. Pseudo code describing the fitting procedure is shown in Algorithm 1.

As the choice of the reference points may greatly influence the accuracy, it is important to use a space filling approach instead of using randomly generated data points. Otherwise clustering in unimportant regions of the model may occur and can result in a surrogate model of poor quality. In this work, a *Halton sequence* [4] is used to cover the space evenly. Figure 1 shows an illustrative example of the difference between a Halton sequence, depicted as red dots, and a random number sequence, depicted as blue dots, with 100 samples each. While the red dots cover the space evenly, clustering in the blue dots occurs, e.g. in the upper right corner. The integer variables are enumerated through the sampling procedure.

After a first Kriging model is generated, it is optimized using the deterministic global optimization software BARON [12]. Following [2], a second, refined Kriging model is constructed by restricting the sampling region to a certain neighborhood around the found solution of the first Kriging model. The second Kriging model is likely to be more precise in the region of interest. It may happen that one of the variables in the solution of the second Kriging model attains its value at the boundary of its respective domain. In this case, a further Kriging model is generated using a neighborhood around the optimal solution of the second Kriging model as sampling region. Note that the latter neighborhood also covers regions that are not contained in the neighborhood around the optimal solution of the first Kriging model.

This refinement approach is related to trust region methods that are used as a numerical solving strategy to compute locally optimal solutions for non-linear optimization problems. Trust region methods are based on an iterative procedure in that an approximation model of the original problem is solved in each step. In each iteration the corresponding approximation model is restricted to a certain sub-region usually containing the solution of the previous iteration. The size of the sub-regions may depend on the assumed model quality estimated with information from previous steps. We refer to the work [13] for a recent survey on trust region methods.

All Kriging models constructed through our computations are implemented as MINLPs and solved using the GAMS 24.6.1 framework with the deterministic global optimization software BARON 15.9.22., Cplex 12.6.3 is used as LP/MIP subsolver and CONOPT 3.17A is utilized as NLP subsolver. The calculations are carried out on a Linux PC with 3.40 GHz Intel Core i7-6700 CPU and 16 GB memory.

## 3 Ideal distillation

As a first case study an ideal four-component distillation column with variable number of stages and a variable feed stage is chosen. A sketch of such a distillation column is depicted in Fig. 2. The distillation process aims to separate the two more volatile components from the two less volatile components under given purity requirements, while minimizing the total annualized cost (TAC) of the process. The mathematical model description as well as the numerical test instances are taken from Mertens et al. [7]. Despite the fact that the vapor-liquid-equilibrium (VLE) of the column is modeled as ideal, i.e. with constant relative volatilities, finding a global optimum of the corresponding MINLPs is rather challenging using standard model formulations. It was, however, demonstrated in Mertens et al. [7] that a model reformulation in combination with tailor-made optimization techniques can reduce the computational effort considerably. Thus, globally optimal solutions for different test instances are available and can be used as references to investigate the accuracy of the surrogate based approach presented in this work.

The case study deals with three different mixtures that are separated with three different product specifications each. This leads to a total number of nine test instances. The mixtures are labeled by numbers 1, 2 and 3 where the difficulty of the separation task increases from mixture 1–3. The product specifications are given by the purity requirements on the distillate, i.e. on the mixture consisting of the two more volatile components, and on the bottom product, i.e. the mixture consisting of the two less volatile components. Different product specifications are labeled by letters *a, b* and *c*, and become more restrictive for the separation task from *a* to *c*. The concrete parameter setting defining each test instance is provided in Mertens et al. [7].

Note that feasible solutions to the considered MINLPs represent feasible distillation column designs of the corresponding separation tasks. A characterization of each such designs is given by the length \(l_r\) of the rectifying section, i.e. the part above the feed stage (see Fig. 2), by the length \(l_s\) of the stripping section, i.e. the part below the feed stage, by the distillate flow rate *D* in mol/s and by the vapor flow rate *V* in mol/s. For the known optimal solutions to our test instances, these characteristic properties are summarized in Table 1. The computation times needed to carry out the optimization using a SCIP optimization framework are given in column “time” in seconds.

Algorithm 1 described in Sect. 2 is applied to a model of the distillation column implemented in MATLAB, where the input variables \(\varvec{x}\in S\) are \(V\in [0.85,3]\), \(D\in [0.8,1]\) and \(l_r,l_s\in [1,24]\) and the desired output variables \(\varvec{Y}(\varvec{x})\) are the concentrations of the product mixtures at the top and the bottom of the column. The resulting Kriging models are implemented and optimized in GAMS/BARON. The objective function is taken from Mertens et al. [7] and the purity requirements are implemented as inequality constraints. The results obtained for all test cases can be found in Table 2. The results for the cases labeled with subscript 1 refer to the results obtained with the first Kriging model, generated with 696 sampling points. Results for the cases labeled with subscript 2 are obtained by the second Kriging models generated with the iterative sampling approach presented in Sect. 2, using 1156 sampling points. The new sampling region for the degrees of freedom lies within a 25% range of the found optimum for the continuous variables, *V* and *D*, and \(\pm \, 2\) around the optimum of the integer variables, \(l_s\) and \(l_r\). It can be seen that the iterative Kriging optimization approach is able to calculate a solution lying in the neighborhood of an actual global optimum. However, it is important to note that the iterative Kriging approach may lead to solutions that are not close to a global optimal one. This may be due to a possibly high inaccuracy of the first Kriging model that may yield initial solutions that are already far away from a global optimum. If the first Kriging model is then refined around a solution of poor quality, it may not be possible to arrive at an actual global optimum as it is no longer captured by the refined sampling region of the subsequent Kriging model.

Note that in most cases the first solutions obtained do not meet the constraints due to the inaccuracy of the first Kriging model. However, after the refinement of the sampling region the constraints are met by the found optimal solutions.

Strict comparison of computation times of the different approaches is not possible due to different hardware and optimization software configurations. However, it was observed that the reference model typically could not be solved within 10 h, whereas the reformulated model with some tailor made bound tightening strategies was most of the time solved in less than an hour. For the detailed statistics we refer to Mertens et al. [7]. The computation times needed for the optimization using the Kriging approach presented with standard software (BARON) is given in Table 2 in the column “time” in seconds. Additional time is needed for the sampling (around 45 s) and the fitting of the Kriging model (around 680 s). The computation times of both approaches lie in the same order of magnitude.

## 4 Non-ideal distillation

In the previous section focus was on separation of ideal mixtures with constant relative volatilities. Next, a highly non-ideal azeotropic mixture with variable volatilities is considered.

From Sect. 3 it is clear that the global optimization of the reformulated model is preferable to the optimization of the Kriging model, because the global optimality of the result obtained with the Kriging approach can not be guaranteed. However, global optimization of the rigorous model is computationally even much more expensive compared to the previous example. Further, a monotonic reformulation \(\hat{x_i}(z)\) of the molar fractions \(x_i(z)\) like in the previous ideal case is also not possible anymore, as will be shown in the following.

Take the transformed states \(\hat{x_i}\) as functions of the molar fractions \(x_i\)

and their derivatives with respect to the spatial coordinate *z*

for the proof.

The assumption of positive derivatives in (7) and (10) always holds for the distillation of ideal mixtures, but it cannot be guaranteed for non-ideal mixtures because of the occuring azeotropes.

One example for such a mixture is the distillation of Toluene, Methanol and Methylbutyrate [3], which is investigated here. It is easy to see from the residue curve map, representing the column profiles at total reboil and reflux, depicted in Fig. 3, that the above condition that the column profiles have to be monotonic for at least two of the components is not met.

To model non-ideal phase behavior, several activity coefficient models, such as UNIQUAC and Wilson [10], may be used. In the present case study a Wilson approach is chosen. The column is assumed to be operated at a constant pressure of 1.013 hPa, the feed rate *f* is set to 1.8 mol/s and the feed composition mole fraction \(x_{\mathrm {Feed}}\) is [0.2806, 0.6566, 0.0628], where the first entry refers to Toluene, the second entry to Methanol and the third entry to Methylbutyrate. The aim of the optimization is to find optimal operating conditions such that at least 80 % of component Toluene contained in the initial feed flow rate is gained at the bottom of the column with a purity of at least 95 %. This gives rise to the two constraints

where *B* is the bottom flow rate in mol/s. The same objective function as in the previous example is used. The degrees of freedom are the distillate flow rate \(D\in [1.1, 1.7]\) mol/s, the vapor flow rate \(V\in [2,13]\) mol/s, as well as the number of stages \(l_r+l_s+1\) and the feed location \(l_s+1\) with \(l_r,l_s\in [1,24]\).

Since global optimization with the rigorous model or its reformulation like in the ideal case is not possible within reasonable time anymore, local optimization is applied as a reference. For this, the local multi-start heuristic provided by BARON is applied with 5000 starting points. The results are displayed in the second row of Table 3 labeled with “Local”.

The Kriging models have been fitted using 1190 sampling points. A cross validation of the first Kriging model (case “Surrogate\(_1\)” in Table 3) was done with 100 points and is depicted in Fig. 4 as magenta dots. The first Kriging model is rather inaccurate, especially in the occuring discontinuity of \(x_{\mathrm {T,Bott}}\), that is roughly contained in the interval (0.72, 0.85). This is due to the large sampling region and due to the complexity of the problem. As a result, the operating conditions obtained in the first optimization are violating the constraints with \(x_{\mathrm {T,Bott}}=0.9034\) and \(x_{\mathrm {T,Bott}}\cdot B =0.3820\) mol/s.

Since the operating conditions found during the reference optimization “Local” are far away from the optimal operating conditions for “Surrogate\(_1\)”, the sampling region for the adaptive Kriging approach is chosen to be larger than in the ideal case, with \(\pm \,3\) for the integer variables, \(\pm \,25\,\%\) for *D* and \(+3\) for *V*. After sampling around the obtained optimum and generating the second Kriging model (“Surrogate\(_2\)” in Table 3) a second cross validation with 100 points was done. The results are shown in Fig. 4 as black dots. The second Kriging model is much more accurate and is able to model the discontinuity quite well. It turns out, that the new optimum obtained for Surrogate\(_2\) satisfies the desired conditions stated in Eqs. (12).

Note that the values for \(l_r\) and \(l_s\) given by the computed optimal solution of the second Kriging model lie on the boundary of their respective sampling region. Hence, a third Kriging model (Surrogate\(_3\)) is generated around this optimum with \(l_r,l_s\pm \,3\), *D* within a 25 % range and \(V\in [2,4]\). In the third optimization the objective value could be lowered further. Comparing the result of the local optimization with the iterative global optimization of the Kriging models, the objective value is finally lowered by \(29.86\%\).

The purity of Toluene achieved with the operating conditions of “Surrogate\(_3\)” is higher than the required specification of 95%. To decrease the objective function value further, a local search using the obtained operating conditions as initial conditions is done in MATLAB using the high-fidelity reference model and thereby reducing the purity to 95%. The results of that optimization can be found in Table 3 (see row “Local\(_{\mathrm {M1}}\)”).

Based on the solution “Local\(_{\mathrm {M1}}\)” and combining expert knowledge with further local optimization iterations the solution that is shown in row “Local\(_{\mathrm {M2}}\)” of Table 3 can be obtained, which is the best local optimum we found through our computations. However, the improvement achieved by applying “Local\(_{\mathrm {M2}}\)” compared to the use of “Surrogate\(_3\)” is minor with respect to the improvement that is achieved by applying “Surrogate\(_3\)” compared to the use of “Local”.

The computation times for each optimization are given in seconds in the column “time” of Table 3.

## 5 Conclusion

In this work, two case studies concerning the distillation of multi-component mixtures have been conducted, where global optimization techniques have been applied to surrogate models of the distillation columns investigated.

It was shown that the reformulation developed earlier by the authors is not always applicable in the case of a distillation of a mixture with non-ideal VLE, rendering the problems unsolvable within a reasonable amount of time for standard deterministic global optimization software. In these cases, the iterative global optimization of surrogate models is a good alternative, which yields better optima than ordinary local solver and in some cases comes close to the global optimum. It can, however, not be guaranteed that the solution obtained by the optimization of these surrogate models is the actual global optimum or lies in a close neighborhood of it.

Further work will be concerned with more advanced adaptive sampling methods and algorithms for the generation of global models.

## References

Ballerstein M, Kienle A, Kunde C, Michaels D (2015) Deterministic global optimization of binary hybrid distillation/melt-crystallization processes based on relaxed MINLP formulations. Optim Eng 16:409–440

Caballero JA, Grossmann IE (2008) An algorithm for the use of surrogate models in modular flowsheet optimization. Am Inst Chem Eng J 54(10):2633–2650

Dorn C, Güttinger TE, Wells GJ, Morari M, Kienle A, Klein E, Gilles ED (1998) Stabilization of an unstable distillation column. Ind Eng Chem Res 37:506–515

Kocis L, Whiten WJ (1997) Computational investigations of low-discrepancy sequences. ACM Trans Math Softw 23(2):266–294

Koehler JR, Owen AB (1996) Computer experiments. In: Ghosh S, Rao CR (eds) Handbook of statistics, chap. 9. Elsevier Science, Cambridge, pp 261–308

Locatelli M, Schoen F (2013) Global optimization. Theory, algorithms, and applications. MOS-SIAM series on optimization. Cambridge University Press, Cambridge

Mertens N, Kunde C, Kienle A, Michaels D (2016) A reformulation strategy for deterministic global optimization of ideal multi-component Ddistillation processes. In: Proceedings of the 26th European symposium on computer aided process engineering, pp 691–696

Nallasivam U, Shah VH, Shenvi AA, Huff J, Tawarmalani M, Agrawal R (2016) Global optimization of multicomponent distillation configurations: 2. enumeration based global minimization algorithm. Am Inst Chem Eng J 62(6):2071–2086

Papalambros PY, Wilde DJ (2000) Principles of optimal design: modeling and computation, 2nd edn. Cambridge University Press, Cambridge

Poling BE, Prausnitz JM, O’Connell JP (2000) The properties of gases and liquids, 5th edn. Mcgraw-Hill Professional, New York City

Quirante N, Javaloyes J, Caballero JA (2015) Rigorous design of distillation columns using surrogate models based on Kriging interpolation. Am Inst Chem Eng J 61(7):2169–2187

Tawarmalani M, Sahinidis NV (2005) A polyhedral branch-and-cut approach to global optimization. Math Program 103(2):225–249

Yuan Y-X (2015) Recent advances in trust region algorithms. Math Program 151(1):249–281

## Acknowledgements

We gratefully acknowledge the open access funding provided by the Max Planck Society. This work is part of the Collaborative Research Center “Integrated Chemical Processes in Liquid Multiphase Systems—InPROMPT”. Financial support by the Deutsche Forschungsgemeinschaft (DFG) is gratefully acknowledged through SFB/TRR 63.

## Author information

### Authors and Affiliations

### Corresponding author

## Ethics declarations

### Conflict of interest

The authors declare that they have no competing interests.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Keßler, T., Kunde, C., Mertens, N. *et al.* Global optimization of distillation columns using surrogate models.
*SN Appl. Sci.* **1**, 11 (2019). https://doi.org/10.1007/s42452-018-0008-9

Received:

Accepted:

Published:

DOI: https://doi.org/10.1007/s42452-018-0008-9

### Keywords

- Global optimization
- Distillation
- Surrogate models
- Kriging