Abstract
We adopt the orthogonal collocation finite element method to solve an equilibrium diffusion model of a simulated moving bed chromatography separation process. We propose an optimization strategy based on the improved moving asymptotes algorithm to improve system performance indexes. By the triangle theory, we verify the feasibility of the improved moving asymptotes method. The simulation results illustrate that the improved moving asymptotes method converges quickly and results in uniformly distributed optimal solutions. This work aims to show that the simulated moving bed process can be dynamically controlled and optimized using an optimizing controller based on the method of improved moving asymptotes, facilitating the design and operation of a simulated moving bed.
Keywords
Introduction
Simulated moving bed (SMB) separation is a continuous chromatographic separation technique for scale production (Ruthven and Ching, 1989), having the advantages of strong separation ability, small size, and low operation cost. It has a large range of applications in the petroleum chemical, fine chemical, and sugar industries (Qamar et al., 2014; Song et al., 2016), among others. Recently, due to strong coupling and complexity in the SMB separation process, many researchers have turned to modeling and optimizing the SMB separation process to provide theoretical guidance for product development and expand its industrialization and application range (Bentley et al., 2013; Heegeun and Sungyong, 2012; Kostka et al., 2011; Püttmann et al., 2013; Qamar et al., 2014). Commonly used SMB chromatography models (Gomes et al., 2016) include the general rate model (GRM), lumped pore diffusion model (PORM), ideal model (IM),equilibrium dispersive model (EDM), and transport dispersive model (TDM). Compared with other models, the EDM is simpler, more precise, and more practical. Therefore, it has a large range of applications (Schramm et al., 2003).
However, an SMB model is very difficult to solve because of its partial differential equations. Therefore, a typical solution method involves converting the partial differential equations to ordinary differential equations using discrete methods, such as the orthogonal collocation finite element method (Absar et al., 2008; Finlayson, 1980), Galerkin method (Thomée, 2006), or the space-time conservation element and solution element method (Wang et al., 2010). Compared to other methods, the orthogonal collocation finite element method is not only convenient and fast but also flexible and accurate in the processing of stiff problems. There are many operation conditions affecting the chromatographic separation performance in an SMB process, such as switching time, area flow rate, and column size. Therefore, the optimization analysis of SMB is a hot research topic in this area (Bentley et al., 2013; Lim, 2004). Marco Mazzotti first proposed the triangle theory (Mazzotti et al., 1997) under ideal assumptions, ignoring axial dispersion and mass transfer resistance. In recent years, genetic algorithms or particle swarm optimization (PSO) have been used for SMB process design (Aniceto, 2016; Neto et al., 2016). The genetic algorithm requires copy, crossover, and mutation operations, affecting its efficiency. PSO also has shortcomings, including easily falling into local optimal solutions, being prone to instabilities, and exhibiting slow convergence.
In this paper, we first solve the equilibrium diffusion model for an SMB chromatographic separation process using the orthogonal collocation finite element method. Then, based on the moving asymptote method (Svanberg, 1987), we propose a method of improving the moving asymptote (IMA) and apply it to the optimization of purity, yield, and solvent reduction. Finally, we simulate optimization of an SMB chromatographic separation process. The simulation results show that IMA can be applied to an SMB chromatographic separation process and verified by the triangle theory. Compared with other algorithms, the optimization control method adopting IMA is more effective in modeling the chromatography separation process, helping to improve the economic benefits of SMB and guide production.
The mathematical model
The mathematical model of SMB chromatographic separation is composed of a series of single chromatographic column models and node models (Horvath et al., 2010; Lu, 2003). Because the equilibrium diffusion model (EDM) is more practical and quick for simulation, we adopt it as our single column chromatographic model. We consider the effects of molecular diffusion, eddy diffusion, and mass transfer resistance while ignoring the influence of interphase mass transfer resistance. The diffusion of the fluid phase and solid phase reaches an equilibrium state instantaneously; thus, we do not consider it, either.
The mathematical description of EDM is as follows
Our boundary condition is
The adsorption isotherm equation is qi (x,t) = f [c(x,t)].
The equilibrium relationship between the nodes can be obtained by the mass conservation relations
Model solutions
Orthogonal collocation finite element method
The orthogonal collocation finite element method (Absar et al., 2008; Finlayson, 1980)is a combination of orthogonal collocation and the finite element method that uses piecewise smooth orthogonal polynomials to approximate an unknown function. By discretizing the unknown derivatives, the differential equations to be solved are transformed into algebraic equations whose unknown values are node function values (Lin, 2004).
We carry out the discrete processing of the EDM using the orthogonal collocation finite element method. First, we divide the solution domain of the model into finite elements, and obtain the element stiffness matrix in every finite element using the orthogonal collocation points. Then we combine the element stiffness matrix with our boundary conditions to obtain the whole stiffness matrix, producing a set of nonlinear equations.
We use the subsection finite element method to partition the definition domain, and orthogonalize the finite elements using Lagrange polynomials. This arrangement is shown in Figure 1. Dividing the definition domain into LH = L/h number of finite elements, we configure the collocation points in each finite element, and adopt Lagrange polynomials as interpolation polynomials. If N represents the number of points per finite element internal configuration, there are N(LN + 2) residual error conditions. Because the total number of conditions should be (N + 1)(LH)+1, we need (LH-1) more conditions. To supplement, we keep the first-order derivatives continuous on (LH-1) boundaries of the finite elements. In Figure 1, for 0 = X1 < X2 ⋯ < X LH = 1, hi is the length of the ith finite element; thus hi = Xi+1–Xi. We adopt the average finite element method so that h1 = h2 = … = hLH = h.

