원시데이터 수집 시스템
선정목록으로

Novel Framework for Simulated Moving Bed Reactor Optimization Based on Deep Neural Network Models and Metaheuristic Optimizers: An Approach with Optimality Guarantee

간접 관련 화학·수지 · (21) 에폭시수지 (19) 석유수지(20) 페놀수지(23) 컴파운드

기본 정보

저자
  1. Vinícius V. Santana — Industrial Engineering Program, Polytechnic School, Federal University of Bahia, Rua Prof. Aristides Novis, 2─Federação, 40210-630 Salvador/Bahia, Brazil|||Laboratory of Separation and Reaction Engineering, Associate Laboratory LSRE-LCM, Department of Chemical Engineering, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465 Porto, Portugal
  2. Márcio A.F. Martins — Industrial Engineering Program, Polytechnic School, Federal University of Bahia, Rua Prof. Aristides Novis, 2─Federação, 40210-630 Salvador/Bahia, Brazil
  3. José M. Loureiro — Laboratory of Separation and Reaction Engineering, Associate Laboratory LSRE-LCM, Department of Chemical Engineering, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465 Porto, Portugal
  4. Ana M. Ribeiro — Laboratory of Separation and Reaction Engineering, Associate Laboratory LSRE-LCM, Department of Chemical Engineering, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465 Porto, Portugal
  5. Luana P. Queiroz — Laboratory of Separation and Reaction Engineering, Associate Laboratory LSRE-LCM, Department of Chemical Engineering, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465 Porto, Portugal
  6. Carine Menezes Rebello — Industrial Engineering Program, Polytechnic School, Federal University of Bahia, Rua Prof. Aristides Novis, 2─Federação, 40210-630 Salvador/Bahia, Brazil
  7. Alírio E. Rodrigues‬ — Laboratory of Separation and Reaction Engineering, Associate Laboratory LSRE-LCM, Department of Chemical Engineering, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465 Porto, Portugal
  8. Idelfonso B. R. Nogueira — Department of Chemical Engineering, Norwegian University of Science and Technology (NTNU), 7491 Trondheim, Norway
DOI
10.1021/acsomega.2c06737
저널
ACS Omega
발행년도
2023
발행기관
American Chemical Society
피인용수
4
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.1021/acsomega.2c06737
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W4319789774

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(19) 석유수지, (20) 페놀수지, (23) 컴파운드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Simulated Moving Bed Reactor (SMBR), Deep Neural Networks (DNNs), Optimization, Surrogate models, Chemical reaction
판단 근거
이 논문은 화학 반응과 분리가 동시에 일어나는 SMBR 공정의 최적화를 위해 딥러닝 기반 대리 모델(Surrogate model)을 구축하는 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, 석유수지(19), 페놀수지(20), 컴파운드(23) 등 화학 제품의 합성 및 정제 공정 최적화에 적용 가능한 공정 제어 및 모델링 기술을 다루고 있습니다.
R&D 활용 포인트
고분자 수지(에폭시, 페놀, 석유수지 등)의 합성 공정에서 수율과 순도를 극대화하기 위한 실시간 공정 최적화 및 디지털 트윈(Digital Twin) 모델 구축에 활용 가능합니다.
평가 입력
본문 69,033자 중 30,032자 발췌

초록

Model-based optimization of simulated moving bed reactors (SMBRs) requires efficient solvers and significant computational power. Over the past years, surrogate models have been considered for such computationally demanding optimization problems. In this sense, artificial neural networks-ANNs-have found applications for modeling the simulated moving bed (SMB) unit but not yet been reported for the reactive SMB (SMBR). Despite ANNs' high accuracy, it is essential to assess its capacity to represent the optimization landscape well. However, a consistent method for optimality assessment using surrogate models is still an open issue in the literature. As such, two main contributions can be highlighted: the SMBR optimization based on deep recurrent neural networks (DRNNs) and the characterization of the feasible operation region. This is done by recycling the data points from a metaheuristic technique-optimality assessment. The results demonstrate that the DRNN-based optimization can address such complex optimization while meeting optimality.

본문 69,033자

본문 펼치기
[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf) <mark>Article</mark> ## Novel Framework for Simulated Moving Bed Reactor Optimization Based on Deep Neural Network Models and Metaheuristic Optimizers: An Approach with Optimality Guarantee #### Vinícius V. Santana, Márcio A. F. Martins,* José M. Loureiro, Ana M. Ribeiro, Luana P. Queiroz, Carine M. Rebello, Alírio E. Rodrigues, and Idelfonso B. R. Nogueira* Cite This: _ACS_ _Omega_ [2023,](https://pubs.acs.org/action/showCitFormats?doi=10.1021/acsomega.2c06737&ref=pdf) 8, 6463−6475 Read [Online](https://pubs.acs.org/doi/10.1021/acsomega.2c06737?ref=pdf) ### ACCESS Metrics & More Article Recommendations ABSTRACT: Model-based optimization of simulated moving bed reactors (SMBRs) requires efficient solvers and significant computational power. Over the past years, surrogate models have been considered for such computationally demanding optimization problems. In this sense, artificial neural networks�ANNs�have found applications for modeling the simulated moving bed (SMB) unit but not yet been reported for the reactive SMB (SMBR). Despite ANNs’ high accuracy, it is essential to assess its capacity to represent the optimization landscape well. However, a consistent method for optimality assessment using surrogate models is still an open issue in the literature. As such, two main contributions can be highlighted: the SMBR optimization based on deep recurrent neural networks (DRNNs) and the characterization of the feasible operation region. This is done by recycling the data points from a metaheuristic technique�optimality assessment. The results demonstrate that the DRNN-based optimization can address such complex optimization while meeting optimality. 1. INTRODUCTION The simulated moving bed reactor (SMBR) extends the simulated moving bed (SMB) process, where the continuous chromatographic separation enhances chemical reactions. The SMBR has attracted significant attention in the past years, <sup>1,2</sup> especially for synthesizing oxygenated compounds and isomerization reactions. <sup>3,4</sup> Model-based optimization of SMBR units implies the simultaneous solution of dynamic nonlinear partial differential equations, requiring efficient solvers and significant computational power. Moreover, several other issues arise in optimizing SMBRs due to the coupling of reaction and separation. It reduces the degree of freedom; <sup>5</sup> that is, fewer variables can be manipulated to achieve purity and conversion requirements and conflicting objectives; namely, improving one performance indicator worsens the others in a nontrivial way. Therefore, SMBR optimization is not a trivial task that motivated many studies to address it with mixed approaches� first-principles models with varying simplifications and deterministic/heuristic optimization methods. Tie et al. <sup>6</sup> proposed an epsilon-constrained multiobjective optimization with a full-discretization model to maximize the production © 2023 The Authors Published by rate of propylene glycol methyl ether acetate and conversion of ethyl acetate solved with interior point OPTimization techniques. Ray and Ray <sup>7</sup> proposed a multiobjective optimization using nonsorted genetic algorithm II (NSGA II) to maximize yield and purity in biodiesel production. Subramani et al. <sup>8</sup> presented a multiobjective optimization problem for the methyl tertiary butyl ether synthesis in a Varicol SMBR optimized with the NSGA algorithm. Nogueira et al. <sup>9</sup> proposed a single objective optimization problem for producing _n_ -propyl-propionate with true moving bed reactor approximation using a particle swarm optimization (PSO) method. The optimizer solves the SMBR model several times to evaluate the objective function during optimization. The simulation time can grow significantly depending on model Received: October 19, 2022 Accepted: January 19, 2023 Published: February 7, 2023 <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> simplifications�reaction rate law, equilibrium equations, number of columns per zone, and nonisothermal operation. For the design of the SMBR, the optimization time may not be prohibitively high. However, the high-fidelity model may become an unfeasible option in an actual plant coupled with up- and downstream equipment or in real-time applications. Simplifications of the high-fidelity model are often employed for SMB separation by using the true moving bed (TMB) concept and the SMBR with the true moving bed reactor (TMBR). However, it has been shown that this approximation can fail to describe the SMB and SMBR in several scenarios. <sup>10,11</sup> Over the past years, reduced-order/surrogate models have been considered for optimization problems. Surrogate models are mathematical models identified using statistical techniques and attenuating the associated computational costs of an optimization problem. In this sense, artificial neural networks�ANNs�have found applications for these systems for modeling the SMB unit (without reaction). <sup>12−14</sup> However, they have not yet been reported for the reactive SMB (SMBR). ANNs are powerful models composed of multiple processing layers that learn representations of data with various levels of abstraction <sup>15</sup> and are proven to be able to approximate any nonlinear _C_ 1 continuous functions <sup>16</sup> and overcome the curse of dimensionality. Despite ANNs’ high accuracy for nonlinear function approximation, assessing their converges and capacity to represent the optimization landscape competently is essential. <sup>17</sup> To this end, it is important to use strategies to identify high-accuracy surrogates (low bias) and investigate the optimality, that is, convergence to the true global optimum. However, a consistent method for optimality assessment using surrogate models is still an open issue in the literature. Optimality is usually assessed by visual inspection and pointwise (i.e., by comparing the high-fidelity model-based optimal point with the surrogate model-based optimal one). A few works have recently shown one approach to evaluating the optimization results with a cluster of points instead of a single evaluation. Park (2013) proposed a bootstrap approach, and Nogueira et al. <sup>18</sup> and Rebello et al. <sup>19</sup> used recycled data from PSO�however, using the high-fidelity model. As shown in refs 9 and 19, it is possible to map the optimal region through the data population generated from the PSO algorithm. As such, the method allows using an available massive database from PSO to produce meaningful information about the optimal solution and increase its robustness level by evaluating its associated uncertainty. Addressing this issue is one main contribution of this work and still an open issue in the literature. Hence, two main contributions of this work can be highlighted: the SMBR optimization based on deep neural networks (DNNs) and the challenging characterization of the feasible operation region (FOR). Therefore, the DRNN-based optimization is assessed in the optimization of an SMBR unit. This is done by recycling PSO data points, allowing the optimality assessment. A case study presents the synthesis of _n_ propyl-propionate in an SMBR-4 unit. The present work proposes a novel framework for SMBR units’ PSO-oriented optimization based on DNN models. 2. METHODOLOGY 2.1. SMBR Model. The SMBR comprises a set of fixed-bed columns arranged in a recirculation loop. There are two inlets (feed and desorbent) and outlet streams (extract and raffinate). The packing material(s) have either adsorptive or catalytic properties, and the feed stream contains the reactant(s). The products are separated from the reactants as the reaction occurs within the unit. Figure 1 illustrates a four Figure 1. Diagram of a SMBR unit. Figure 2. Proposed stacked RNN model. zone SMBR for a reversible bimolecular hypothetical reaction. For such cases, it is usual that one of the reactants is used as a desorbent. The reactants (A + B) are fed between sections II and III; the raffinate stream is located between sections III and IV. It is where the less adsorbed product (C) is collected, the desorbent stream is located between sections I and IV, and the extract stream lies between sections I and II from which the more adsorbed product (D) is withdrawn. In the present work, the SMBR-4 model for the synthesis of _n_ -propyl propionate proposed in ref 11 was implemented in gPROMs <sup>20</sup> to serve as the high-fidelity model to be optimized and source of data for the DRNN. In this case, propanoic acid, propanol, _n_ -propyl propionate, and water play the A, B, C, and D roles, respectively, considering Figure 1 as a reference. The model equations and parameters are displayed in Tables A1 and A2. The parameters were previously estimated by Nogueira et al. <sup>9</sup> <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Table 1. Input and Output Signals’ Ranges variable minimum maximum Input Signals (Designed) _C_ FProAc/(mol/L) 1.40 × 10 <sup>−1</sup> 1.33 × 10 <sup>1</sup> Table 4. Rescaled Decision Vectors at the Optimal Point for Rigorous and DRNN Models (Rescaled to the Original Units of Measurements) _C_ FProAc/(mol/L) _t_ s/(min) objective function 3 yzzzzz { _Q_ D/(dm3/min) 1.00 × 10 <sup>−3</sup> 4.99 × 10 <sup>−3</sup> _t_ s/(min) 1.00 × 10 <sup>1</sup> 5.99 × 10 <sup>1</sup> Output Signals raffinate purity/(%) 0.65 99.99 conversion/(%) 1.28 99.97 productivity/(mol/L/day) 3.432 × 10 <sup>−5</sup> 16.74 desorbent consumption (L/mol) 4.785 × 10 <sup>−1</sup> 89.95 Table 2. Hyperparameter Search Space for the RNN hyperparameters search space initial learning rate {1 × 10 <sup>−4</sup>, 3.162 × 10 <sup>−4</sup>, model i 3 y _Q_ D/jjjjj <sup>dm</sup> min zzzzz k { D k min ijjjjj k 1 × 10 <sup>−3</sup> } batch size {4, 8, 16} number of recurrent layers {1, 2, 3} recurrent layer type {GRU, LSTM} number of neurons in the recurrent layers {100, 180} activation function in the recurrent layers {relu, tanh} number of neurons in the intermediate fully {20, 60} connected layer {20, 60} activation function in the fully connected layer {relu, tanh} A total of four performance indicators of separation and reaction were considered: raffinate purity, limiting reactant conversion, productivity, and desorbent consumption. Table A1 shows the equations for raffinate purity, conversion, desorbent consumption, and productivity in the case study of propyl-propionate synthesis. 2.2. DNN Model - Building and Estimation. Tables A1 and A2 show that the SMBR is an inherently dynamic process. Hence, using the discrete-time recurrent neural network (RNN) model is the most appropriate way of introducing inductive bias and shortening the amount of training data needed for long-horizon predictions (simulation mode). The difference between prediction and simulation is well discussed elsewhere. <sup>14</sup> Thus, this architecture is proposed as a surrogate model of SMBR-4. Several RNNs, one for each performance indicator (time-averaged raffinate purity, conversion, desorbent consumption, and productivity), were identified, that is, multiple input single output (MISO). Here, we propose a flexible approach with a mixed stack of state-of-the-art RNN architectures built�long−short-term memory (LSTM) or DRNN 1.68 × 10 <sup>−3</sup> 13.33 47.76 −1.17 rigorous 1.77 × 10 <sup>−3</sup> 13.33 47.51 −1.14 gated recurrent unit (GRU) and feed forward layers. Figure 2 illustrates the proposed approach. Once the general model architecture is proposed, the identification procedure, that is, a parameter estimation strategy, has to be developed, which includes the design of experiments (DoE) or data acquisition, time series preprocessing, and the parameter estimation itself, which involves defining the neural network topology, cost function and training policy�training set size, optimizer type, and parameters. Among all possible input variables in the SMBR, the ones with the highest impact on its performance indicators were chosen, according to a strategy developed by Santana et al. <sup>11</sup> the concentration of the limiting reactant in the feed stream (propanoic acid), the desorbent flow rate, and the switching time. Then, the DoE was performed using the Latin Hypercube Sampling (LHS) algorithm <sup>21</sup> to sample the input space ( 3) with minimal cross-correlation between variables. The sampled inputs were fed to the high-fidelity model simulator as a sequence of step signals persisting until the system reached the cyclic steady state. The simulator outputs (performance indicators) were collected and stored. The LHS is one among many options available for DoE, which includes the popular Sobol sequences. <sup>22</sup> Each method has its own advantages and disadvantages. The literature in ANN-based surrogates presents relevant usages of both methods. <sup>19,23−28</sup> The available time series preparation into “experiments”, often named “time windows”, forces the model to learn the whole response to a step change in the input variables. In simple terms, a set of small chunks of time series are created, wherein each experiment (chunk) _E_ i consists of a set of tuples {( _u_ 1 _y_ 2), ( _u_ 2 _y_ 3), ..., ( _u_ 3 _yn_ i)}. ( _u_ 1 _y_ 2), ( _u_ 2 _y_ 3), ..., ( _u_ 3 _yn_ ti) The time series preprocessing involves identifying long-term dependencies (order) in the time series data. In the present work, the dynamic system is modeled as a nonlinear state space representation as described in ref 29 It implies that for a given Table 3. Results of Best Hyperparameters for Each Performance Indicator for the RNN hyperparameters productivity desorbent consumption purity conversion initial learning rate 1 × 10 <sup>−3</sup> 3.162 × 10 <sup>−4</sup> 1 × 10 <sup>−3</sup> 1 × 10 <sup>−3</sup> batch size 4 4 4 4 number of recurrent layers 3 2 3 3 recurrent layer type {layer 1: LSTM, layer 2: LSTM, {layer 1: GRU, {layer 1: GRU, layer 2: GRU, {layer 1: GRU, {layer 1: GRU, layer 2: GRU, {layer 1: LSTM, layer 2: GRU, layer 3: LSTM} layer 2: GRU} layer 3: GRU} layer 3: GRU} number of neurons in the recurrent {layer 1: 180, layer 2: 180, {layer 1: 180, {layer 1: 100, layer 2: 100, {layer 1: 180, layers layer 3: 180} layer 2: 100} layer 3: 180} layer 3: 180} activation function in the recurrent {layer 1: relu, layer 2: relu, {layer 1: relu, {layer 1: relu, layer 2: tanh, {layer 1: relu, layers layer 3: relu} layer 2: relu} layer 3: relu} layer 3: tanh} number of neurons in the intermediate 20 60 60 20 layer 3: LSTM} layer 2: GRU} layer 3: GRU} {layer 1: 180, layer 2: 180, {layer 1: 180, {layer 1: 100, layer 2: 100, {layer 1: 180, layer 2: 100, layers layer 3: 180} layer 2: 100} layer 3: 180} {layer 1: relu, layer 2: relu} {layer 1: relu, layer 2: relu, layers {layer 1: relu, layer 2: relu, layer 3: relu} {layer 1: relu, layer 2: tanh, layer 3: relu} fully connected layer 20 60 60 20 activation function in the intermediate fully connected layer Relu relu relu Tanh <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Table 5. Performance Indicators at the Optimal Point for the Rigorous Model and RNNs model purity/(%) conversion/(%) desorbent consumption/(L/mol) productivity/(mol/L/day) DRNN 99.58 93.10 1.18 3.56 rigorous 97.32 90.86 1.11 3.69 The objective function, evaluated at a cyclic steady state, and constraints can be written as min _F_ obj = Prod × _w_ Prod + Conv × _w_ Conv + Dc _F_ obj = Prod × _w_ Prod + Conv × _w_ Conv + Dc × _w_ Dc + _w_ = Prod × _w_ Prod + Conv × _w_ Conv + Dc × _w_ Dc + _w_ Pur × obj Prod Conv Dc Pur Pur _x_ [Prod, conv, Dc, Pur] = [Prod, conv, Dc, Pur] = _f_ ( _x_ ) _f_ _x_ = 1 if Pur( _k_ ) < Pur = < min Pur = 0 if Pur( _k_ ) Purmin = 1 if Pur( _k_ ) < Pur 0 if Pur( _k_ ) Pur _k_ _k_ _x_ min _x_ _x_ max Figure 3. 2D geometrical illustration for confidence region derivation. discrete-time dynamic system with white noise _v_ ( _k_ ), noisy observations y depend on exogenous inputs _u_ and past estimated states _z_ . It can be written z ( _k_ ) = _F_ ([ _z_ ( _k_ 1), ..., _z_ ( _k_ 1 _n_ a), _u_ ( _k_ _d_ ), ..., _u_ ( _k_ _d_ _n_ b)]) _k_ ) = _F_ ([ _z_ ( _k_ 1), ..., _z_ ( _k_ 1 _n_ a), _u_ ( _k_ _d_ ..., _u_ ( _k_ _d_ _n_ b)]) = _F_ ([ _F_ ([ _z_ ( _k_ 1), ..., _z_ ( _k_ 1 _n_ a), _u_ ..., _u_ ( _k_ _d_ _n_ b)]) a b ] _y_ ( _k_ ) = _z_ ( _k_ ) = _z_ ( _k_ ) + _v_ ( _k_ ) _k_ ) = _z_ ( _k_ ) + _v_ ( _k_ = _z_ ( _k_ ) + where _n_ a and _n_ b are the number of past values and _d_ is the delay. The system order ( _n_ a and _n_ b) is independent of the chosen function used to approximate the true unknown _F_ and should be carried before any parameter estimation. <sup>14,30</sup> To identify _n_ a and _n_ b, the Lipschitz coefficient <sup>31</sup> method is used. The neural network topology, cost function, and training policy are known as hyperparameters. They define the optimization problem and must be determined beforehand, that is, before the RNNs’ weights and biases are estimated. The hyperparameter space comprises a set of both discrete and continuous variables, which makes their selection a complex task. In this sense, the state-of-the-art HYPERBAND <sup>32</sup> optimization algorithm is used here as it wisely allocates resources for training the most promising configurations. The search space for the hyperband comprised continuous and discrete variables: type of each recurrent layer, number of stacked layers, number of neurons per layer, activation function type, learning rate, and minibatch size. Despite using hyperband, other efficient automatic hyperparameter selection methods exist, such as multiobjective optimization problem training loop <sup>33−35</sup> and TRANSFORM. <sup>36</sup> At each run of HYPERBAND, the RNNs were trained with least-squares loss function and adaptive moment estimation (Adam) with TensorFlow default parameterization. After selecting the best configuration, the final architecture was trained longer with early stopping. Neural network building, training process, and hyperparameter tuning were implemented in TensorFlow 2.5. 2.3. Optimization Problem Formulation. The optimization problem is framed as a single objective function by weighting the SMBR performance indicators constrained by the model equations and decision variables’ limits. (1) where Prod, Conv, Dc, and Pur are time-averaged productivity, conversion, desorbent consumption, and purity, respectively, and _x_ is the decision vector that contains the input variables values. _w_ i are real values that weight each performance indicator; _δ_ pur is an indicator function that penalizes the objective function with _w_ pur if the purity is lower than Purmin. _f_ ( _x_ ) is the model (mechanistic or DRNN) that maps the decision vector to the performance indicators. It can be either the rigorous SMBR-4 model or the RNN. As shown in the previous section, the SMBR has four main performance indicators usually taken into account: productivity, conversion, purity of the product of interest, and desorbent consumption. The first three are usually desired to be as high as possible and the last as low as possible. It means that the corresponding weights in the objective function should reflect it; that is, the performance indicators to be maximized need a negative weight and vice versa. An in-house implementation of the global PSO method <sup>37</sup> is used to solve this optimization problem. PSO was used as the optimization method as it has been demonstrated as an efficient and suitable approach for characterizing confidence regions in optimization problems. <sup>19,38−40</sup> 2.4. Feasible Operating Region around the Optimal Point. The strategy for determining the feasible operating region around the optimal point here used was proposed by Nogueira et al. <sup>18</sup> The uncertainty map is the denominated feasible operating region (FOR) in the referred work. The FOR is a subdomain of process operating variables where the process can attain a defined performance with a certain confidence. Given the population-based optimization method (PSO), a statistical evaluation of the swarm history in the optimization is performed. Usually, the likelihood approach is employed as it considers the system’s nonlinearities. This approach can be employed using the Fisher−Snedecor criterion. All details of the deduction of this criterion for single objective process optimization are beyond the scope of this work. It is presented elsewhere. <sup>19</sup> Here, the intuition and some mathematical basis is presented. The key idea is that the Lagrangian ( _L_ ), which is the sum of the objective function with weighted vector of constraints ( _C_ ), can be treated as a random variable, and the decision vector points are statistically compared using the Fisher−Snedecor. The Lagrangian and Fisher−Snedecor can be expressed, respectively, as _L_ (, ) = _F_ obj( ) + _T_ _C_ ( ) (2) <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Figure 4. Input and output signals during experiment 13. Figure 5. Lipschitz coefficients results for all performance indicators�(a) purity, (b) conversion, (c) desorbent consumption, and (d) productivity. _L_ ( ) _L_ ( *) + _nk_ _nnkn_ _n_ y + 1 _F_ ( _n_, _nk_ _n_ _n_ y + 1) (3) *) + _nk_ _n_ _<u>k</u>_ _n_ y + 1 _F_ ( _n_, _nk_ _n_ _n_ y + indicators, _n_ k is the number of iterations in the optimization, and _nθ_ is the number of operating variables (decision vector). Thus, the history of swarm position and objective function can be evaluated to compose an _α_ confidence-level region when passing the inequality criteria described in inequality (3). Equation 3 derivation is adapted from the confidence region evaluation for parameter estimation presented by Schwaab et _k_ y + 1 _k_ it compares the Lagrangian _L_ ( *) at the minimum found in the optimization, _θ_ *, with a given decision vector _θ_ with objective function _L_ ( _θ_ ) using the Fisher−Snedecor distribution _Fα_ with confidence level _α_ and _nk_ - _nθ_ - _n_ y + 1 degrees of freedom, where _n_ y is the total number of performance <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> al. (2008) <sup>38</sup> and Benyahia et al. (2013). <sup>41</sup> In the proposal of Nogueira et al. (2019) <sup>39</sup> and here adapted, the methodology was adapted in order to evaluate the feasible operating region of the process operating variables after the optimization. In Figure 3, _ϵ_ represents the distance between the optimum analytical point and the optimum point found by the PSO. This concept allows us to determine the normalized squared error ( _ei_ 2) concerning the variance ( _Vi_ ), according to the following equation therefore, the assumed chi-square distribution premise for _h_ <sup>2</sup> was also assumed for _e_ <sup>2</sup>, whose degrees of freedom are expressed by _nk_ ( _ni_ + _n_ y 1), as follows _h_ 2 2( _nk_ _ni_ _n_ y <sup>+</sup> 1) (12) thus, differences between the errors presented can be expressed by _h_ 2 _e_ 2 2( _nj_ ) (13) these distributions are independent; it becomes a Fisher− Snedecor distribution as 2 ( _L_ ( _<u>i</u>_ *, _<u>i</u>_ *) _L_ ( _<u>i</u>_ g, _<u>i</u>_ g 2 _i_ = )), _i_ = 1,2, ..., _ni_ _<u>i</u>_ *, _<u>i</u>_ *) _L_ ( _<u>i</u>_ g, _<u>i</u>_ g 2 )), _i_ = 2 ( _L_ ( _<u>i</u>_ *, _<u>i</u>_ *) _L_ ( _<u>i</u>_ g, _<u>i</u>_ g 2 _ei_ = )), _i_ = 1,2, ..., _ni_ _Vi_ _<u>i</u>_ _<u>i</u>_ _<u>i</u>_ _<u>i</u>_ _i_ (4) where _ni_ is the number of decision variables of the PSO algorithm. The error can be defined for all instances, _nk_, obtained in the optimization process, as follows where _α_ is the confidence level of the Fisher−Snedecor test. Finally, a Taylor series expansion can be derived around the optimal point to express the objective function 2 2 _e_ 2 _h_ _ni_ _F_ ( _ni_, _nk_ _n_ + 1) _i_ 2 _i_ _F_ ( _ni_, _nk_ _n_ + _h_ _nk_ _n_ + 1 (14) _i_ _k_ _k_ _n_ _nk_ _ni_ _nk_ ( _L_ ( _<u>ik</u>_ *, _<u>ik</u>_ *) _L_ ( _<u>i</u>_ g, _<u>ik</u>_ g)) *, = _ni_ _nk_ _eik_ 2 = _ni_ _nk_ ( _L_ ( _<u>ik</u>_ *, _<u>ik</u>_ *) _L_ ( _<u>i</u>_ g, _<u>ik</u>_ g))2 _e_ 2 = _ni_ _nk_ _eik_ 2 = _ni_ _nk_ ( _L_ ( _<u>ik</u>_ *, _<u>ik</u>_ *) _L_ 2 _eik_ 2 _<u>ik</u>_ _<u>ik</u>_ _<u>i</u>_ _<u>ik</u>_ _i_ _i_ =1 _k_ =1 _i_ =1 _k_ = 1 _k_ =1 _k_ _i_ 1 _k_ =1 _k_ _Vi_ _i_ _T_ (5) the variance _Vi_ ( _ik_, _ik_ ) <sup>between</sup> <sup>the</sup> <sup>global</sup> <sup>optimum</sup> <sup>and</sup> <sup>the</sup> total number of points considered in optimization _L_ ( _ik_, _ik_ ) <sup>is</sup> defined as 1 _L_ ( _ik_, ) = _L_ ( _ik_ *, _ik_ *) + ( _ik_ _ik_ *) _L_ - + _ik_ _ik_ *) 2 <sup>(</sup> = _L_ ( _ik_ *, _ik_ *) + ( _ik_ _ik_ *) _L_ - + _ik_ _ik_ 2 <sup>(</sup> _L_ _ik_ _ik_ _ik_ _ik_ _ik_ - _ik_ _ik_ _H_ ( _ik_ _ik_ *) _ik_ _ik_ *( _ik_ _ik_ *) (15) i _nk_ _V_ _i_ ( _ik_, _ik_ ) = 1 i ( _L_ ( _ik_ *, _ik_ *) _L_ ( _ik_, _ik_ ))2y _nk_ jjjjjj _k_ =1 zzzzzz k { i jjjjjj k _nk_ _k_ = 1 i ( _L_ ( _ik_ *, _ik_ *) _L_ ( _ik_, _ik_ ))2 jjjjjj y zzzzzz { _k_ =1 { (6) where _L_ - is the gradient vector and _H_ - is the Hessian matrix of the objective function, which is correlated with the covariance matrix optimal points as _H_ _ik_ - = 2 _V_ _ik_ 1 (16) replacing eq 14 in 13, one obtains _k_ _k_ k _ik_ _ik_ _ik_ _ik_ 1 combining 5 and 6 _n_ _nk_ _e_ 2 = _i_ _k_ ( _nk_ ) _V_ _<u>i</u>_ _T_ _i_ _k_ = *, *) 2 _<u>k</u>_ _<u>i</u>_ _<u>ik</u>_ _<u>ik</u>_ _L_ (, _ik_ ) _L_ (, _ik_ ) _Li_ ( _ik_ *, _ik_ *) _ik_ _ik_ _i_ _ik_ _ik_ _i_ =1 _k_ =1 _Vi_ (7) = ( _ik_ _ik_ *) _T_ _V_ 1( _ik_ _ik_ ( _ik_ _ik_ *) _T_ _V_ 1( _ik_ _ik_ *), _ik_ _ik_ _V_ _i_ 1 _k_ =1 _k_ ( _nk_ ) _V_ _<u>i</u>_ ( _<u>ik</u>_, _<u>ik</u>_ ) _Vi_ _i_ 1 _ik_ _ik_ _ik_ at this point, a chi-squared distribution for _e_ <sup>2</sup>, _χ_ <sup>2</sup>, is assumed. This probability distribution has _nk_ ( _n_ y 1) degrees of freedom, where _nk_ is the total number of iterations developed by the PSO and _n_ y is the total number of objective functions considered in the optimization. _e_ 2 2( _nk_ _n_ 1) y <sup>+</sup> (8) The error is calculated between the global analytical optimum and the remaining points belonging to the PSO population, represented in Figure 3, by _h_ . The mathematical expression for _h_ is defined as assuming that _Vij_ is a good approximation for _V_, the optimal region meets the following test 2 _ni_ ( _ni_ ) (17) _i_ simplifying eq 12, it is possible to rewrite it by equaling eq 15, obtaining _L_ (, _ik_ ) _L_ (, _ik_ ) _L_ ( _ik_ *, _ik_ *) *, _ik_ _ik_ _ik_ _ik_ _ni_ ( _nk_ ) _Vik_ ( _<u>ik</u>_, _<u>ik</u>_ ) _nk_ ) _Vik_ _ni_ _F_ _nk_ _n_ + 1 _<u>i</u>_ _<u>k</u>_ _<u>ik</u>_ _<u>ik</u>_ _<u>ik</u>_ _ik_ *, _ik_ *) _nk_ _n_ + _k_ _i_ _i_ = 1 _Vi_ ( _i_ _ik_ _ik_ ( _ik_ *, _ik_ *) _nk_ _n_ + 1 ( _ni_, _nk_ _n_ + 1) _ni_, _nk_ _n_ + (18) _i_ _k_ _nk_ 1 ( _L_ ( _ik_ *, _ik_ *) _Li_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ ) ( _L_ ( _ik_ *, _ik_ *) _Li_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ ))) _L_ ( _ik_ *, _ik_ *) _L_ *, _k_ + _k_ ) _i_ ( _k_ + _hi_ 2 _nk_ 1 ( _L_ ( _ik_ *, _ik_ *) _Li_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ )))2 = _ik_ _ik_ _i_ _i_ ( _k_ + _k_ ) _i_ ( _k_ + _k_ _<u>k</u>_ _<u>i</u>_ _L_ ( _ik_, _ik_ ) _L_ ( _ik_ *, _ik_ *) + _nk_ _nknni_ + 1 _F_ ( _ik_, _ik_ ) _L_ ( _ik_ *, _ik_ *) + _nk_ _<u>kn</u>_ _<u>i</u>_ + 1 _ik_ _ik_ _ik_ _ik_ _ik_ *, _ik_ *) + _<u>k</u>_ _<u>i</u>_ _nk_ _n_ + _k_ (9) _k_ _k_ =1 1 _V_ _ik_ extending the determination of error _h_ to all points in each evaluation of the objective function about the analytic global optimum, we have the following normalized expression ( _nj_, _nk_ _n_ + 1) _nj_, _nk_ _n_ + 1) (19) _j_ _k_ _n_ _ni_ _nk_ ( _nk_ ) _Vik_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ )) _nk_ ) _V_ + _k_ ) _i_ ( _k_ + = _i_ _hi_ 2 = _i_ _k_ ( _nk_ ) _Vik_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ ) 2 2 _k_ _ik_ _i_ ( _k_ + _k_ ) _i_ ( _k_ + _k_ _h_ 2 = _hi_ _i_ 3. RESULTS AND DISCUSSION 3.1. Identification. A set of 800 steps with ranges shown in Table 1 were created with LHS. Note that each step persisted for 250 time steps (prior estimated system settling time), leading to a total of 250.000 points. Three variables could be subject to step changes�concentration of propanoic acid in the feed stream ( _C_ FProAc), desorbent flow rate ( _Q_ D), and switch time ( _t_ s), and four performance indicators outputs were collected�time-averaged conversion, productivity, desorbent consumption, and raffinate purity. _i_ _i_ =1 _i_ =1 _k_ = 1 _i_ 1 _k_ =1 _k_ _Vi_ _i_ where the variance _Vij_ can be defined by _Vij_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ )) ( _k_ + _k_ ) _i_ ( _k_ + _k_ ) _k_ + _k_ ) _i_ ( _k_ + _ij_ _i_ ( _k_ + _k_ ) _i_ ( _k_ + _k_ i (10) (11) _nk_ 1 i jjjjjj k _k_ = 1 i ( _L_ ( _ik_ *, _ik_ *) _L_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ )))2 jjjjjj y zzzzzz { _k_ 1 i ( _L_ ( _ik_ *, _ik_ *) _L_ ( _i_ ( _k_ + _k_ ), _i_ ( _k_ + _k_ ))) jjjjjj ( _L_ ( _ik_ *, _ik_ *) _L_ _nk_ jjjjjj _ik_ _ik_ _i_ ( _k_ + _k_ ) _i_ ( _k_ + _k_ ) ( _k_ + _k_ ) _i_ ( _k_ + _k_ ) + _k_ ) _i_ ( _k_ + _k_ _k_ = 1 <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Figure 6. Hexabin parity plots for all performance indicators on the test set for the DRNN. The remaining input variables and parameters necessary to simulate the SMBR-4 model were taken from, namely, feed stream flow rate ( _Q_ F), recycling stream flow rate ( _Q_ IV), and extract stream flow rates ( _Q_ X), whose values are 1.400 × 10 <sup>−4</sup>, 1.2135 × 10 <sup>−4</sup>, and 9.000 × 10 <sup>−4</sup> (in dm <sup>3</sup> /min), respectively. Table 1 shows the ranges of the designed inputs as well as the outputs. The input space ranges were selected according to the physical limits of a lab-scale SMBR unit and made large enough to collect a considerable amount of information. It is worth remarking that the concentration of the limiting reactant cannot surpass its molar volume at working temperature, and it was the upper limit value for _C_ FProAc. As described in 1.2, the original data set was partitioned into “experiments”. Figure 3 shows a sample of a single experiment described for both input and output signals. Note that all variables are already rescaled. It is possible to note that the performance indicators have very distinct dynamic behavior, which justifies the MISO approach. 680 patterns (85% of first data set) similar to the one presented in Figure 3 were used for training and the remaining ones were used for hyperparameter tuning. A separate data set was generated and used for testing. As described, the Lipschitz coefficient method was used to determine the order, that is, assess long-term dependencies of the system encoded in _n_ a and _n_ b parameters. These numbers were determined using a graphical approach. This analysis was run for each performance indicator as it deals with a MISO case. The orders are defined as the pair ( _n_ a, _n_ b) at which the order index stops changing significantly as the order increases. From Figure 3, it can be seen that the purity, conversion, desorbent consumption, and productivity orders are (4,1), (8,1), (9,1), and (9,1), respectively. In order to find a combination of hyperparameters that result in the minimum mean squared error of the validation set, HYPERBAND parameter maximum epochs were set to 200. The factor (proportion of discarded configurations) was set to 5. The HYPERBAND method was used with early-stopping regularization to prevent overfitting. Additionally, the proposed optimality assessment is a robust method for demonstrating generalization capacity. Table 2 shows the search space of the hyperparameters for the RNN. Table 3 shows the best found hyperparameters for each performance indicator of the RNN. It can be seen that for some performance indicators, the best architectures involves stacked LSTM and GRU cells. A similar pattern is observed for the activation function. These architectures achieve satisfactory performance for all performance indicators: 0.0243 for productivity, 0.209 for conversion, and 0.710 for purity (considering mean absolute error for the whole validation set). Figure 5 shows hexabin parity plots for all performance indicators for the DRNN in the test set. On the _x_ -axis are the DRNN predictions, and on the _y_ axis are the test data. The dynamic data and predictions are also presented in Figure 6 for the test set. One important aspect to consider in black-box models is the accuracy/computational time trade-off. While the gPROMs simulator takes about 566 s to run the response for one single step perturbation, the RNN surrogate takes about 150 ×10 <sup>−3</sup> seconds (both running in an Intel i7-7500U�2.7 GHz CPU). As is demonstrated in the next sections, the simulation time difference becomes essential for optimization. 3.2. Optimization for 95% Raffinate Purity Requirement. The PSO algorithm was used to solve the optimization problem described in eq 1 with both <u>the</u> rigorous and DRNN models. The decision vector is x = <u>[</u> _<u>t</u>_ s, _<u>Q</u>_ d, _<u>C</u>_ FProAc], where the variables are the scaled switching time, desorbent flow rate, and concentration of propanoic acid in the feed stream, respectively, according to Table 1. They are the same ones used to train the DRNN. Thus, the intervals were large enough to cover several possible operating conditions. However, expanding these intervals beyond the input space where the DRNN was trained can lead to inaccurate calculations of the objective function. It is a drawback of all surrogate models; that is, they can only be made accurate in the identification region. However, this work generated data in a broad region using LHS based on the constraints of a real lab-scale plant. Therefore, it ensures that the identified models will represent the system under evaluation well. <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> When the SMBR-4 rigorous model was used in the optimization, 50 particles and 40 iterations were set. When the DRNN was used, 400 particles and 400 iterations were set. As mentioned in Section 2.1, the rigorous model is very costly to simulate. The number of particles and iterations is limited to the available time to perform the optimization. This specific case took 56 h with the rigorous model and 0.75 h with the DRNN. Figure 4 shows the swarm minimum values’ (global best) evolution over the iterations. Even though the optimization of the DRNN was carried out up to 400 iterations, only 60 are shown. It can be seen that the convergence of the optimization with the DRNN model is quicker. Still, both objective functions stop decreasing before the 10th iteration. Table 4 shows the decision variables at the optimal point for both rigorous and DRNN models. It can be seen that the decision vectors at the optimal point are close to each other, and the highest discrepancy is found for the desorbent flow rate component ( _Q_ D). Table 5 shows the values of performance indicators that compose the objective function at the optimal point for each model and are evaluated using the same model; that is, DRNN optimal is evaluated with the DRNN model and rigorous optimal is evaluated with the rigorous model. It can be seen that the output values are close to each other. However, using single points to compare the optimization results of the two models can lead to misleading conclusions. One of the advantages of PSO is that it is a population-based algorithm which allows the building of the feasible operating region (FOR). Figure 7. Comparison of DRNN predictions with a virtual SMBR-4 plant in the test set. Figure 8. Evolution of swarm global best for 95% raffinate purity requirement. _w_ conv = −4 × 10 <sup>−3</sup>, _w_ ec = 3 × 10 <sup>−1</sup>, _w_ prod = −3 × 10 <sup>−1</sup>, and _w_ pur = 50 were chosen as the set of weights in the objective function, and Purmin was set to 95%. The weights reflect the objective from a process point of view�a negative value means that increasing the corresponding performance indicator magnitude will favor the objective function minimization and vice versa. Since the variables were rescaled, the upper and lower limits are 0 and 1, respectively. The DRNN optimal point could be run in the rigorous model, leading to an important perspective about the surrogate model optimal point robustness. However, the operating region characterization is a more complete and rigorous way of analyzing optimality. Furthermore, the proposed strategy is meant to demonstrate that the ANN result is equivalent to the rigorous model results. If this demonstration is done, it is proven that the optimizations are equivalent. Figures 5 and 6 depict a 3D representation of swarm particles across iterations that meet the minimum purity requirement for both the rigorous model and DRNN, respectively. The _x-_ and _y_ -axis represent the scaled decision variables, and the _z_ -axis is the objective function. The markers are colored according to the objective function value with a legend indicated in the color bar. In Figures 5b, 6b, 5c, and 6c, it can be seen that most of the swarm positions lie in a line where the concentration of the limiting reactant is close to the scaled upper limit 1. This value is a physical limit since the concentration of the component in the feed stream cannot surpass its molar density at a given temperature and pressure. Propanol feed concentration was calculated using its molar density for each value of propanoic acid concentration; that is, it is linearly correlated with _C_ FProAc and removed from the inputs to avoid input space collinearity. _3.2.1._ _Feasible_ _Operating_ _Region._ The points obtained from the optimization with a rigorous model and the surrogate DRNN model are used to build their corresponding confidence regions. A more reliable way to verify if the two models lead to the same optimal point than simply comparing the global best is by comparing the two confidence regions. Suppose a significant degree of superposition of the two regions is verified. In that case, the surrogate model can be <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Figure 9. Swarm position and objective function for the rigorous model. (a) Desorbent flow rate vs switching time view, (b) desorbent flow rate vs limiting reactant feed concentration view, and (c) switching time vs limiting reactant feed concentration view. Figure 10. Swarm position and objective function for the DRNN model. (a) Desorbent flow rate vs switching time view, (b) desorbent flow rate vs limiting reactant feed concentration view, and (c) switching time vs limiting reactant feed concentration view. <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Figure 11. Scatter plot of points for 99.5% confidence level for rigorous (Fen) and surrogate (Sur) model (DRNN). (a) Desorbent flow rate vs switching time view, (b) limiting reactant feed concentration vs desorbent flow rate view, and (c) limiting reactant feed concentration vs switching time view. reliably used to optimize searches within the domain it was identified. Figure 7 shows a pair-wise scatter plot of the decision variables that passed a 99.5% test. It also includes the 99.7% probability ellipse (3 standard deviations) fitted using three bivariate Gaussian density distributions (one for each pair of inputs). In Figure 7a,b, it can be seen <u>that</u> most of the points lie in two lines of either constant _<u>C</u>_ F ProAc or _<u>Q</u>_ D and _<u>t</u>_ s, respectively, indicating that the Gaussian density may not be the ideal probability density function to fit. In Figure 7c, the Gaussian density seems to fit well in both clusters. Comparing the rigorous model with the DRNN, it can be seen that the points show a similar distribution pattern around their optimal points, and the ellipses have a significant degree of superposition. Moreover, it is possible to observe that the desorbent flow rate and the switching time have an inverse correlation, that is, less desorbent can be used, and similar performance can be achieved as soon as the switching time is increased (Figures 8−11). 4. CONCLUSIONS The SMBR is challenging to optimize through first-principles models. In this sense, previous works in the literature concerning surrogates for its simpler version, the SMB, and other cyclic adsorptive processes indicate that using surrogate models may offer several benefits for SMBR optimization. However, there are no works published in the literature proposing surrogate models for the SMBR to our knowledge. Moreover, when surrogate models are used for optimization, optimality issues are barely considered; that is, only the optimal point found is tested in the rigorous model and used as the performance metric. It may lead to misleading conclusions about the model quality for optimization. In this setting, the present work shows that the proposed framework for SMBR units’ optimization based on DNN models and PSO optimizer with optimality evaluation provides a robust tool for SMBR surrogate identification and addresses optimality issues through the process feasible operating region. A single objective function optimization problem was formulated by weighting the SMBR performance metrics. With this setting, a 448× speed up in the optimization time was observed when using the surrogate model compared to the rigorous SMBR model, with a significant overlap of the FOR regions for all decision variables. It is worth mentioning that this speed up is calculated to compare run times for online applications where both models are already identified and the goal is obtaining the optimal solution. Rigorous real-time optimization for such a system would be computationally infeasible due to the associated computational effort. The speed up is calculated by the ratio between mechanistic model simulation (1 dynamic response) elapsed time and surrogate model simulation elapsed time for the same response and in the same computer. Even sacrificing physics, the surrogate <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> Table A1. SMBR�4 Model Equations Material balance in volume elements of column _k_ for component _i_ and velocity variation equation: _C_ + ( _k_ _i_, _k_ ) + 1 <u>b</u> _Ki_ L, _k_ ( _qi_ *, _k_ _qi_, _k_ ) = _Dax_, _k_ 2 _C_ 2 _i_, _k_ _x_ <sup>_u_</sup> <sup>_C_</sup> <u>b</u> _Cti_, _k_ + _x_ ( <sup>_u_</sup> _k_ <sup>_C_</sup> _i_, _k_ ) + 1 b <u>b</u> _Ki_ L, _k_ ( _qi_ *, _k_ _qi_, _k_ ) = _Dax_, _k_ _Cx_ 2 _i_, _k_, _i_, _k_ 1 <u>b</u> L _i_, _k_ L , _k_ _i_, _k_ _i_, _k_ = _ax_, _k_ _t_ + _x_ ( <sup>_u_</sup> _k_ <sup>_C_</sup> _i_, _k_ ) + b <u>b</u> _Ki_ L, _k_ ( _qi_ *, _k_ _qi_, _k_ ) = _D_ _C_ _k_ _i_, _k_ + _i_, _k_ _i_, _k_ _i_, _k_ = _ax_, _k_ _i_, b _q_ _qti_, _k_ = _R_ 3p <sup>_K_</sup> _iL_, _k_ ( _qi_ *, _k_ _qi_, _k_ ) + _i_ (1 <u>b</u> b) _r_ _i_, _k_ _ti_, _k_ = _R_ 3 <sup>_K_</sup> _iL_, _k_ ( _qi_ *, _k_ _qi_, _k_ ) + _i_ = _iL_, _k_ ( _qi_ *, _k_ _qi_, _k_ ) + _i_ <u>b</u> _r_ ProPro _R_ <sup>_K_</sup> _L_ <u>b</u> _i_, _k_ _i_, _k_ _i_, _k_ _i_, _k_ p b _N_ _u_ _uxk_ = 1 b <u>b</u> _R_ 3p c _Ki_ L, _kVi_ M( _qi_ *, _k_ _qi_, _k_ ) + 1 <u>b</u> b _r_ ProPro c _iVi_ M, = 1 <u>b</u> 3 _N_ c _Ki_ L, _kVi_ M( _qi_ *, _k_ _qi_, _k_ ) + <u>b</u> _r_ ProPro _N_ c _iVi_ M, b <u>b</u> _R_ 3p _i_ =1 _Ki_ L, _kVi_ M( <u>b</u> 3 _Ki_ L, _kVi_ M( _qi_ *, _k_ _qi_, _k_ ) + <u>b</u> _r_ ProPro _iVi_ _N_ <u>b</u> _i_, _k_ _i_ _i_, _k_ _i_, _k_ ProPro _i_, _k_ _i_, _i_ b p _i_ =1 b _i_ =1 _N_ C is the total number of components, _x_ is the axial position, _t_ is the time, _ϑ_ is the stoichiometric coefficient, _r_ ProPro is the reaction rate, _ρ_ b is the bulk density, _D_ ax is the axial dispersion coefficient, _q_ - is the adsorbed molar concentration in equilibrium with _C_ (bulk phase molar concentration), _q_ is the average adsorbed molar concentration, _u_ is the liquid interstitial velocity, _R_ P is the mean particle radius, _ε_ b is the bed porosity, _K_ <sup>L</sup> is the external mass transfer coefficient, and _V_ <sup>M</sup> is the molar volume. Initial and boundary conditions for each component _i_ and column _k_ : _i_ b 1 _t_ = 0, _x_ ]0, _Lk_ [ _Ci k_ . ( _t_, _x_ ) = _Ci_ initial, _k_ ; _qi_ initial, _k_ = _qi_ *, _k_ ( _Ci_ initial, _k_ ) = 0, _x_ ]0, _Lk_ [ _Ci k_ . ( _t_, _x_ ) = _Ci_ initial, _k_ ; _qi_ initial, _k_ = _qi_ *, _k_ ( _Ci_ initial, _k_ initial , _k_ _i_, _k_ = _Lk_ in, _t_ _u_ (0) _kCi_, _k_ _Dax_, _k_ _i_, _k_ = _u_ (0) _kCi_ in, _k_, _k_ in, _t_ _u_ (0) _kCi_, _k_ _Dax_, _k_ _i_, _k_ = _u_ (0) _kCi_ in, _k_, _x_ = _Lk_ in, _t_ _u_ (0) _kCi_, _k_ _Dax_ _Lk_ in, _t_ _u_ (0) _kCi_, _k_ _Dax_, _k_ = _u_ (0) _kCi_ in, _k_, , _t_ _u_ (0) _kCi_, _k_ _Dax_, _k_ _x_ = _u_ (0) _kC_ _C_ (0, _t_ (0, _t_ ) _i_, _i_, _k_ _ax_, _k_ = _Lk_ out, _t_ _k_ _i_, _k_ = _x_ = _Lk_ out, _t_ _Lk_ out, _t_ = 0 , _t_ _x_ _C_ ( _Lk_, _t_ ) _C_ ( _Lk_, _t_ ) _i_ _L_ kin and _L_ k kin and _L_ k kout are the inlet and outlet positions in section _k_, respectively Global and component balances in nodes: desorbent node: feed node: extract node: out + _u_ D = _u_ Iin, in + _u_ X = _u_ Iout, _u_ IVout + _u_ D = _u_ Iin, _u_ IIout + _u_ F = _u_ IIIin, out + _u_ F = _u_ IIIin, F III D = I _u_ IIin + _u_ X = _u_ Iout, X I _Ci_ out,IV _u_ IVout + _Ci_,d _u_ d = _Ci_ in,I _u_ I out + _Ci_,d _u_ d = _Ci_ in,I _u_ Iin _Ci_ out,II _u_ IIout + _Ci_,f _u_ f = _Ci_ in,III _u_ _i_,d _u_ d = _Ci_ in,I I out ,f _u_ f = _Ci_ in,III _u_ IV II + _Ci_,f _u_ f = _Ci_ in,III _u_ IIIin _Ci_ in,II = _Ci_ out,I = _Ci_ III = _Ci_ out,I = _Ci_,X out _i_,I raffinate node: in + _u_ R = _u_ IIIout, _u_ IVin + _u_ R = _u_ IIIout, _Ci_ in,II = _Ci_ out,I = _Ci_ intermediate nodes: _Ci_ in, _k_ +1 = _Ci_ out,k ; = _uk_ out+1 R = III out _i_,I = _Ci_ out,I = _Ci_,X _uk_ in = _uk_ out+ Kinetic and equilibrium equations: _isotherm_ _model:_ max - = 1 _Q_ + _<u>i</u>_ _iNc_ =1 _<u>i</u>_ _qi_ 1 + _K ci_ _i_ _Q_ _<u>i</u>_ _K Ci_ _<u>i</u>_ _<u>i</u>_ _K Ci_ _<u>i</u>_ _iNc_ =1 _K ci_ _i_ _Q_ imax is the maximum adsorption capacity, _K_ i is the adsorption constant _Chemical_ _reaction_ _equation:_ ProAc(l) + POH(l) H2O(l) + ProPro(l); ProAc is propanoic acid, POH is 1-propanol, H2O is water, and ProPro is _n_ -propyl-propionate _Reaction_ _rate_ _model:_ _r_ ProPro = 1.535 × 10 4( _a_ ProAc _a_ POH _a_ H237.09O _a_ ProPro) = 1.535 × 10 4( _a_ ProAc _a_ POH _a_ H237.09O _a_ ProPro), _a_ is the activity coefficient 4( _a_ ProAc _a_ POH _a_ H237.09O _a_ ProPro _Mass_ _transfer_ _coefficient_ _correlations:_ _n_ _Ki_ L _d_ p _i_,mix mix _j_ _i_, _j_ _j_ 0.8 = _xDj_ _i_ 0, _j_ _j_ 0.8 _j_ =1 _ud_ = _ud_ p _Di_,mix mix 0.8 = _j_ =1 _xDj_ _i_, mix p _Sh_ p, _i_ _D_ = _Re_ p _Di_,mix L _i_ p _j_ _j_ = _i_ _j_ p, _i_ _Di_ p _j_ yzzzzzz { _j_ zzzzzz { _D_ ÉÑÑÑÑÑÑÑÑÑÑÑÑÑÑÖ Ö = 1.09( _Re_ p _Sc_ )0.33 _Sc_ = _Di_ _i_ 0, _j_ = 8.2 _j_ <u>×</u> _V_ M,1/31 _i_ <u>0</u> 8 1 + ijjjjjj 3 _VV_ M,M, _i_ _j_ ÅÅÅÅÅÅÅÅÅÅÅÅÅÅ k _j_ M, _i_ _V_ _Sh_ p, _i_ = 1.09( _Re_ p _Sc_ ) = <u>mix</u> _Di_,mix <u>mix</u> _i_, _j_ 2/3 8.2 <u>×</u> 10 8 i 3 _V_ M, _j_ y = 1/3 1 + jjjjjj zzzzzz 8.2 <u>×</u> 10 8 i 3 _V_ _V_ 1/3 1 + jjjjjj _V_ ÅÅÅÅÅÅÅÅÅÅÅÅÅÅ _V_ 10 M, _j_ M,1/3 _i_ 1 + jjjjjjk _V_ M, _i_ Ä 1 ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÇ Ç ijjjjjj k M, _i_ _Sh_ p, _Re_ P, and _Sc_ are the Sherwood, Reynolds, and Schmidt numbers, respectively, _d_ p is the mean particle diameter, _Di_,mix is the mixture diffusion coefficient, _ρ_ is the fluid density, _η_ mix is the mixture viscosity, and _Di_ . _j_ 0 is the infinity dilution diffusion coefficient. Performance indicators: productivity: conversion: purity: R _C_ ProProR d _t_ ProPro d _t_ _t_ + _Nt_ _t_ + - ( _uX_ _C_ ProAcX + ( _uX_ _C_ ProAcX + _u_ R _C_ ProAcR )d _t_ X R R ProAc + R _t_ + _Nt_ Conv = 1 _<u>t</u>_ - ( _uXuC_ f _C_ ProAcXProAcf _Nt_ + - _u_ R _C_ ProAcR )d _t_ _t_ ijjjjj k mol L day yzzzzz { _X_ ProAc Prod = (1 b) _L_ unit _Nt_ = (1 b) _L_ unit b _uR_ _<u>t</u>_ _t_ + _Nt_ - _C_ ProProR b _uR_ _<u>t</u>_ - _C_ ProProR d _t_ i mol y (1 b) _L_ unit _Nt_ - jjjjjk L day zzzzz{ _R_ _<u>t</u>_ _<u>t</u>_ (%) PuR = _t_ + _Nt_ *( _C_ ProProR _<u>t</u>_ + _C_ ProAcR + _C_ HR O)d _t_ R _t_ + _Nt_ = _t_ _t_ + _Nt_ *( _C_ ProProR _<u>t</u>_ + _C_ ProAcR + _C_ HR2 + = 1 _<u>t</u>_ f d ( _C_ ProProR + _C_ ProAcR + _C_ HR O)d _t_ _<u>t</u>_ (%) R *( _C_ ProProR + _C_ ProAcR + H2O R R (1 b) _L_ ProAc f ProAc ProPro desorbent consumption: d f f ( _C_ d _u_ d _u_ f( _C_ POHf _C_ ProAcf _X_ )) _V_ _C_ <u>POHd</u> _u_ d _u_ f( _C_ POHf _C_ ProAcf _X_ )) _V_ mol.POH i _L_ <u>POH</u> y _C_ ProProR _uR_ jjjjj molProPro zzzzz k { mol.POH Dc = ( _C_ <u>POH</u> _u_ d _u_ f( _C_ POH _C_ ProAc _X_ )) _V_ mol.POH i _L_ jjjjj ProAc ijjjjj k <u>POH</u> <u>POH</u> d f POH yzzzzz { = <u>POH</u> _C_ ProProR _uR_ jjjjj molPOHProPro k R _C_ ProProR _u_ ProPro _R_ mol k model is feasible for real-time usage, where the fully mechanistic model, despite being run in gPROMs with a top desktop processor, fails to achieve it. Moreover, the rigorous model used is not easily parallelizable and would not benefit significantly from a high-performance computing environment as it is a stiff system of partial differential equations, which does not have a steady state but a cyclic one. <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> This work built the surrogate model from noise-free data, that is, from rigorous numerical simulations of the real SMBR model. In future works, one may consider introducing computer-generated noise to simulated data and evaluating its effects on the model and the process optimization. However, the results obtained prove that the surrogate model represents the system behavior with precision. This is clearly seen by the optimality analysis. Finally, an optimal FOR was obtained. The SMBR can be operated with high conversion while providing high purity ProPro using the obtained FOR. # ■ APPENDIX The model equations and parameters are displayed in Tables A1, A2, and A3. Table A2. Langmuir Multicomponent Competitive Model Parameters component _K_ /(L/mol) _Q_ max/(mol/Lads) POH 11.66 9.13 ProAc 9.04 10.06 ProPro 5.08 5.11 H2O 2.35 43.07 Table A3. Parameters of Columns in TMBR parameter value _ε_ b 4 × 10 <sup>−1</sup> _P_ e 166 _R_ p/( _μ_ m) 122.75 ijjjjj k g /ijjjjj dmgads3bed yzzzzz <u>ads</u> yzzzzz { 3 390 bed zzzzz{ b dm _L_ /(dm) 4.6 _A_ c/(dm2) 4.15 × 10 <sup>−2</sup> _T_ /(K) 313 # ■ Corresponding AUTHOR INFORMATION Authors Márcio A. F. Martins - _Industrial_ _Engineering_ _Program,_ _Polytechnic_ _School,_ _Federal_ _University_ _of_ _Bahia,_ _40210-630_ _Salvador/Bahia,_ _Brazil;_ [orcid.org/0000-0003-2390-](https://orcid.org/0000-0003-2390-1525) [1525;](https://orcid.org/0000-0003-2390-1525) Email: [marciomartins@ufba.br](mailto:marciomartins@ufba.br) Idelfonso B. R. Nogueira - _Department_ _of_ _Chemical_ _Engineering, Norwegian University of Science and Technology_ _(NTNU),_ _7491_ _Trondheim,_ _Norway;_ [orcid.org/0000-](https://orcid.org/0000-0002-0963-6449) [0002-0963-6449; Email: idelfonso.b.d.r.nogueira@ntnu.no](https://orcid.org/0000-0002-0963-6449) [Authors](https://pubs.acs.org/action/doSearch?field1=Contrib&text1="Vini%CC%81cius+V.+Santana"&field2=AllField&text2=&publication=&accessType=allContent&Earliest=&ref=pdf) Vinícius V. Santana − _Laboratory of Separation and Reaction_ _Engineering,_ _Associate_ _Laboratory_ _LSRE-LCM,_ _Department_ _of Chemical Engineering, Faculty of Engineering, University of_ _Porto,_ _4200-465_ _Porto,_ _Portugal;_ _Industrial_ _Engineering_ _Program,_ _Polytechnic_ _School,_ _Federal_ _University_ _of_ _Bahia,_ _40210-630_ _Salvador/Bahia,_ _Brazil;_ [orcid.org/0000-](https://orcid.org/0000-0002-2940-1268) [0002-2940-1268](https://orcid.org/0000-0002-2940-1268) José M. Loureiro - _Laboratory_ _of_ _Separation_ _and_ _Reaction_ _Engineering,_ _Associate_ _Laboratory_ _LSRE-LCM,_ _Department_ _of Chemical Engineering, Faculty of Engineering, University of_ _Porto,_ _4200-465_ _Porto,_ _[Portugal](https://pubs.acs.org/action/doSearch?field1=Contrib&text1="Ana+M.+Ribeiro"&field2=AllField&text2=&publication=&accessType=allContent&Earliest=&ref=pdf)_ Ana M. Ribeiro - _Laboratory_ _of_ _Separation_ _and_ _Reaction_ _Engineering,_ _Associate_ _Laboratory_ _LSRE-LCM,_ _Department_ _of Chemical Engineering, Faculty of Engineering, University of_ _Porto,_ _4200-465_ _Porto,_ _Portugal;_ [orcid.org/0000-0003-](https://orcid.org/0000-0003-4269-1420) [4269-1420](https://orcid.org/0000-0003-4269-1420) Luana P. Queiroz - _Laboratory_ _of_ _Separation_ _and_ _Reaction_ _Engineering,_ _Associate_ _Laboratory_ _LSRE-LCM,_ _Department_ _of Chemical Engineering, Faculty of Engineering, University of_ _Porto,_ _4200-465_ _Porto,_ _Portugal;_ [orcid.org/0000-0003-](https://orcid.org/0000-0003-3092-8136) [3092-8136](https://orcid.org/0000-0003-3092-8136) Carine M. Rebello - _Industrial_ _Engineering_ _Program,_ _Polytechnic_ _School,_ _Federal_ _University_ _of_ _Bahia,_ _40210-630_ _Salvador/Bahia,_ _[Brazil](https://pubs.acs.org/action/doSearch?field1=Contrib&text1="Ali%CC%81rio+E.+Rodrigues"&field2=AllField&text2=&publication=&accessType=allContent&Earliest=&ref=pdf)_ Alírio E. Rodrigues − _Laboratory of Separation and Reaction_ _Engineering,_ _Associate_ _Laboratory_ _LSRE-LCM,_ _Department_ _of Chemical Engineering, Faculty of Engineering, University of_ _Porto,_ _4200-465_ _Porto,_ _Portugal;_ [orcid.org/0000-0002-](https://orcid.org/0000-0002-0715-4761) [0715-4761](https://orcid.org/0000-0002-0715-4761) Complete contact information is available at: [https://pubs.acs.org/10.1021/acsomega.2c06737](https://pubs.acs.org/doi/10.1021/acsomega.2c06737?ref=pdf) Notes The authors declare no competing financial interest. # ■ ACKNOWLEDGMENTS This work was financially supported by Brazilian research agency FAPESB under grant BOL0731/2020, EDUFI Fellowships program, LA/P/0045/2020 (ALiCE), UIDB/50020/ 2020, and UIDP/50020/2020 (LSRE-LCM), funded by national funds through FCT/MCTES (PIDDAC), FCT� Fundação para a Ciência e Tecnologia under CEEC Institutional program. # ■(1) Rodrigues, A. E.; Pereira, C.; Minceva, M.; Pais, L. S.; Ribeiro, A. REFERENCES M.; Ribeiro, A.; Silva, M.; Graça, N.; Santos, J. C. Simulated Moving Bed Reactor. _Simulated_ _Moving_ _Bed_ _Technology_ ; Elsevier, 2015; pp 183−223. (2) Migliorini, C.; Fillinger, M.; Mazzotti, M.; Morbidelli, M. [Analysis of Simulated Moving-Bed Reactors.](https://doi.org/10.1016/S0009-2509%0x2898%0x2900487-4) _Chem. Eng. Sci._ 1999, _54_, 2475−2480. (3) Minceva, M.; Gomes, P. S.; Meshko, V.; Rodrigues, A. E. [Simulated Moving Bed Reactor for Isomerization and Separation of P-](https://doi.org/10.1016/j.cej.2007.09.033) [Xylene.](https://doi.org/10.1016/j.cej.2007.09.033) _Chem._ _Eng._ _J._ 2008, _140_, 305. (4) Tie, S.; Sreedhar, B.; Agrawal, G.; Oh, J.; Donaldson, M.; Frank, [T.; Schultz, A.; Bommarius, A.; Kawajiri, Y. Model-Based Design and](https://doi.org/10.1016/j.cej.2016.04.062) Experimental Validation of [Simulated](https://doi.org/10.1016/j.cej.2016.04.062) Moving Bed Reactor for [Production of Glycol Ether Ester.](https://doi.org/10.1016/j.cej.2016.04.062) _Chem. Eng. J._ 2016, _301_, 188−199. (5) Nikacevič ́, N. M.; Huesman, A. E. M.; Van den Hof, P. M. J.; Stankiewicz, A. I. Opportunities and [Challenges](https://doi.org/10.1016/j.cep.2011.11.006) for Process Control in Process [Intensification.](https://doi.org/10.1016/j.cep.2011.11.006) _Chem._ _Eng._ _Process._ 2012, _52_, 1−15. (6) Tie, S.; Sreedhar, B.; Donaldson, M.; Frank, T.; Schultz, A. K.; Bommarius, A. S.; Kawajiri, Y. Experimental [Evaluation](https://doi.org/10.1007/s10450-019-00048-y) of Simulated Moving Bed Reactor for [Transesterification](https://doi.org/10.1007/s10450-019-00048-y) Reaction Synthesis of Glycol [Ether](https://doi.org/10.1007/s10450-019-00048-y) Ester. _Adsorption_ 2019, _25_, 795. [(7) Ray, N. M.; Ray, A. K. Multi-Objective Optimisation of Biodiesel](https://doi.org/10.3390/separations8080127) [Synthesis in Simulated Moving Bed Reactor.](https://doi.org/10.3390/separations8080127) _Separations_ 2021, _8_, 127. (8) Subramani, H. J.; Zhang, Z.; Hidajat, K.; Ray, A. K. Multiobjective Optimization of [Simulated](https://doi.org/10.1002/cjce.5450820319) Moving Bed Reactor and [Its Modification - Varicol Process.](https://doi.org/10.1002/cjce.5450820319) _Can. J. Chem. Eng._ 2004, _82_, 590− 598. (9) Nogueira, I. B. R.; Viena, V.; Rodrigues, A. E.; Loureiro, J. M.; [Ribeiro, A. M. Dynamics of a True Moving Bed Reactor: Synthesis of](https://doi.org/10.1016/j.cep.2020.107821) [n-Propyl Propionate and an Alternative Optimization Method.](https://doi.org/10.1016/j.cep.2020.107821) _Chem._ _Eng._ _Process._ 2020, _148_, 107821 No. January. <u>ACS</u> <u>Omega</u> <u><mark>[http://pubs.acs.org/journal/acsodf](http://pubs.acs.org/journal/acsodf?ref=pdf)</mark></u> <u><mark>Article</mark></u> (10) Nogueira, I. B. R.; Ribeiro, A. M.; Rodrigues, A. E.; Loureiro, J. [M. Dynamic response to process disturbances-A comparison between](https://doi.org/10.1016/j.compchemeng.2017.01.026) [TMB/SMB models in transient regime.](https://doi.org/10.1016/j.compchemeng.2017.01.026) _Comput. Chem. Eng._ 2017, _99_, 230−244. (11) Santana, V. V.; Martins, M. A. F.; Rodrigues, A. E.; Loureiro, J. M.; Ribeiro, A. M.; Nogueira, I. B. R. Transient [Analysis](https://doi.org/10.1016/J.COMPCHEMENG.2020.106820) of True/ [Simulated Moving Bed Reactors: A Case Study on the Synthesis of n-](https://doi.org/10.1016/J.COMPCHEMENG.2020.106820) Propyl [Propionate.](https://doi.org/10.1016/J.COMPCHEMENG.2020.106820) _Comput._ _Chem._ _Eng._ 2020, _137_, 106820. (12) Li, L.; Dai, C.; Deng, J.-B.; Yuan, D.-C. Parameter Optimization of Neural Network Model Based on Simulated Moving Bed. _2019_ _Chinese_ _Automation_ _Congress_ _(CAC)_ ; IEEE, 2019; pp 2506−2509. (13) Wang, C.; Klatt, K.; Dünnebier, D.; Engell, S.; Hanisch, F. Neural Network-Based [Identification](https://doi.org/10.1016/s0967-0661%0x2802%0x2900212-5) of SMB Chromatographic [Processes.](https://doi.org/10.1016/s0967-0661%0x2802%0x2900212-5) _Control_ _Eng._ _Pract._ 2003, _11_, 949−959. (14) Nogueira, I. B. R.; Ribeiro, A. M.; Requiao,̃ R.; Pontes, K. V.; [Koivisto, H.; Rodrigues, A. E.; Loureiro, J. M. A Quasi-Virtual Online](https://doi.org/10.1016/j.asoc.2018.03.001) Analyser Based on an [Artificial](https://doi.org/10.1016/j.asoc.2018.03.001) Neural Networks and Offline Measurements to Predict Purities of Raffinate/Extract in Simulated Moving [Bed](https://doi.org/10.1016/j.asoc.2018.03.001) Processes. _Appl._ _Soft_ _Comput._ _J._ 2018, _67_, 29−47. [(15) LeCun, Y.; Bengio, Y.; Hinton, G. Deep Learning.](https://doi.org/10.1038/nature14539) _Nature_ 2015, _521_, 436. (16) Hornik, K.; Stinchcombe, M.; White, H. [Multilayer](https://doi.org/10.1016/0893-6080%0x2889%0x2990020-8) [Feedforward Networks Are Universal Approximators.](https://doi.org/10.1016/0893-6080%0x2889%0x2990020-8) _Neural Network._ 1989, _2_, 359. (17) Park, C. Determination of the [Joint](https://doi.org/10.1080/00207543.2013.792963) Confidence Region of the Optimal Operating Conditions in Robust Design by the Bootstrap [Technique.](https://doi.org/10.1080/00207543.2013.792963) _Int._ _J._ _Prod._ _Res._ 2013, _51_, 4695−4703. (18) Nogueira, I. B. R.; Martins, M. A. F.; Requiao,̃ R.; Oliveira, A. R.; Viena, V.; Koivisto, H.; Rodrigues, A. E.; Loureiro, J. M.; Ribeiro, [A. M. Optimization of a True Moving Bed Unit and Determination of](https://doi.org/10.1016/j.cie.2019.06.020) Its Feasible Operating Region [Using](https://doi.org/10.1016/j.cie.2019.06.020) a Novel Sliding Particle Swarm [Optimization.](https://doi.org/10.1016/j.cie.2019.06.020) _Comput._ _Ind._ _Eng._ 2019, _135_, 368−381. (19) Rebello, C. M.; Martins, M. A. F.; Loureiro, J. M.; Rodrigues, A. E.; Ribeiro, A. M.; Nogueira, I. B. R. From an [Optimal](https://doi.org/10.3390/math9151808) Point to an Optimal Region : A Novel [Methodology](https://doi.org/10.3390/math9151808) for Optimization of Multimodal Constrained [Problems](https://doi.org/10.3390/math9151808) and a Novel Constrained Sliding Particle Swarm [Optimization](https://doi.org/10.3390/math9151808) Strategy. _Mathematics_ 2021, _9_, 1808. (20) Process Systems Enterprise. Next-Generation Modelling Tools [across the Process Lifecycle https://www.psenterprise.com/products/](https://www.psenterprise.com/products/gproms) [gproms](https://www.psenterprise.com/products/gproms) (accessed 15-12-2022). (21) McKay, M. D.; Beckman, R. J.; Conover, W. J. [Comparison](https://doi.org/10.1080/00401706.1979.10489755) of [Three Methods for Selecting Values of Input Variables in the Analysis](https://doi.org/10.1080/00401706.1979.10489755) [of Output from a Computer Code.](https://doi.org/10.1080/00401706.1979.10489755) _Technometrics_ 1979, _21_, 239−245. (22) Niederreiter, H. _Random_ _Number_ _Generation_ _and_ _Quasi-Monte_ _Carlo Methods_ ; Society for Industrial and Applied Mathematics, 1992. (23) Almeida, E. C.; Rebello, C. de M.; Fontana, M.; Schnitman, L.; Nogueirados, I. B. R. A Robust Learning Methodology for Uncertainty-Aware Scientific Machine Learning Models. 2022, arXiv 2022.10.48550/ARXIV.2209.01900. (24) Rebello, C. M.; Marrocos, P. H.; Costa, E. A.; Santana, V. V.; Rodrigues, E.; Ribeiro, A. M.; Nogueira, I. B. R. Machine LearningBased Dynamic Modeling for [Process](https://doi.org/10.3390/pr10020250) Engineering Applications : A Guideline for Simulation and [Prediction](https://doi.org/10.3390/pr10020250) from Perceptron to Deep [Learning.](https://doi.org/10.3390/pr10020250) _Processes_ 2022, _10_, 250. (25) Santana, V. V.; Martins, M. A. F.; Loureiro, J. M.; Ribeiro, A. M.; Rodrigues, A. E.; Nogueira, I. B. R. Optimal Fragrances Formulation Using a Deep [Learning](https://doi.org/10.1016/j.compchemeng.2021.107344) Neural Network Architecture: A Novel [Systematic](https://doi.org/10.1016/j.compchemeng.2021.107344) Approach. _Comput._ _Chem._ _Eng._ 2021, _150_, 107344. [(26) Miriyala, S. S.; Mittal, P.; Majumdar, S.; Mitra, K. Comparative](https://doi.org/10.1016/j.ces.2015.09.030) Study of Surrogate Approaches [While](https://doi.org/10.1016/j.ces.2015.09.030) Optimizing Computationally Expensive [Reaction](https://doi.org/10.1016/j.ces.2015.09.030) Networks. _Chem._ _Eng._ _Sci._ 2016, _140_, 44−61. (27) Pantula, P. D.; Miriyala, S. S.; Mitra, K. KERNEL: Enabler to Build Smart Surrogates for [Online](https://doi.org/10.1080/10426914.2016.1269918) Optimization and Knowledge [Discovery.](https://doi.org/10.1080/10426914.2016.1269918) _Mater._ _Manuf._ _Process._ 2017, _32_, 1162−1171. (28) Miriyala, S. S.; Pujari, K. N.; Naik, S.; Mitra, K. [Evolutionary](https://doi.org/10.1016/j.powtec.2022.117527) Neural Architecture Search [for](https://doi.org/10.1016/j.powtec.2022.117527) Surrogate Models to Enable [Optimization of Industrial Continuous Crystallization Process.](https://doi.org/10.1016/j.powtec.2022.117527) _Powder_ _Technol._ 2022, _405_, 117527. [(29) Himmelblau, D. M. Accounts of Experiences in the APplication](https://doi.org/10.1021/ie800076s?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) of Artificial Neural [Networks](https://doi.org/10.1021/ie800076s?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) in Chemical Engineering. _Ind._ _Eng._ _Chem._ _Res._ 2008, _47_, 5782−5796. (30) Marrocos, P. H.; Iwakiri, I. G. I.; Martins, M. A. F.; Rodrigues, [A. E.; Loureiro, J. M.; Ribeiro, A. M.; Nogueira, I. B. R. A Long Short-](https://doi.org/10.1016/j.asoc.2021.108318) [Term Memory Based Quasi-Virtual Analyzer for Dynamic Real-Time](https://doi.org/10.1016/j.asoc.2021.108318) Soft Sensing of a [Simulated](https://doi.org/10.1016/j.asoc.2021.108318) Moving Bed Unit. _Appl._ _Soft_ _Comput._ 2022, _116_, 108318. (31) He, X.; Asada, H. A New Method for Identifying Orders of Input-Output Models for Nonlinear Dynamic Systems. _1993 American_ _Control_ _Conference_ ; IEEE, 1993; pp 2520−2523. (32) Li, L.; Jamieson, K.; DeSalvo, G.; Rostamizadeh, A.; Talwalkar, A. Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimization. _J._ _Mach._ _Learn._ _Res._ 2018, _18_, 1−52. (33) Inapakurthi, R. K.; Miriyala, S. S.; Mitra, K. Deep [Learning](https://doi.org/10.1016/j.cej.2021.131221) Based Dynamic Behavior [Modelling](https://doi.org/10.1016/j.cej.2021.131221) and Prediction of Particulate Matter in Air. _Chem._ _Eng._ _J._ 2021, _426_, 131221. (34) Inapakurthi, R. K.; Miriyala, S. S.; Mitra, K. [Recurrent](https://doi.org/10.1016/j.ces.2020.115585) Neural Networks Based Modelling of Industrial Grinding Operation. _Chem._ _Eng._ _Sci._ 2020, _219_, 115585. (35) Mogilicharla, A.; Mittal, P.; Majumdar, S.; Mitra, K. [Kriging](https://doi.org/10.1080/10426914.2014.921709) Surrogate Based Multi-Objective [Optimization](https://doi.org/10.1080/10426914.2014.921709) of Bulk Vinyl Acetate [Polymerization with Branching.](https://doi.org/10.1080/10426914.2014.921709) _Mater. Manuf. Process._ 2015, _30_, 394− 402. (36) Miriyala, S. S.; Subramanian, V. R.; Mitra, K. [TRANSFORM-](https://doi.org/10.1016/j.ejor.2017.05.026) ANN for Online Optimization [of](https://doi.org/10.1016/j.ejor.2017.05.026) Complex Industrial Processes: [Casting Process as Case Study.](https://doi.org/10.1016/j.ejor.2017.05.026) _Eur. J. Oper. Res._ 2018, _264_, 294−309. (37) Kennedy, J.; Eberhart, R. 47-Particle Swarm Optimization Proceedings, IEEE International Conference. _Proceedings_ _of_ _ICNN’95_ - _International_ _Conference_ _on_ _Neural_ _Networks_ ; IEEE, 1995; Vol. _11_ (1), pp 111−117. (38) Schwaab, M.; Biscaia, E. C., Jr.; Monteiro, J. L.; Pinto, J. C. Nonlinear Parameter Estimation [through](https://doi.org/10.1016/j.ces.2007.11.024) Particle Swarm Optimiza[tion.](https://doi.org/10.1016/j.ces.2007.11.024) _Chem._ _Eng._ _Sci._ 2008, _63_, 1542−1552. (39) Nogueira, I. B. R.; Martins, M. A. F.; Requiao,̃ R.; Oliveira, A. R.; Viena, V.; Koivisto, H.; Rodrigues, A. E.; Loureiro, J. M.; Ribeiro, [A. M. Optimization of a True Moving Bed Unit and Determination of](https://doi.org/10.1016/j.cie.2019.06.020) Its Feasible Operating Region [Using](https://doi.org/10.1016/j.cie.2019.06.020) a Novel Sliding Particle Swarm [Optimization.](https://doi.org/10.1016/j.cie.2019.06.020) _Comput._ _Ind._ _Eng._ 2019, _135_, 368. (40) Rebello, C. M.; Martins, M. A. F.; Rodrigues, A. E.; Loureiro, J. [M.; Ribeiro, A. M.; Nogueira, I. B. R. A Novel Standpoint of Pressure](https://doi.org/10.1016/j.cherd.2021.12.047) Swing Adsorption Processes [Multi-Objective](https://doi.org/10.1016/j.cherd.2021.12.047) Optimization: An Approach Based on Feasible Operation Region Mapping. _Chem._ _Eng._ _Res._ _Des._ 2022, _178_, 590−601. (41) Benyahia, B.; Latifi, M. A.; Fonteix, C.; Pla, F. [Emulsion](https://doi.org/10.1016/j.ces.2012.12.013) Copolymerization of Styrene and [Butyl](https://doi.org/10.1016/j.ces.2012.12.013) Acrylate in the Presence of a Chain Transfer Agent. Part [2:](https://doi.org/10.1016/j.ces.2012.12.013) Parameters Estimability and [Confidence](https://doi.org/10.1016/j.ces.2012.12.013) Regions. _Chem._ _Eng._ _Sci._ 2013, _90_, 110−118.