Orthogonal configuration of Lagrange polynomial on the finite element.
Taking the EDM equation (1) as an example, equation (1) can be converted into
To carry out orthogonal collocation, in each finite element, we take Np zeros of Np displacement Legendre polynomials as internal collocation points, also accounting for the two endpoints, 0 and 1. We then construct the Lagrange interpolation polynomials, so the first-order and second-order spatial derivatives
Model solution and simulation
We used MATLAB software to numerically solve the mathematical model of the SMB.
In the initialization stage, we set the initial concentration values in each zone, physical parameters, operating parameters, and the isotherm parameters as shown in Tables 1 and 2.
Physical parameters and isotherm parameters.
Operation parameters.
When inlets and outlets periodically, the concentration of the components in two adjacent switching cycles remains essentially unchanged and periodic steady state can be achieved. Figure 2 shows the concentration changes over the switching cycle, and Figure 3 illustrates the concentration changes of two components in the extract and the raffinate. From Figures 2 and 3, it can be seen that periodic steady state is achieved after 68 switching cycles. Figure 4 shows the axial concentration distribution of the SMB under periodic steady state.

Changes of concentration over switching cycle.

Change in outlet concentration.

Changes in outlet concentration of components A and B in each column.
Optimization strategy of SMB
Optimizing control approach
SMB is a separation technology combining high productivity and low solvent consumption and playing an important role in chemical industry. During its development, it was found that the most challenging problem is the optimization of SMB process operations. Therefore, we propose an on-line optimal control scheme, integrating optimization and control of the SMB process. The optimizer is based on a repetitive model predictive control and a simple SMB device having few parameters. These include adsorption behavior of the mixture separation and the overall void fraction of the column, both of which are easy to measure. These parameters can also be modified continuously by Kalman filter feedback to detect component concentrations. In this cycle control scheme, measurement, optimization, and control behavior occur in each cycle.
Figure 5 shows the structure of the SMB optimizer.