섹션 본문 44문단 · 31,391자

(제목 없음)

1Model-based optimization of simulated moving bed reactors (SMBRs) requires efficient solvers and significant computational power. Over the past years, surrogate models have been considered for such computationally demanding optimization problems. In this sense, artificial neural networks�ANNs�have found applications for modeling the simulated moving bed (SMB) unit but not yet been reported for the reactive SMB (SMBR). Despite ANNs' high accuracy, it is essential to assess its capacity to represent the optimization landscape well. However, a consistent method for optimality assessment using surrogate models is still an open issue in the literature. As such, two main contributions can be highlighted: the SMBR optimization based on deep recurrent neural networks (DRNNs) and the characterization of the feasible operation region. This is done by recycling the data points from a metaheuristic technique�optimality assessment. The results demonstrate that the DRNN-based optimization can address such complex optimization while meeting optimality.

INTRODUCTION

2The simulated moving bed reactor (SMBR) extends the simulated moving bed (SMB) process, where the continuous chromatographic separation enhances chemical reactions. The SMBR has attracted significant attention in the past years, 1,2 especially for synthesizing oxygenated compounds and isomerization reactions. 3,4 Model-based optimization of SMBR units implies the simultaneous solution of dynamic nonlinear partial differential equations, requiring efficient solvers and significant computational power. Moreover, several other issues arise in optimizing SMBRs due to the coupling of reaction and separation. It reduces the degree of freedom; 5 that is, fewer variables can be manipulated to achieve purity and conversion requirements and conflicting objectives; namely, improving one performance indicator worsens the others in a nontrivial way.

3Therefore, SMBR optimization is not a trivial task that motivated many studies to address it with mixed approaches� first-principles models with varying simplifications and deterministic/heuristic optimization methods. Tie et al. 6 proposed an epsilon-constrained multiobjective optimization with a full-discretization model to maximize the production rate of propylene glycol methyl ether acetate and conversion of ethyl acetate solved with interior point OPTimization techniques. Ray and Ray 7 proposed a multiobjective optimization using nonsorted genetic algorithm II (NSGA II) to maximize yield and purity in biodiesel production. Subramani et al. 8 presented a multiobjective optimization problem for the methyl tertiary butyl ether synthesis in a Varicol SMBR optimized with the NSGA algorithm. Nogueira et al. 9 proposed a single objective optimization problem for producing n-propyl-propionate with true moving bed reactor approximation using a particle swarm optimization (PSO) method.

4The optimizer solves the SMBR model several times to evaluate the objective function during optimization. The simulation time can grow significantly depending on model simplifications�reaction rate law, equilibrium equations, number of columns per zone, and nonisothermal operation. For the design of the SMBR, the optimization time may not be prohibitively high. However, the high-fidelity model may become an unfeasible option in an actual plant coupled with up-and downstream equipment or in real-time applications. Simplifications of the high-fidelity model are often employed for SMB separation by using the true moving bed (TMB) concept and the SMBR with the true moving bed reactor (TMBR). However, it has been shown that this approximation can fail to describe the SMB and SMBR in several scenarios. 10,11 Over the past years, reduced-order/surrogate models have been considered for optimization problems. Surrogate models are mathematical models identified using statistical techniques and attenuating the associated computational costs of an optimization problem. In this sense, artificial neural net-works�ANNs�have found applications for these systems for modeling the SMB unit (without reaction). 12−14 However, they have not yet been reported for the reactive SMB (SMBR). ANNs are powerful models composed of multiple processing layers that learn representations of data with various levels of abstraction 15 and are proven to be able to approximate any nonlinear C 1 continuous functions 16 and overcome the curse of dimensionality.