‘Cycle to cycle’ control scheme of the SMB process.
Principles of IMA
The moving asymptotes (MA) method is a convex function-based optimization method proposed by Svanberg in 1987. Since then, this method has attracted much interest. It uses convex functions and variable-separable subproblems to approximate the objective and constraints of the original problem. By solving these subproblems, we can obtain an optimal solution. In this method, the approximation function is replaced by the first-order derivative of the current iteration point. This optimization method is flexible and general. It can be used to handle not only variable element sizes but also all kinds of constraints, provided that the derivatives of the constraint functions with respect to the design variables can be calculated (analytically or numerically). Thus, it is able to handle general nonlinear programming optimization problems. Because obtaining the analytical derivative of our approximation function is difficult, we adopt a discrete information feedback control system and modify the algorithm (MIMA). MIMA replaces the derivative with a more easily obtained and less costly difference scheme. In addition, MIMA is easy to implement and use. MIMA can optimize and solve multi-objective problems by changing an implicit problem into subproblems. The optimization problem is as follows
The first step to solving the problem is to construct the subproblems. The solution of the original problem is approximated by that of the subproblems. The detailed algorithm procedure is as follows:
Step 1: Let k = 0, choose the initial point x0.
Step 2: Give the iteration point xk, and calculate fi (Xk) and ▽fi(Xk), i = 1, 2,…,m
Step 3: Use the established subproblem to approximate the original problem, replacing fi(X) by fik(X), using the data calculated in step 2.
Step 4: Solve subproblem. The optimal solution of the subproblem is taken as the next iterative point, i.e. k = k + 1, and we return to step 2.
Construction of subproblem
When using IMA for solving optimization problems, the key point is to construct and solve the subproblem. In the kth iterative of the algorithm, the subproblem is constructed as follows
In the subproblem, if xjk is close to Ljk or Ujk, the value of fik will increase sharply, making xjk = Ljk or xjk = Ujk asymptotes. The solution after each iteration is maintained between Ljk and Ujk, which change between iterations; thus, Ljk and Ujk are called MA.
The second partial derivative of fik at X = Xk is
Equation (25) is simplified as equation (26).
Thus, since pijk ≥ 0 and qijk ≥ 0, fik is a convex function. In addition, the next iterative point always exists between the lower bound Ljk and upper bound Ujk. Therefore, we can obtain a good approximation by regulating the boundary values. When we compare IMA with other optimization algorithms, we see that it has some advantages including easily obtained solutions, low computational cost, and subproblems constructed with convexity and separable independent variables.
Solution of subproblem
In IMA, the subproblem we constructed also needs to be solved; here we express it with the Lagrange function.
For equations (18) to (20), we omit the number of iterations k, and present the simplified form as follows
The subproblem is a convex function with separable variables, which can be solved by the dual method. The subproblem is constructed as a Lagrange function, which is
Substituting subproblem (27) into (30), we have
The following equation can be obtained by simplifying equation (31).
If yi ≥ 0, the dual objective function can be constructed as
The minimum value of xj is determined by Y; it can be expressed as xj(Y). If yi ≥ 0, then p0 j + YTPj ≥ 0 and q0 j + YTQj ≥ 0. Hence, lj(xj,Y) is a convex function.
Therefore, assuming that there is at least one positive term in p0
j
+ YTPj and q0
j
+ YTQj, and the first-order derivative of lj(xj,Y) on xj is
The second-order derivative of lj(xj,Y) on xj is
The second-order derivative of lj(xj,Y) on xj is positive, so the first-order derivative of lj(xj,Y) on xj is an increasing function. The conclusions about the minimum value of xj(Y) are as follows:
If If If
Substituting xj(Y) into the following function w(Y), we have
Hence, we obtain the first-order partial derivative of
Then, the dual problem of the subproblem is equivalent to the maximum value of the dual function w(Y) when yi ≥ 0.
SMB optimization strategy
Maximizing productivity
We apply IMA to an SMB operation optimization process, with productivity Pr as the goal function, and purities of component A (strong adsorption component) and B (weak adsorption component) as the constraint conditions. The specific problem can be described as follows
The physical parameters of the SMB are shown in Table. 1. The selection of initial points is as follows: QR = 2.5 mL/min, QE = 2.5 mL/min, k = 0, and the initial values of the asymptotes are Lj = 0 and Uj = 5. The average concentration in equations (40) to (42) is replaced by the online concentration detection value. The optimization results are shown in Table. 3.
Comparison of results of optimization.
IMA: improving the moving asymptote; PSO: particle swarm optimization.
Table 3 shows the results of optimization using IMA and PSO, respectively. The simulation results show that the two optimization algorithms can both obtain satisfactory productivity by optimizing QR, QE, and switching time t* so that the product purity meets requirements. In particular, optimization with IMA is better than that with PSO in terms of product purity and productivity, primarily because their search modes are different. In the same number of iterations, PSO does not converge as well, and does not synchronously exploit and explore the design space, whereas IMA converges faster and is better in fine search ability.
Maximizing extraction and raffinate purity
In an SMB, high product purity is the most basic requirement. In the optimization problem, feed flow rate QF and elution flow rate QD are fixed values. On this basis, the purity of the extraction and raffinate is maximized.
We took the flow rate of zone 2 as one of the control variables, and the switching time t as another*. The mathematical model of the optimization problem is
The optimization problem also ensures that the purity of the product reaches a set limit, given as
The physical parameters of our SMB are shown in Table. 1. Decision variables are as follows: 3 min ≤ t *≤ 5 min; 0.3 mL/min ≤ Q2 ≤ 1.5 mL/min; QF = 0.23 mL/min; QD = 0.95 mL/min; Q1 = 1.65 mL/min. Figure 6 shows the distribution of Pareto (Wu et al., 2006) optimal solution sets from both IMA and PSO. The simulation results show that both optimization algorithms can converge to the front of the Pareto optimal solution set.