5Despite ANNs' high accuracy for nonlinear function approximation, assessing their converges and capacity to represent the optimization landscape competently is essential. 17 To this end, it is important to use strategies to identify high-accuracy surrogates (low bias) and investigate the optimality, that is, convergence to the true global optimum. However, a consistent method for optimality assessment using surrogate models is still an open issue in the literature. Optimality is usually assessed by visual inspection and pointwise (i.e., by comparing the high-fidelity model-based optimal point with the surrogate model-based optimal one).

6A few works have recently shown one approach to evaluating the optimization results with a cluster of points instead of a single evaluation. Park (2013) proposed a bootstrap approach, and Nogueira et al. 18 and Rebello et al. 19 used recycled data from PSO�however, using the high-fidelity model. As shown in refs 9 and 19, it is possible to map the optimal region through the data population generated from the PSO algorithm. As such, the method allows using an available massive database from PSO to produce meaningful information about the optimal solution and increase its robustness level by evaluating its associated uncertainty. Addressing this issue is one main contribution of this work and still an open issue in the literature.

7Hence, two main contributions of this work can be highlighted: the SMBR optimization based on deep neural networks (DNNs) and the challenging characterization of the feasible operation region (FOR). Therefore, the DRNN-based optimization is assessed in the optimization of an SMBR unit. This is done by recycling PSO data points, allowing the optimality assessment. A case study presents the synthesis of npropyl-propionate in an SMBR-4 unit. The present work proposes a novel framework for SMBR units' PSO-oriented optimization based on DNN models.

METHODOLOGY

82.1. SMBR Model. The SMBR comprises a set of fixed-bed columns arranged in a recirculation loop. There are two inlets (feed and desorbent) and outlet streams (extract and raffinate). The packing material(s) have either adsorptive or catalytic properties, and the feed stream contains the reactant(s). The products are separated from the reactants as the reaction occurs within the unit. Figure 1 illustrates a fourzone SMBR for a reversible bimolecular hypothetical reaction. For such cases, it is usual that one of the reactants is used as a desorbent. The reactants (A + B) are fed between sections II and III; the raffinate stream is located between sections III and IV. It is where the less adsorbed product (C) is collected, the desorbent stream is located between sections I and IV, and the extract stream lies between sections I and II from which the more adsorbed product (D) is withdrawn.

9In the present work, the SMBR-4 model for the synthesis of n-propyl propionate proposed in ref 11 was implemented in gPROMs 20 to serve as the high-fidelity model to be optimized and source of data for the DRNN. In this case, propanoic acid, propanol, n-propyl propionate, and water play the A, B, C, and D roles, respectively, considering Figure 1 as a reference. The model equations and parameters are displayed in Tables A1 and A2. The parameters were previously estimated by Nogueira et al. 9 A total of four performance indicators of separation and reaction were considered: raffinate purity, limiting reactant conversion, productivity, and desorbent consumption. Table A1 shows the equations for raffinate purity, conversion, desorbent consumption, and productivity in the case study of propyl-propionate synthesis.