Optimal solution of IMA and PSO. IMA: improving the moving asymptote; PSO: particle swarm optimization.
In the process of optimization and convergence, the number of Pareto optimal set frontiers of IMA, represented by the solid black square, is less than those of PSO, represented by the hollow circle. This shows that IMA has higher search efficiency and faster convergence than PSO. Finally, they converge to the upper right side of the image with slightly higher extraction purity achieved by IMA.
To ensure the accuracy of IMAs in SMB optimization, we use the triangle theory for verification. Based on balance theory, m2 and m3 are fixed values under ideal conditions. However, due to diffusion and mass transfer resistance in actual separation processes, m2 and m3 move from high to low with the Pareto optimal solution.
The corresponding positions of operation points after optimization on the m2–m3 plane are shown in Figure 7. We can see from the figure that the optimization results from the proposed algorithm remain in the complete separation region, and that the calculation results satisfy the triangle theory.

m2–m3 plane of IMA and PSO. IMA: improving the moving asymptote; PSO: particle swarm optimization.
Maximizing productivity and minimizing solvent consumption
From an economic point of view, SMB solvent consumption and productivity are important indicators. We set the flow rate of feed QF and the flow rate of zone 1 Q1 to minimize solvent consumption and maximize productivity. Because QF and Q1 are given, three of the operation parameters QD, QR, QE, Q2, Q3 and Q4 are independent, and we take QD, QR, QE, and t* as control variables. Therefore, the mathematical description of this optimization is as follows
The purity of the product fulfills equations (45) and (46).
Decision variables and fixed parameters:
3 min ≤ t* ≤ 5 min; 0.5 mL/min ≤ QD ≤ 5 mL/min; QF = 0.23 mL/min; 0.2 mL/min ≤ QR ≤ 2 mL/min; 0.3 mL/min ≤ QE ≤ 3 mL/min; Q1 = 1.65 mL/min.
Figure 8 shows the Pareto optimal solution sets distribution of both IMA and PSO. We see that the two algorithms can converge to the upper left side of the image, near solvent consumption of 1 L/g, and productivity near 3.5 g/L-h. However, IMA has a small number of optimal solution sets, showing that the method converges quickly.

Optimal solution distribution of IMA and PSO. IMA: improving the moving asymptote; PSO: particle swarm optimization.

m2–m3 plane of IMA and PSO. IMA: improving the moving asymptote; PSO: particle swarm optimization.
Figure 9 shows the position of optimized operating points of IMA and PSO in the m2–m3 plane, all in the complete separation region. However, IMA is closer to the best operation point W.
The distributions of decision variables of IMA and PSO are shown in Figures 10 and 11, respectively. It can be seen from the figures that both algorithms can converge to the optimal solution set front, showing that they are applicable and robust. However, IMA converges more quickly, and produces more uniformly distributed control solutions.

Control variable of IMA. IMA: improving the moving asymptote.

Control variable of PSO. PSO: particle swarm optimization.
Conclusions
The modeling of SMB systems is an open problem due to strong coupling and complex mechanisms. The uncertainty in SMB systems is typically significant, so their performance can be improved by adopting robust feedback control algorithms. The online optimization approach developed in this study is able to find optimal operating schemes for a broad class of SMB processes.
We adopt a method combining orthogonal collocation with the finite element method to solve the equilibrium diffusion mathematical model of an SMB chromatographic separation process. With our improved MA algorithm, extract purity, raffinate purity, productivity, and solvent consumption are optimized and simulated. Its feasibility is verified by triangle theory.
To verify the applicability and effectiveness of the improved moving asymptote algorithm, we simulate the optimization strategy and algorithm and compare the simulation results with the PSO algorithm. These comparisons show that the improved moving asymptote algorithm requires less computation, converges more quickly, and produces well-distributed optimal solutions. This SMB optimization strategy can be used for SMB separation process design and operation guidance.
Footnotes
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