DNN Model�Building and Estimation.

10Tables A1 and A2 show that the SMBR is an inherently dynamic process. Hence, using the discrete-time recurrent neural network (RNN) model is the most appropriate way of introducing inductive bias and shortening the amount of training data needed for long-horizon predictions (simulation mode). The difference between prediction and simulation is well discussed elsewhere. 14 Thus, this architecture is proposed as a surrogate model of SMBR-4. Several RNNs, one for each performance indicator (time-averaged raffinate purity, conversion, desorbent consumption, and productivity), were identified, that is, multiple input single output (MISO). Here, we propose a flexible approach with a mixed stack of state-of-the-art RNN architectures built�long−short-term memory (LSTM) or gated recurrent unit (GRU) and feed forward layers. Figure 2 illustrates the proposed approach.

11Once the general model architecture is proposed, the identification procedure, that is, a parameter estimation strategy, has to be developed, which includes the design of experiments (DoE) or data acquisition, time series preprocessing, and the parameter estimation itself, which involves defining the neural network topology, cost function and training policy�training set size, optimizer type, and parameters.

12Among all possible input variables in the SMBR, the ones with the highest impact on its performance indicators were chosen, according to a strategy developed by Santana et al. 11 � the concentration of the limiting reactant in the feed stream (propanoic acid), the desorbent flow rate, and the switching time. Then, the DoE was performed using the Latin Hypercube Sampling (LHS) algorithm 21 to sample the input space ( 3 ) with minimal cross-correlation between variables. The sampled inputs were fed to the high-fidelity model simulator as a sequence of step signals persisting until the system reached the cyclic steady state. The simulator outputs (performance indicators) were collected and stored. The LHS is one among many options available for DoE, which includes the popular Sobol sequences. 22 Each method has its own advantages and disadvantages. The literature in ANN-based surrogates presents relevant usages of both methods. 19,23−28 The available time series preparation into "experiments", often named "time windows", forces the model to learn the whole response to a step change in the input variables. In simple terms, a set of small chunks of time series are created, wherein each experiment (chunk) E i consists of a set of tuples u u u y y y ( ), ( ), ..., ( )

13The time series preprocessing involves identifying long-term dependencies (order) in the time series data. In the present work, the dynamic system is modeled as a nonlinear state space representation as described in ref 29 It implies that for a given

14where n a and n b are the number of past values and d is the delay. The system order (n a and n b ) is independent of the chosen function used to approximate the true unknown F and should be carried before any parameter estimation. 14,30 To identify n a and n b , the Lipschitz coefficient 31 method is used. The neural network topology, cost function, and training policy are known as hyperparameters. They define the optimization problem and must be determined beforehand, that is, before the RNNs' weights and biases are estimated. The hyperparameter space comprises a set of both discrete and continuous variables, which makes their selection a complex task. In this sense, the state-of-the-art HYPERBAND 32 optimization algorithm is used here as it wisely allocates resources for training the most promising configurations. The search space for the hyperband comprised continuous and discrete variables: type of each recurrent layer, number of stacked layers, number of neurons per layer, activation function type, learning rate, and minibatch size. Despite using hyperband, other efficient automatic hyperparameter selection methods exist, such as multiobjective optimization problem training loop 33−35 and TRANSFORM. 36 At each run of HYPERBAND, the RNNs were trained with least-squares loss function and adaptive moment estimation (Adam) with TensorFlow default parameterization. After selecting the best configuration, the final architecture was trained longer with early stopping. Neural network building, training process, and hyperparameter tuning were implemented in TensorFlow 2.5.

Optimization Problem Formulation.

15The optimization problem is framed as a single objective function by weighting the SMBR performance indicators constrained by the model equations and decision variables' limits.

16The objective function, evaluated at a cyclic steady state, and constraints can be written as

17where Prod, Conv, Dc, and Pur are time-averaged productivity, conversion, desorbent consumption, and purity, respectively, and x is the decision vector that contains the input variables values. w i are real values that weight each performance indicator; δ pur is an indicator function that penalizes the objective function with w pur if the purity is lower than Pur min . f(x) is the model (mechanistic or DRNN) that maps the decision vector to the performance indicators. It can be either the rigorous SMBR-4 model or the RNN. As shown in the previous section, the SMBR has four main performance indicators usually taken into account: productivity, conversion, purity of the product of interest, and desorbent consumption. The first three are usually desired to be as high as possible and the last as low as possible. It means that the corresponding weights in the objective function should reflect it; that is, the performance indicators to be maximized need a negative weight and vice versa. An in-house implementation of the global PSO method 37 is used to solve this optimization problem.

18PSO was used as the optimization method as it has been demonstrated as an efficient and suitable approach for characterizing confidence regions in optimization problems. 19,38−40 2.4. Feasible Operating Region around the Optimal Point. The strategy for determining the feasible operating region around the optimal point here used was proposed by Nogueira et al. 18 The uncertainty map is the denominated feasible operating region (FOR) in the referred work. The FOR is a subdomain of process operating variables where the process can attain a defined performance with a certain confidence. Given the population-based optimization method (PSO), a statistical evaluation of the swarm history in the optimization is performed. Usually, the likelihood approach is employed as it considers the system's nonlinearities. This approach can be employed using the Fisher−Snedecor criterion. All details of the deduction of this criterion for single objective process optimization are beyond the scope of this work. It is presented elsewhere. 19 Here, the intuition and some mathematical basis is presented.

19The key idea is that the Lagrangian (L), which is the sum of the objective function with weighted vector of constraints (C), can be treated as a random variable, and the decision vector points are statistically compared using the Fisher−Snedecor. The Lagrangian and Fisher−Snedecor can be expressed, respectively, as

20it compares the Lagrangian L( ) * at the minimum found in the optimization, θ*, with a given decision vector θ with objective function L(θ) using the Fisher−Snedecor distribution F α with confidence level α and n k − n θ − n y + 1 degrees of freedom, where n y is the total number of performance indicators, n k is the number of iterations in the optimization, and n θ is the number of operating variables (decision vector). Thus, the history of swarm position and objective function can be evaluated to compose an α confidence-level region when passing the inequality criteria described in inequality (3). Equation 3 derivation is adapted from the confidence region evaluation for parameter estimation presented by Schwaab et 39 and here adapted, the methodology was adapted in order to evaluate the feasible operating region of the process operating variables after the optimization. In Figure 3, ϵ represents the distance between the optimum analytical point and the optimum point found by the PSO. This concept allows us to determine the normalized squared error (e i 2 ) concerning the variance (V i ), according to the following equation

21at this point, a chi-squared distribution for e 2 , χ 2 , is assumed. This probability distribution has n n ( 1) k y degrees of freedom, where n k is the total number of iterations developed by the PSO and n y is the total number of objective functions considered in the optimization.

22The error is calculated between the global analytical optimum and the remaining points belonging to the PSO population, represented in Figure 3, by h. The mathematical expression for h is defined as

23where the variance V ij can be defined by

24therefore, the assumed chi-square distribution premise for h 2 was also assumed for e 2 , whose degrees of freedom are expressed by n n n ( 1)

25where α is the confidence level of the Fisher−Snedecor test. Finally, a Taylor series expansion can be derived around the optimal point to express the objective function

26where L * is the gradient vector and H * is the Hessian matrix of the objective function, which is correlated with the covariance matrix optimal points as

27replacing eq 14 in 13, one obtains

28assuming that V ij is a good approximation for V, the optimal region meets the following test Table 1 were created with LHS. Note that each step persisted for 250 time steps (prior estimated system settling time), leading to a total of 250.000 points. Three variables could be subject to step changes�concentration of propanoic acid in the feed stream (C F ProAc ), desorbent flow rate (Q D ), and switch time (t s ), and four performance indicators outputs were collected�time-averaged conversion, productivity, desorbent consumption, and raffinate purity.

Identification. A set of 800 steps with ranges shown in

29The remaining input variables and parameters necessary to simulate the SMBR-4 model were taken from, namely, feed stream flow rate (Q F ), recycling stream flow rate (Q IV ), and extract stream flow rates (Q X ), whose values are 1.400 × 10 −4 , 1.2135 × 10 −4 , and 9.000 × 10 −4 (in dm 3 /min), respectively. Table 1 shows the ranges of the designed inputs as well as the outputs. The input space ranges were selected according to the physical limits of a lab-scale SMBR unit and made large enough to collect a considerable amount of information. It is worth remarking that the concentration of the limiting reactant cannot surpass its molar volume at working temperature, and it was the upper limit value for C F ProAc .

30As described in 1.2, the original data set was partitioned into "experiments". Figure 3 shows a sample of a single experiment described for both input and output signals. Note that all variables are already rescaled. It is possible to note that the performance indicators have very distinct dynamic behavior, which justifies the MISO approach. 680 patterns (85% of first data set) similar to the one presented in Figure 3 were used for training and the remaining ones were used for hyperparameter tuning. A separate data set was generated and used for testing.

31As described, the Lipschitz coefficient method was used to determine the order, that is, assess long-term dependencies of the system encoded in n a and n b parameters. These numbers were determined using a graphical approach. This analysis was run for each performance indicator as it deals with a MISO case. The orders are defined as the pair (n a , n b ) at which the order index stops changing significantly as the order increases. From Figure 3, it can be seen that the purity, conversion, desorbent consumption, and productivity orders are (4,1), (8,1), (9,1), and (9,1), respectively.

32In order to find a combination of hyperparameters that result in the minimum mean squared error of the validation set, HYPERBAND parameter maximum epochs were set to 200. The factor (proportion of discarded configurations) was set to 5. The HYPERBAND method was used with early-stopping regularization to prevent overfitting. Additionally, the proposed optimality assessment is a robust method for demonstrating generalization capacity. Table 2 shows the search space of the hyperparameters for the RNN. Table 3 shows the best found hyperparameters for each performance indicator of the RNN. It can be seen that for some performance indicators, the best architectures involves stacked LSTM and GRU cells. A similar pattern is observed for the activation function.

33These architectures achieve satisfactory performance for all performance indicators: 0.0243 for productivity, 0.209 for conversion, and 0.710 for purity (considering mean absolute error for the whole validation set). Figure 5 shows hexabin parity plots for all performance indicators for the DRNN in the test set. On the x-axis are the DRNN predictions, and on the yaxis are the test data. The dynamic data and predictions are also presented in Figure 6 for the test set.

34One important aspect to consider in black-box models is the accuracy/computational time trade-off. While the gPROMs simulator takes about 566 s to run the response for one single step perturbation, the RNN surrogate takes about 150 ×10 −3 seconds (both running in an Intel i7-7500U�2.7 GHz CPU). As is demonstrated in the next sections, the simulation time difference becomes essential for optimization.

Optimization for 95% Raffinate Purity

35Requirement. The PSO algorithm was used to solve the optimization problem described in eq 1 with both the rigorous and DRNN models. The decision vector is x = [t s , Q d , C F ProAc ], where the variables are the scaled switching time, desorbent flow rate, and concentration of propanoic acid in the feed stream, respectively, according to Table 1. They are the same ones used to train the DRNN. Thus, the intervals were large enough to cover several possible operating conditions. However, expanding these intervals beyond the input space where the DRNN was trained can lead to inaccurate calculations of the objective function. It is a drawback of all surrogate models; that is, they can only be made accurate in the identification region. However, this work generated data in a broad region using LHS based on the constraints of a real lab-scale plant. Therefore, it ensures that the identified models will represent the system under evaluation well.

ACS Omega

36http://pubs.acs.org/journal/acsodf Article w conv = −4 × 10 −3 , w ec = 3 × 10 −1 , w prod = −3 × 10 −1 , and w pur = 50 were chosen as the set of weights in the objective function, and Pur min was set to 95%. The weights reflect the objective from a process point of view�a negative value means that increasing the corresponding performance indicator magnitude will favor the objective function minimization and vice versa. Since the variables were rescaled, the upper and lower limits are 0 and 1, respectively.

37When the SMBR-4 rigorous model was used in the optimization, 50 particles and 40 iterations were set. When the DRNN was used, 400 particles and 400 iterations were set. As mentioned in Section 2.1, the rigorous model is very costly to simulate. The number of particles and iterations is limited to the available time to perform the optimization. This specific case took 56 h with the rigorous model and 0.75 h with the DRNN. Figure 4 shows the swarm minimum values' (global best) evolution over the iterations. Even though the optimization of the DRNN was carried out up to 400 iterations, only 60 are shown. It can be seen that the convergence of the optimization with the DRNN model is quicker. Still, both objective functions stop decreasing before the 10th iteration. Table 4 shows the decision variables at the optimal point for both rigorous and DRNN models. It can be seen that the decision vectors at the optimal point are close to each other, and the highest discrepancy is found for the desorbent flow rate component (Q D ). Table 5 shows the values of performance indicators that compose the objective function at the optimal point for each model and are evaluated using the same model; that is, DRNN optimal is evaluated with the DRNN model and rigorous optimal is evaluated with the rigorous model. It can be seen that the output values are close to each other. However, using single points to compare the optimization results of the two models can lead to misleading conclusions. One of the advantages of PSO is that it is a population-based algorithm which allows the building of the feasible operating region (FOR).

38The DRNN optimal point could be run in the rigorous model, leading to an important perspective about the surrogate model optimal point robustness. However, the operating region characterization is a more complete and rigorous way of analyzing optimality. Furthermore, the proposed strategy is meant to demonstrate that the ANN result is equivalent to the rigorous model results. If this demonstration is done, it is proven that the optimizations are equivalent. Figures 5 and 6 depict a 3D representation of swarm particles across iterations that meet the minimum purity requirement for both the rigorous model and DRNN, respectively. The x-and y-axis represent the scaled decision variables, and the z-axis is the objective function. The markers are colored according to the objective function value with a legend indicated in the color bar. In Figures 5b, 6b, 5c, and 6c, it can be seen that most of the swarm positions lie in a line where the concentration of the limiting reactant is close to the scaled upper limit 1. This value is a physical limit since the concentration of the component in the feed stream cannot surpass its molar density at a given temperature and pressure. Propanol feed concentration was calculated using its molar density for each value of propanoic acid concentration; that is, it is linearly correlated with C F ProAc and removed from the inputs to avoid input space collinearity.

393.2.1. Feasible Operating Region. The points obtained from the optimization with a rigorous model and the surrogate DRNN model are used to build their corresponding confidence regions. A more reliable way to verify if the two models lead to the same optimal point than simply comparing the global best is by comparing the two confidence regions. Suppose a significant degree of superposition of the two regions is verified. In that case, the surrogate model can be reliably used to optimize searches within the domain it was identified. Figure 7 shows a pair-wise scatter plot of the decision variables that passed a 99.5% test. It also includes the 99.7% probability ellipse (3 standard deviations) fitted using three bivariate Gaussian density distributions (one for each pair of inputs). In Figure 7a,b, it can be seen that most of the points lie in two lines of either constant C F ProAc or Q D and t s , respectively, indicating that the Gaussian density may not be the ideal probability density function to fit. In Figure 7c, the Gaussian density seems to fit well in both clusters. Comparing the rigorous model with the DRNN, it can be seen that the points show a similar distribution pattern around their optimal points, and the ellipses have a significant degree of superposition. Moreover, it is possible to observe that the desorbent flow rate and the switching time have an inverse correlation, that is, less desorbent can be used, and similar performance can be achieved as soon as the switching time is increased (Figures 8−11).

CONCLUSIONS

40The SMBR is challenging to optimize through first-principles models. In this sense, previous works in the literature concerning surrogates for its simpler version, the SMB, and other cyclic adsorptive processes indicate that using surrogate models may offer several benefits for SMBR optimization.

41However, there are no works published in the literature proposing surrogate models for the SMBR to our knowledge. Moreover, when surrogate models are used for optimization, optimality issues are barely considered; that is, only the optimal point found is tested in the rigorous model and used as the performance metric. It may lead to misleading conclusions about the model quality for optimization. In this setting, the present work shows that the proposed framework for SMBR units' optimization based on DNN models and PSO optimizer with optimality evaluation provides a robust tool for SMBR surrogate identification and addresses optimality issues through the process feasible operating region. A single objective function optimization problem was formulated by weighting the SMBR performance metrics. With this setting, a 448× speed up in the optimization time was observed when using the surrogate model compared to the rigorous SMBR model, with a significant overlap of the FOR regions for all decision variables. It is worth mentioning that this speed up is calculated to compare run times for online applications where both models are already identified and the goal is obtaining the optimal solution. Rigorous real-time optimization for such a system would be computationally infeasible due to the associated computational effort. The speed up is calculated by the ratio between mechanistic model simulation (1 dynamic response) elapsed time and surrogate model simulation elapsed time for the same response and in the same computer. Even sacrificing physics, the surrogate model is feasible for real-time usage, where the fully mechanistic model, despite being run in gPROMs with a top desktop processor, fails to achieve it. Moreover, the rigorous model used is not easily parallelizable and would not benefit significantly from a high-performance computing environment as it is a stiff system of partial differential equations, which does not have a steady state but a cyclic one.

42N C is the total number of components, x is the axial position, t is the time, ϑ is the stoichiometric coefficient, r ProPro is the reaction rate, ρ b is the bulk density, D ax is the axial dispersion coefficient, q* is the adsorbed molar concentration in equilibrium with C (bulk phase molar concentration), q is the average adsorbed molar concentration, u is the liquid interstitial velocity, R P is the mean particle radius, ε b is the bed porosity, K L is the external mass transfer coefficient, and V M is the molar volume. Initial and boundary conditions for each component i and column k:

= × +

43Sh p , Re P , and Sc are the Sherwood, Reynolds, and Schmidt numbers, respectively, d p is the mean particle diameter, D i,mix is the mixture diffusion coefficient, ρ is the fluid density, η mix is the mixture viscosity, and D i.j 0 is the infinity dilution diffusion coefficient. This work built the surrogate model from noise-free data, that is, from rigorous numerical simulations of the real SMBR model. In future works, one may consider introducing computer-generated noise to simulated data and evaluating its effects on the model and the process optimization. However, the results obtained prove that the surrogate model represents the system behavior with precision. This is clearly seen by the optimality analysis. Finally, an optimal FOR was obtained. The SMBR can be operated with high conversion while providing high purity ProPro using the obtained FOR.

■ APPENDIX

44The model equations and parameters are displayed in Tables A1, A2, and A3.

참고문헌 36건

  1. A New Method for Identifying Orders of Input-Output Models for Nonlinear Dynamic Systems American Control Conference · 1993 10.23919/acc.1993.4793346
  2. Accounts of Experiences in the Application of Artificial Neural Networks in Chemical Engineering Industrial & Engineering Chemistry Research · American Chemical Society · 2008 10.1021/ie800076s
  3. Analysis of simulated moving-bed reactors Chemical Engineering Science · Elsevier BV · 1999 10.1016/s0009-2509(98)00487-4
  4. Neural network-based identification of SMB chromatographic processes Control Engineering Practice · Elsevier BV · 2002 10.1016/s0967-0661(02)00212-5
  5. Opportunities and challenges for process control in process intensification Chemical Engineering and Processing - Process Intensification · Elsevier BV · 2011 10.1016/j.cep.2011.11.006
  6. Emulsion copolymerization of styrene and butyl acrylate in the presence of a chain transfer agent. Part 2: Parameters estimability and confidence regions Chemical Engineering Science · Elsevier BV · 2012 10.1016/j.ces.2012.12.013
  7. Simulated moving bed reactor for isomerization and separation of p-xylene Chemical Engineering Journal · Elsevier BV · 2007 10.1016/j.cej.2007.09.033
  8. Nonlinear parameter estimation through particle swarm optimization Chemical Engineering Science · Elsevier BV · 2007 10.1016/j.ces.2007.11.024
  9. Multiobjective Optimization of Simulated Moving Bed Reactor and its Modification — Varicol Process The Canadian Journal of Chemical Engineering · Wiley · 2004 10.1002/cjce.5450820319
  10. Determination of the joint confidence region of the optimal operating conditions in robust design by the bootstrap technique International Journal of Production Research · Taylor & Francis · 2013 10.1080/00207543.2013.792963
  11. Kriging Surrogate Based Multi-objective Optimization of Bulk Vinyl Acetate Polymerization with Branching Materials and Manufacturing Processes · Taylor & Francis · 2014 10.1080/10426914.2014.921709
  12. Multilayer feedforward networks are universal approximators Neural Networks · Elsevier BV · 1989 10.1016/0893-6080(89)90020-8
  13. Comparative study of surrogate approaches while optimizing computationally expensive reaction networks Chemical Engineering Science · Elsevier BV · 2015 10.1016/j.ces.2015.09.030
  14. Model-based design and experimental validation of simulated moving bed reactor for production of glycol ether ester Chemical Engineering Journal · Elsevier BV · 2016 10.1016/j.cej.2016.04.062
  15. Simulated Moving Bed Reactor Elsevier eBooks · Elsevier BV · 2015 10.1016/b978-0-12-802024-1.00008-2
  16. KERNEL: Enabler to build smart surrogates for online optimization and knowledge discovery Materials and Manufacturing Processes · Taylor & Francis · 2016 10.1080/10426914.2016.1269918
  17. Dynamic response to process disturbances—A comparison between TMB/SMB models in transient regime Computers & Chemical Engineering · Elsevier BV · 2017 10.1016/j.compchemeng.2017.01.026
  18. TRANSFORM-ANN for online optimization of complex industrial processes: Casting process as case study European Journal of Operational Research · Elsevier BV · 2017 10.1016/j.ejor.2017.05.026
  19. A quasi-virtual online analyser based on an artificial neural networks and offline measurements to predict purities of raffinate/extract in simulated moving bed processes Applied Soft Computing · Elsevier BV · 2018 10.1016/j.asoc.2018.03.001
  20. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  21. Experimental evaluation of simulated moving bed reactor for transesterification reaction synthesis of glycol ether ester Adsorption · Springer Science+Business Media · 2019 10.1007/s10450-019-00048-y
  22. Optimization of a True Moving Bed unit and determination of its feasible operating region using a novel Sliding Particle Swarm Optimization Computers & Industrial Engineering · Elsevier BV · 2019 10.1016/j.cie.2019.06.020
  23. Dynamics of a True Moving Bed Reactor: Synthesis of n-Propyl Propionate and an alternative optimization method Chemical Engineering and Processing - Process Intensification · Elsevier BV · 2020 10.1016/j.cep.2020.107821
  24. Parameter optimization of Neural Network Model Based on Simulated Moving Bed 2019 10.1109/cac48633.2019.8996934
  25. Recurrent neural networks based modelling of industrial grinding operation Chemical Engineering Science · Elsevier BV · 2020 10.1016/j.ces.2020.115585
  26. Transient analysis of true/simulated moving bed reactors: A case study on the synthesis of n-Propyl propionate Computers & Chemical Engineering · Elsevier BV · 2020 10.1016/j.compchemeng.2020.106820
  27. Optimal fragrances formulation using a deep learning neural network architecture: A novel systematic approach Computers & Chemical Engineering · Elsevier BV · 2021 10.1016/j.compchemeng.2021.107344
  28. Deep learning based dynamic behavior modelling and prediction of particulate matter in air Chemical Engineering Journal · Elsevier BV · 2021 10.1016/j.cej.2021.131221
  29. From an Optimal Point to an Optimal Region: A Novel Methodology for Optimization of Multimodal Constrained Problems and a Novel Constrained Sliding Particle Swarm Optimization Strategy Mathematics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/math9151808
  30. Multi-Objective Optimisation of Biodiesel Synthesis in Simulated Moving Bed Reactor Separations · Multidisciplinary Digital Publishing Institute · 2021 10.3390/separations8080127
  31. A long short-term memory based Quasi-Virtual Analyzer for dynamic real-time soft sensing of a Simulated Moving Bed unit Applied Soft Computing · Elsevier BV · 2021 10.1016/j.asoc.2021.108318
  32. A novel standpoint of Pressure Swing Adsorption processes multi-objective optimization: An approach based on feasible operation region mapping Process Safety and Environmental Protection · Elsevier BV · 2022 10.1016/j.cherd.2021.12.047
  33. Machine Learning-Based Dynamic Modeling for Process Engineering Applications: A Guideline for Simulation and Prediction from Perceptron to Deep Learning Processes · Multidisciplinary Digital Publishing Institute · 2022 10.3390/pr10020250
  34. Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code Technometrics · Taylor & Francis · 1979 10.1080/00401706.1979.10489755
  35. Evolutionary neural architecture search for surrogate models to enable optimization of industrial continuous crystallization process Powder Technology · Elsevier BV · 2022 10.1016/j.powtec.2022.117527
  36. Random Number Generation and Quasi-Monte Carlo Methods Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 1992 10.1137/1.9781611970081