Next Article in Journal
Numerical Investigation on a Axial Slot Casing Treatment of a Large Circumferential Interval and Small Opening Area
Previous Article in Journal
A CFD Design Approach for Industrial Size Tubular Reactors for SNG Production from Biogas (CO2 Methanation)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimizing TEG Dehydration Process under Metamodel Uncertainty

by
Rajib Mukherjee
1,2 and
Urmila M. Diwekar
2,*
1
Department of Chemical Engineering, The University of Texas Permian Basin, Odessa, TX 79762, USA
2
Vishwamitra Research Institute, Crystal Lake, IL 60012, USA
*
Author to whom correspondence should be addressed.
Energies 2021, 14(19), 6177; https://doi.org/10.3390/en14196177
Submission received: 29 July 2021 / Revised: 14 September 2021 / Accepted: 23 September 2021 / Published: 28 September 2021

Abstract

:
Natural gas processing requires the removal of acidic gases and dehydration using absorption, mainly conducted in tri-ethylene glycol (TEG). The dehydration process is accompanied by the emission of volatile organic compounds, including BTEX. In our previous work, multi-objective optimization was undertaken to determine the optimal operating conditions in terms of the process parameters that can mitigate BTEX emission using data-driven metamodeling and metaheuristic optimization. Data obtained from a process simulation conducted using the ProMax® process simulator were used to develop a metamodel with machine learning techniques to reduce the computational time of the iterations in a robust process simulation. The metamodels were created using limited samples and some underlying phenomena must therefore be excluded. This introduces the so-called metamodeling uncertainty. Thus, the performance of the resulting optimized process variables may be compromised by the lack of adequately accounting for the uncertainty introduced by the metamodel. In the present work, the bias of the metamodel uncertainty was addressed for parameter optimization. An algorithmic framework was developed for parameter optimization, given these uncertainties. In this framework, metamodel uncertainties are quantified using real model data to generate distribution functions. We then use the novel Better Optimization of Nonlinear Uncertain Systems (BONUS) algorithm to solve the problem. BTEX mitigation is used as the objective of the optimization. Our algorithm allows the determination of the optimal process condition for BTEX emission mitigation from the TEG dehydration process under metamodel uncertainty. The BONUS algorithm determines optimal process conditions compared to those from the metaheuristic method, resulting in BTEX emission mitigation up to 405.25 ton/yr.

1. Introduction

Natural gas (NG) obtained from oil and gas wells needs to be sweetened, followed by dehydration for preprocessing to meet sales gas requirements. Dehydration is mainly performed by absorption in tri-ethylene glycol (TEG). The process consists of an absorption column, a flash tank, a stripping column, and a reboiler. The wet gas from the NG sweetening process contains, in addition to water, different volatile organic compounds (VOCs), such as toluene, benzene, ethylbenzene, and isomers of xylene, known as BTEX, and is transported to the absorption column where it comes into contact with lean TEG. Rich TEG with water and BTEX flows through a flash tank from the absorption column to the regeneration column. The total BTEX and other VOC emissions from the dehydration process originate from the flash tank and regeneration unit. In our previous work, metamodels were developed from the simulated process data and metaheuristic optimization to optimize different process variables for BTEX emission reduction and maintain the dry gas specification [1]. The uncertainty involved in the optimization process is either related to data, including inlet feed composition, flow rate, or metamodeling [2]. The metamodel-based design of the system treated the metamodel as the real model, ignoring the influence of metamodeling uncertainty. Thus, the resulting optimized process variables may be compromised by the lack of adequately accounting for the uncertainty introduced by the metamodel. In the present work, the bias of metamodel uncertainty was addressed for process variable optimization. An algorithmic framework was developed to address the problem of process variable optimization under metamodel uncertainties. In this framework, we use the novel Better Optimization of Nonlinear Uncertain Systems (BONUS) algorithm to solve the problem [3,4]. The objective of the optimization process is to mitigate BTEX emission with dry gas water content as a constraint. The effectiveness of our algorithm is shown by the increased value of the stochastic solution (VSS) at lower dry gas water content.
Aromatics are often present in natural gas in trace amounts. Research findings of the CDC revealed severe health impacts of BTEX [5]. BTEX compounds are toxic in nature, and can produce neurological complications and carcinogenic effects. During the dehydration process, water and BTEX are absorbed in glycol in the absorption unit, which is later released to the atmosphere from the regenerator. Thus, sustainable natural gas processing requires the mitigation of BTEX emissions. The US Clean Air Act Amendments (CAAA) from 1990 regulates BTEX emissions of more than ten tons per year for any given facility, or more than twenty-five tons per year for the total hazardous air pollutants (HAP). Accordingly, several dehydration plants are classified as major BTEX polluters [6,7]. TEG has the highest BTEX affinity among different glycol dehydrates, which results in maximum emissions from the process.
The existing literature on optimizing the natural gas dehydration process primarily comprises sensitivity analysis for determining the influence of different process parameters. Gupta et al. [8] carried out a sensitivity analysis to obtain process conditions that can optimally reduce loss of TEG. A parametric study was performed by Gandhidasan [9] to determine the effect of parameters such as pressure, temperature, and TEG circulation rate on the design of the dehydration unit. Rahimpour et al. [10] improved the dehydration unit’s performance using process simulations. Jacob [11] found that the stripping gas flow rate has a larger impact on drying than the reboiler temperature by studying the effect of the number of plates in the absorber and TEG circulation rates on dry gas water. Ranjbar et al. [12] used relative sensitivity analysis to optimize the TEG plants. HYSYS® process simulator data was used for their analysis. Kamin et al. [13] used Design Expert software and the HYSYS® simulator for data generation and subsequent optimization of the glycol circulation rate, reboiler temperature, and the number of trays in the absorber. Neagu and Cursaru [14] considered the effect of the reboiler temperature and stripping gas flow rate, and found that the optimum stripping gas flow rate can enhance TEG regeneration and reduce dry gas water content. Chebbi et al. [15] optimized both the process and design parameters. TEG concentration and circulation rate, and the number of trays in the absorber, were optimized to minimize the capital cost, TEG pumping, utility requirements for the reboiler, and stripping gas rate. Mukherjee and Diwekar [1] performed a multi-objective optimization (MOO) of the dehydration process with economic and environmental objectives using a metamodel of the process. Traditionally, sustainable process design estimates design parameters based on economic, environmental, and societal aspects, using process sustainability assessment tools in a retroactive manner [16,17]. Traditionally, greenhouse gas (GHG) emissions are considered for environmental impact assessment [18,19]. Mukherjee and Diwekar [1] addressed environmental sustainability through BTEX mitigation with process parameter optimization. Process data was generated using the ProMax® simulator, which was used to derive the surrogate model for optimization. However, the surrogate model considered was subjected to metamodeling uncertainty, which arises due to the error between the process model and the metamodel at unsampled locations [20]. Metamodeling uncertainty is often overlooked in model-based optimization. To address the MOO problem under metamodeling uncertainties, this study developed a new framework called MOO under metamodeling uncertainties (MOOMU). The selected process data are employed to construct the support vector regression (SVR) metamodels of the objective and constraint. Hammersley sequence sampling (HSS) of the error distributions is adopted to quantify the impact of metamodeling uncertainties. The MOOMU framework is employed to explore the optimum TEG dehydration process.
Essential variables differ among chemical systems due to the difference in their type, scale, and properties. In cases in which many variables are present, important variable selection is required; variables can be selected using multivariate statistics or machine learning [21,22,23]. In the present problem, important variables selected through lasso, as found in Mukherjee and Diwekar (2021), were used [1]. Surrogate models are generated to quantify the effects of the important variables on the corresponding dependent variables of the process. In the present work, support vector regression (SVR), which is a machine learning technique, was applied for metamodel generation. The SVR-based metamodel thus developed is used for the optimization of the process with the BONUS algorithm. Through optimization, the optimal process operating variables that minimize BTEX/VOC emissions at the different dry gas water content limits were determined.
Metamodel uncertainty arises due to the dispersed nature of the input-output data used for developing the model. In this work, optimization of the input space of the SVR metamodel was performed with a stochastic optimization known as Better Optimization for Nonlinear Uncertain Systems (BONUS). The BONUS algorithm uses a reweighting scheme to obtain the value of the stochastic objective function and constraints and derivatives. In our previous work, the metamodel generated from the simulated data was used for optimization without considering its uncertainty. In this work, we quantify the uncertainties as error function distributions. The objective function and constraints were changed from deterministic values to expected values. Previously, BONUS has been extensively used to solve chemical engineering problems, including network optimization [24] and spatiotemporal sensor placement [25,26]. In the present work, we developed an algorithmic framework for a robust metamodel-based chemical process optimization that significantly reduces the impact of metamodel uncertainty using BONUS.
This paper is organized as follows. The next section describes the dehydration process in natural gas processing and emissions from the process. The solution methodology section explains process simulation for data generation, modeling using SVR, and multi-objective optimization using BONUS. This is followed by presentation of the results from the application of the SVR-BONUS-based algorithm for dehydration process optimization and the effect on different process variables, followed by conclusions.

2. Materials and Methods

2.1. Problem Description

Natural gas processing comprises two process units: acid gas removal and dehydration. Dehydration can be performed by different methods, including via the use of liquid hygroscopic substances such as glycols, solid hygroscopic substances, and condensation. Glycol as a dehydrating agent has several advantages, including dehydration capacity, VOC absorption, and loss. TEG is the most-used glycol in industrial applications and is the subject of our analysis. TEG dehydration process has an absorption section and a stripping section. Lean TEG entering the tower in the absorption section absorbs water from wet gas. Rich TEG solvent leaving the absorber is regenerated by a stripper moister in a regenerator. Stripping gas is injected into the reboiler by drawing from the dry gas stream. The regenerated TEG is sent back to the absorber for desiccation. A schematic diagram of the TEG dehydration process is shown in Figure 1.
The flash tank and the stripping column release water vapor and aromatics absorbed in the absorber into the atmosphere. BTEX/VOC mitigation can be achieved by incineration, flaring, or condensation; these approaches are not environmentally friendly. Incineration or flaring can cause air pollution. Condensation results in BTEX/VOC pollution of water. Break et al. [27] optimized the process parameters and significantly reduced BTEX/VOC generation. Their study found that the glycol circulation rate and stripping gas rate are important parameters that impact BTEX/VOC emission. In addition to these two process variables, reboiler temperature and flash tank pressure also impact BTEX and VOC emission.
The process variables that affect BTEX/VOC emission also influence the dew point of the dry gas. Thus, we have a multi-objective optimization problem where the system must fulfill the emission goal and meet the water dew point requirements. Traditionally, the developed metamodel is used for optimization. Different optimization methods can be used for data-driven model generation and optimization of the process variables. The optimization process assumes the data-driven model is a true representation of the process, ignoring metamodel uncertainty. In the present work, Better Optimization for Nonlinear Uncertain Systems (BONUS) was used for optimization [4]. Finally, the optimal solution was found from the Pareto front generated using multi-objective optimization.

2.2. Solution Methodology

The framework for process simulation and optimization with BONUS is shown in Figure 2. Here MATLAB® is used as a controller, and the FORTRAN module is used for multi-objective optimization (MOO) and ProMax® is used for process simulation. Input variables are generated by MATLAB®. These are selected from a uniform distribution using Halton sequence-based quasi-random sampling. The uniformity property is important in sampling [28]. The Halton sequence has high dimensional uniformity [29]. The performance of the metamodel increases manifold through this efficient sampling technique [30]. The metamodel is generated with the output responses from the process simulation data. The uncertainty associated with metamodeling is quantified by the probability distribution of errors found from the difference with the process simulated outputs. The optimization is performed by propagating the uncertainty through the metamodel to identify the optimal parameters to mitigate BTEX emissions.
The steps in the natural gas process response generation and optimization for BTEX mitigation are as follows:
  • Identification of the decision variables of the natural gas (NG) processing system and defining them (with their range).
  • Input sample space generation using the Halton sequence in MATLAB®.
  • NG process response generation using the ProMax® model.
  • SVR-based metamodel generation for the objective and constraints using MATLAB®.
  • Error estimation and uncertainty quantification using kernel density estimator (KDE) in MATLAB®.
  • Predictor and error space sampling and error propagation through the metamodels in MATLAB®.
  • Stochastic multi-objective optimization under specified constraints and bounds for the Pareto optimal solution using a FORTRAN inhouse module.

2.2.1. Acid Gas Removal Unit Process Simulation

Natural gas processing comprises acid gas removal unit and a dehydration unit, as shown in Figure 3. The acid gas removal unit removes carbon dioxide and hydrogen sulfide. Water is removed in the dehydration unit. In this work, ProMax® software is used to simulate acid gas removal and dehydration units. Detailed descriptions of the dehydration unit for which optimal conditions were studied are presented. Results from the ProMax® simulator are presented in the supporting document.
In this work, acid gas removal is performed with the amine absorption process. Methyl di-ethanol amine (MDEA) is used as an absorbent. Sweet gas from the acid gas removal unit is dehydrated to meet the pipeline specification of 4 to 7 lbm/MMscf [31]. As mentioned previously, tri-ethylene glycol (TEG) absorption is selected as an absorbent for dehydration. Figure 4 shows the ProMax® process flow diagram of the TEG dehydration process. Process conditions are from the ProMax® reference example model Ex05-TEG Dehydration [32]. Details of the process condition can be found in Mukherjee and Diwekar, 2021 [1]. In the present work, sampling from a uniform distribution of the decision variables’ range is performed, and the resulting impact on emission and drying is observed. Our analysis considers the total BTEX emission from the Water Gas stream from the stripping section and the Flash Gas stream from the flash tank.

2.2.2. Data Generation and Process Optimization

The present work aims to determine the optimal operating conditions in a glycol dehydration unit that will minimize BTEX emission and fulfill the dew point requirement using an efficient data-driven optimization method. In most TEG dehydration plants, the glycol circulation is more glycol than the minimum required. Thus, it is imperative to optimize circulation. The other process variables, including stripping gas flow rate, reboiler temperature, absorber pressure, flash gas pressure, and lean solvent temperature, may also impact BTEX/VOC emission. In this work, as identified by Mukherjee and Diwekar (2021), the process variables that have a significant impact on BTEX emission are used [1].
For a natural gas dehydration unit, two different goals need to be achieved. The process should have a high drying efficiency and be environmentally friendly with minimum toxic release, resulting in a multi-objective optimization (MOO) problem. The solution of MOO is typically achieved by quantifying the trade-offs between the two conflicting objectives. The economic objective, drying efficiency, and the environmental objective, BTEX mitigation, are conflicting in nature. Thus, the impact of the different process variables can show completely different trends. MOO is solved by either preference-based methods or generating methods [33]. The weighting and constraint method, as used in the present work, is a generating method. Here we can generate a set of solutions known as the Pareto set. The Pareto set provides the trade-off surface between the conflicting objectives. Our goal is to minimize the emission within the dry gas water content specifications, which is between 4 and 7 lbm/MMscf [31]. The ε c o n s t r a i n t method that shows the Pareto points is used.
The process optimization objective in the present problem needs to find the optimal values of the process variables where the BTEX emission ( y B T E X ) . is minimized while maximizing drying, i.e., minimizing dry gas water content ( y D r y W ) . The constraint optimization method is formulated as:
m i n i m i z e y B T E X = f B T E X x ,   w f B T E X
Subject to y D r y W f D r y W x ,   w f D r y W     ε D r y W
h I x = 0 I 0
g J x 0 J 0
l i x i u i i = 1 , 2 , .. n .
where the objective functions y B T E X   and y D r y W denote BTEX emission and dry gas water content respectively, x = x 1 , x 2 , . , x n T is the n d i m e n s i o n a l vector of process operating variables, f B T E X is the function correlating BTEX emission and f D r y W   is that correlating dry gas water content with the inputs estimated with machine learning, and w f B T E X and w f D r y W are the parameter vector of the functions f B T E X   a n d   f D r y W respectively; h   a n d   g are equality and inequality constraints, respectively, and u i and l i are the upper and the lower bound of x i , respectively. Equations (1)–(5) describe an ε -constrained method.
The optimization problem is solved multiple times by changing the value of the parameter on the right-hand side as in Equation (2) to generate the Pareto set. The optimization is performed in two steps. Firstly, the support vector regression-based process models, f B T E X x ,   w f B T E X and f D r y W x ,   w f D r y W , is developed, followed by error analysis with estimation, uncertainty quantification, variable sampling error propagation, and finally optimizing the input space x of the process using BONUS to minimize the objective function as given in Equation (1).

2.2.3. Metamodel Generation with Support Vector Regression (SVR)

Metamodeling of complex chemical process phenomena has been used in multiple applications [34]. Traditionally, metamodels are statistical or polynomial in nature. The metamodel adopted in this work is based on support vector machines (SVMs), known as support vector regression (SVR). SVM is a statistical learning algorithm [35,36]. A function relating the input variables and the response of the entire natural gas processing system was created using SVR. Generally, metamodel-based optimization of a process using either gradient-based methods or metaheuristic techniques will assume that there is no error associated with the model. Due to limited real plant or simulated data, the metamodel thus developed is subject to an error, leading to a suboptimal solution. In this work, we used a rigorous error analysis method to overcome the uncertainty associated with metamodel uncertainty.

2.2.4. Uncertainty Quantification

The data-driven metamodel of a chemical process often uses a small number of actual plant or simulated data to construct the models. However, due to the limited data, the metamodel is developed on a particular region of the entire design space, and errors are associated with the model. For the present problem, the BONUS optimization algorithm adopted uncertainty associated with the model for optimization. In the first step, the objectives obtained from the ProMax® process simulation (because we are considering ProMax simulation as the actual plant simulation here) are compared with those from the SVR metamodel for error estimation. For example, the percentage error associated with BTEX emission ( e r r B T E X ) and with the error in dry gas moisture content ( e r r o r D r y W ) is:
e r r B T E X = Y B T E X p r o c e s s   s i m u l a t i o n f B T E X x ,   w f B T E X f B T E X x ,   w f B T E X × 100
e r r D r y W = Y D r y W p r o c e s s   s i m u l a t i o n f D r y W x ,   w f D r y W f D r y W x ,   w f D r y W × 100
The uncertainty associated with the metamodel is then quantified with probability using kernel density estimation (KDE). Similarly, error estimation is also undertaken for dry gas water content e r r D r y G and the uncertainty is quantified with kernel density estimation. These uncertainties are presented as distributions in Figure 5. Thus, we can ascertain the process performance at corresponding process variable set points considering uncertainty. Details of the metamodel generation using SVR are described in Mukherjee and Diwekar, 2021 [1].

2.2.5. Stochastic Optimization Using BONUS

The uncertainty associated with the metamodel has converted the problem into stochastic optimization, as given below.
m i n i m i z e y B T E X = E f B T E X x ,   w f B T E X
s u b j e c t   t o y D r y W   E f D r y W x ,   w f D r y W ε D r y W
E h I x = 0 I 0
E g J x 0 J 0
where E is the expected value. The objective function and the constraint are probabilistic in nature. A generalized approach involves capturing uncertainty through a sampling loop that is embedded within the optimization iterations that decide the decision variables, as shown in Figure 6.
Here, the outer optimization loop finds the values of the decision variables, and the inner loop obtains a probabilistic representation of the objective function and constraints using the sampling loop or scenario loop. For each iteration, the decision variables selected by the optimization loop are used in the inner loop where a sample set or scenario set of uncertain variables is generated, and the model is run for each of these sample (scenario) points to obtain probabilistic objective and constraint values. The derivative information is also needed for nonlinear programming problems, which involves perturbation of each decision variable, and also to perform the sampling. The computational burden of this method is heavy. The Better Optimization of Nonlinear Uncertain Systems (BONUS) algorithm was proposed by Sahin and Diwekar (2004) [3] to avoid this problem.
BONUS requires the sampling loop to be run only for the first iteration (Figure 6). In this first iteration, the decision variables (the four variables in our problem) are assumed to have uniform distributions between upper and lower bounds. Specified probability distributions of uncertain variables (the error distribution of the two predicted variables), together with the uniform distribution of the decision variables, form the base distributions for analysis and are used in the first iteration. As the optimization proceeds, the decision variables change, and the underlying distributions for the objective function and constraints also change. Here, instead of again using the sampling loop, a reweighting scheme based on the ratios of the probabilities for the current and the base distributions is used to determine the values of the objective function and constraints for that iteration. Please refer to Figure 7 for the reweighting approach. To ensure a smooth function for the probabilities, we approximate the distributions using kernel density estimation techniques. Please refer to Diwekar and David (2015) [4].
We used the Hammersley sequence sampling (HSS) for the initial base distributions in this problem. The BONUS algorithm is a sequential quadratic programming (SQP) algorithm that uses the reweighting scheme to estimate the objective function and gradient at each iteration instead of the sampling loop. The Hessian is approximated using the Broyden–Fletcher–Goldfarb–Shanno (BFGS) formula. The objective of the BONUS optimization is to find the n d i m e n s i o n a l optimal decision variable vector, x * = x 1 * , x 2 * , . , x n * T that represents the optimal process conditions where the process output, E ( y B T E X ) , is minimized while fulfilling the constraint E( y D r y W ) ε . The general procedure involved is described below.
1.
Off-line Computations (generating base distributions and objective function data from metamodel): Obtain independently distributed samples   j = 1 , Nsamp for metamodel uncertainty e r r i (where i represents B T E X for BTEX emission or D r y G for dry gas water content) and decision variables x with uniform distribution between upper and lower bounds. These samples are used to generate the design prior density function P p x , e r r i using kernel density estimation (KDE). Calculate the objective function y i (and the probabilistic constraint) for each sample. For example, the sampled error e r r B T E X is used to generate objective function y B T E X for estimated BTEX emission as:
y B T E X = f B T E X x ,   w f B T E X × 1 + e r r B T E X 100
Similar estimation is also undertaken for dry gas water content y D r y G .
2.
On-line Computations (using BONUS reweighting scheme to solve the BTEX minimization problem):
a.
At each iteration k, the decision variables x k (in the first iteration, the initial value of decision variables is given), define a narrow normal distribution around this point (see Figure 6) and draw samples of x k from it. Use samples to generate the design distribution P d x , e r r i using KDE. Estimate the objective functions and constraint (expected value E) using the following reweighting formula:
V i x k = E y i x , e r r i = j = 1 N s a m p ω i , j k y i x k , e r r i
where
ω i , j k = P d x j k err i / P p x j k err i j j = 1 N s a m p P d x jj k err i / P p x jj k err i
and sastisfy
j = 1 N s a m p ω i , j k = 1 .
b.
Perturb the decision variable x k and use the reweighting scheme to estimate V i ( x k + δ x k ) . Find the gradient and KKT conditions. If KKT conditions are satisfied, terminate, go to step 2.c.
c.
SQP computation: Use the gradient to compute the Hessian approximation H i k using the BFGS formula and compute step x   for decision variables by solving the quadratic program (QP):
min x   V i ( x k ) T x + x   T H i k x
s . t .             x k + x
Cut the step if necessary to obtain a new iterate x k + 1 = x k + α x with α 0 , 1 .
d.
Go to step 2.a.
This problem has multiple local optima, as we observed when different initial values of the decision variables (four process variables) were given. We obtained the different sets of initial values using Latin Hypercube Hammersley Sampling. The best solution is selected as the one with the minimum BTEX emission at a given constraint of dry gas water content.
Figure 8 shows the flow diagram starting with the development of a metamodel-based optimization of the natural gas dehydration unit considering metamodel uncertainty. The process has seven steps: finding the uncertain variables and their operating range; input dataset generation; process simulation for output data generation using ProMax®; metamodel generation using SVR; error estimation and uncertainty quantification using KDE; input space; and error sampling, error propagation, and stochastic optimization using BONUS. The metamodel for optimization thus developed using uncertainty quantification is used to generate the Pareto optimal points by the ε c o n s t r a i n e d method. The results from the BONUS optimal points are compared with those from SVR-EACO to find the Value of Stochastic Solution (VSS). Because we assume the ProMax® simulation as the real plant data, the optimal points obtained from the two methods are evaluated using ProMax® simulation.

3. Results

Five hundred scenarios were used for the metamodel generation. The data are provided in the Supplementary Material. Table 1 shows the two scenarios, from these 500 scenarios simulations, with the highest amount of dry gas water content and BTEX emission. The first scenario shows that BTEX emission can be as low as 65.58 ton/yr with the corresponding moisture content of dry gas of 13.89 lbm/MMscf. This value of water content is higher than the maximum permissible limit of 7 lbm/MMscf. The second scenario shows BTEX emission can be as high as 1238.21 ton/yr, and the corresponding moisture content is 2.41 lbm/MMscf. The constrained optimization problem, as shown in Equations (3)–(5), (7), and (8), was solved. The SVR-based metamodels of the process were optimized using the BONUS algorithm. BONUS was performed for 32 optimal points by changing the constraint to obtain the Pareto set. Process simulation was conducted in ProMax®; metamodel generation, error estimation, and uncertainty quantification were performed in MATLAB®; and BONUS was conducted in an inhouse optimization module in FORTRAN, installed in a Windows® environment. In this process, we were able to compare SVR-BONUS-based metamodeling and optimization performance.
The base distribution consisting of the distribution of the decision and uncertain variables as used for optimization is shown in Table 2.

3.1. Pareto Front Generation

Dehydration of natural gas is undertaken to prevent hydrate formation and/or liquid water deposition in the pipelines and to avoid condensation in the compressors. Thus, both the environmental objective of BTEX minimization and the reduction in the moisture content as an economic objective must be considered. Using the ε c o n s t r a i n e d   method, Pareto optimal points were generated to compare BTEX emissions with dry gas water content. Results from the optimization are shown in Table 3.
Pareto point A was obtained by minimizing BTEX emission for maximum dryness, i.e., minimum moisture content. Pareto points B to AF were obtained from BTEX emission minimization while relaxing the constraint for dry gas water content from the minimum value as obtained at Pareto point A. The constraint in dry gas water content was increased in steps up to 10 lbm/MMscf. The optimized process conditions from A to AF listed in Table 3 were also simulated in ProMax® process simulator. The results from the ProMax® process simulation at the optimal operating conditions are also shown in Table 3. Figure 9 shows the Pareto front generated with the process simulation and BONUS at the optimal points. Natural gas must be dried to ensure a moisture content as high as seven pounds of water per million standard cubic feet (LBM/MMscf) [37]. Suitable operating conditions as obtained from the BONUS-based optimization, as shown in Table 3, are between I and T. The optimal solution can be obtained at Q where both BTEX emission (307.26 ton/yr) and dry gas water content (5.55 lbm/MMscf) are minimized.

3.2. Value of Stochastic Solution (VSS)

In our previous work, we used the efficient ant colony optimization (EACO) algorithm for an SVR-EACO optimization of natural gas processing units [1]. In EACO-based optimization, the error associated with the SVR model is not considered. The average value of the uncertain variables BTEX emission and dry gas water content as obtained from the SVR model is used for optimization. In the present work, we used probabilistic information of the uncertain variables to measure the Value of the Stochastic Solution (VSS). The difference between taking the average value of the uncertain variable for optimization as used in SVR-EACO when compared with stochastic analysis, i.e., propagating the uncertainties through the model as used in SVR-BONUS, is defined as the Value of the Stochastic Solution, VSS. The Pareto optimal points as predicted by SVR-BONUS and SVR-EACO optimization are shown in Figure 10. Values at the optimal process conditions are obtained from ProMax® process simulation at the optimal conditions as predicted by the two methods. To estimate the VSS, we compared the objective BTEX emission at different dry gas water content values as obtained from optimal process conditions suggested by SVR-EACO, with that from SVR-BONUS optimization using ProMax® process simulation at those optimal process conditions.
To compare the emission at a given dry gas water level from SVR-EACO and SVR-BONUS optimization, extrapolation was undertaken of the results as obtained from SVR-BONUS. The VSS for this problem is shown in Figure 11. The results reflect emission savings up to 405.25 tons per year.

4. Discussion

From the Pareto front, as shown in Figure 9 and Figure 10, it can be found that the dry gas moisture content decreases at the cost of increased BTEX emission. From the 500 simulated scenarios, BTEX emission was found to be as high as 1238.21 ton/yr, and that of dry gas water content was 13.89 lbm/MMscf, shown in Table 1. Comparing the maximum values with that from the Pareto optimal point Q reveals that optimal operating conditions reduced the BTEX emission and dry gas water content by 75.19% and 60.04%, respectively, from the highest possible value.
Break et al. [27] considered glycol circulation rate, stripping gas flow rate, flash tank pressure, and reboiler temperature to optimize the dehydration process. Simulating the present process with 100 MMSCFD at the optimal conditions found by Break et al. [27] resulted in an emission of 585.06 ton/yr and a dry gas water content of 3.89 lbm/MMscf. Compared to the optimal solution obtained at Pareto point Q, we find BTEX emission as low as 307.26 ton/yr, resulting in a significant reduction in emission, by 47.5%, while keeping the dry gas water content within the permissible limit. Because BTEX emission depends on the process throughput and natural gas composition, it is imperative to obtain the optimal values of the process variables that mitigate emission.
The Pareto points from I to T, as shown in Table 3 are found to be in accordance with dry gas water content limits between 4 to 7 lbm/MMscf, as recommended, while keeping a moderate BTEX emission. Through the process of stochastic optimization, we obtained the range of process variables at which Pareto optimal solutions for BTEX emission mitigation are feasible. BONUS optimizes by propagating the uncertainty through the model, and identified optimal process conditions that mitigate BTEX emission up to 405.25 ton/yr compared to that from deterministic optimization.

5. Conclusions

A hybrid algorithm was applied in this work that incorporates support vector regression with the BONUS algorithm for the modeling and optimization of the TEG dehydration process. Support vector regression is a machine learning technique for nonlinear regression. Using SVR, two different process models were developed. One correlates process variables with BTEX emission, and the other correlates dry gas water content with the same. We quantified modeling uncertainties due to machine learning and carried out the multi-objective stochastic optimization problem using BONUS, so that the BTEX emission was minimized with a constraint on the maximum water content in the processed gas. The ε-constraint method is used to obtain a Pareto optimal solution. The algorithm that involves SVR and BONUS is a novel method used for process optimization that considers uncertainty associated with the metamodel. The superior performance of the BONUS algorithm at low water content limits is attributed to the metamodel generated using limited data with low dry gas water content for the SVR model development, and the general model uncertainties associated with the machine learning model. To the best of our knowledge, this is the first time machine learning model uncertainties have been included in optimization to determine realistic Pareto solutions to a problem.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/en14196177/s1, Table S1: ProMax® simulated and Machine learning model generated BTEX emission and dry gas water content data at random realizations of the natural gas dehydration processing unit.

Author Contributions

Conceptualization, R.M. and U.M.D.; methodology, R.M. and U.M.D.; software, R.M. and U.M.D.; validation, R.M. and U.M.D.; formal analysis, U.M.D.; investigation, R.M. and U.M.D.; resources, R.M. and U.M.D.; data curation, R.M.; writing—original draft preparation, R.M.; writing—review and editing, U.M.D.; visualization, R.M. and U.M.D.; supervision, U.M.D.; funding acquisition, R.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the UT System’s Rising STARs Grant Program, (grant number P5011032 34) awarded to RM.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are provided in the Supplementary Material.

Acknowledgments

The authors would like to acknowledge the support of Justin C. Slagle of Bryan Research & Engineering (BRE).

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Mukherjee, R.; Diwekar, U.M. Multi-objective optimization of the TEG dehydration process for BTEX emission mitigation using machine-learning and metaheuristic algorithms. ACS Sustain. Chem. Eng. 2021, 9, 1213–1228. [Google Scholar] [CrossRef]
  2. Mukherjee, R.; El-Halwagi, M.M. Reliability of CHO symbiosis networks under source streams uncertainty. Smart Sustain. Manuf. Syst. 2018, 2, 132–153. [Google Scholar] [CrossRef]
  3. Sahin, K.H.; Diwekar, U.M. Better Optimization of Nonlinear Uncertain Systems (BONUS): A new algorithm for stochastic pro- gramming using reweighting through Kernel density estimation. Ann. Oper Res. 2004, 132, 47–68. [Google Scholar] [CrossRef]
  4. Diwekar, U.; David, A. BONUS Algorithm for Large Scale Stochastic Nonlinear Programming Problems; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  5. Wilbur, S.; Bosch, S. Interaction Profile for: Benzene, Toluene, Ethylbenzene, and Xylenes (BTEX); Agency for Toxic Substances & Disease Registry (ATSDR): 2004. Available online: https://www.atsdr.cdc.gov/interactionprofiles/ip05.html (accessed on 26 September 2021).
  6. Waxman, H.A. An Overview of the Clean Air Act Amendments of 1990. Envtl. L. 1991, 21, 1721. [Google Scholar]
  7. Rueter, C.O.; Reif, D.L.; Menzies, W.R.; Evans, J.M. Measurement and enhanced monitoring of BTEX and VOC emissions from glycol dehydrators. SPE Adv. Technol. Ser. 1996, 4, 13–22. [Google Scholar] [CrossRef]
  8. Gupta, A.; Ansari, N.A.K.R.; Rai, R.; Sah, A.K. Reduction Of Glycol Loss From Gas Dehydration Unit At Offshore Platform in Bombay Offshore-A Case Study. In Proceedings of the Abu Dhabi International Petroleum Exhibition and Conference, Society of Petroleum Engineers, Abu Dhabi, United Arab Emirates, 13 October 1996. [Google Scholar] [CrossRef]
  9. Gandhidasan, P. Parametric analysis of natural gas dehydration by a triethylene glycol solution. Energy Sources 2003, 25, 189–201. [Google Scholar] [CrossRef]
  10. Rahimpour, M.R.; Saidi, M.; Seifi, M. Improvement of natural gas dehydration performance by optimization of operating conditions: A case study in Sarkhun gas processing plant. J. Nat. Gas Sci. Eng. 2013, 15, 118–126. [Google Scholar] [CrossRef]
  11. Jacob, N.C.G. Optimization of Triethylene Glycol (Teg) Dehydration in a natural gas processing plant. Int. J. Res. Eng. Res. Eng. Technol. 2014, 3, 346–350. [Google Scholar] [CrossRef]
  12. Ranjbar, H.; Ahmadi, H.; Sheshdeh, R.K.; Ranjbar, H. Application of relative sensitivity function in parametric optimization of a tri-ethylene glycol dehydration plant. J. Nat. Gas Sci. Eng. 2015, 25, 39–45. [Google Scholar] [CrossRef]
  13. Kamin, Z.; Bono, A.; Leong, L.Y. Simulation and optimization of the utilization of triethylene glycol in a natural gas dehydration process. Chem. Prod. Process. Modeling 2017, 12. [Google Scholar] [CrossRef]
  14. Neagu, M.; Corsaro, D.L. Technical and economic evaluations of the triethylene glycol regeneration processes in natural gas dehydration plants. J. Nat. Gas Sci. Eng. 2017, 37, 327–340. [Google Scholar] [CrossRef]
  15. Chebbi, R.; Qasim, M.; Jabbar, N.A. Optimization of triethylene glycol dehydration of natural gas. Energy Rep. 2019, 5, 723–732. [Google Scholar] [CrossRef]
  16. Mukherjee, R.; Sengupta, D.; Sikdar, S.K. Sustainability in the Context of Process Engineering, Clean Technol. Environ. Policy 2015, 17, 833–840. [Google Scholar] [CrossRef]
  17. Sikdar, S.K.; Sengupta, D.; Mukherjee, R. Measuring Progress Towards Sustainability; Springer International Publishing: Cham, Switzerland, 2017. [Google Scholar] [CrossRef]
  18. Mukherjee, R.; Reddy Asani, R.; Bopanna, N.; El-Halwagi, M.M. Optimal Design of Shale Gas Processing and NGL Recovery Plant under Uncertainty of the Feed Composition. J. Nat. Gas Sci. Eng. 2020, 83, 103517. [Google Scholar] [CrossRef]
  19. Asani, R.R.; Mukherjee, R.; El-Halwagi, M.M. Optimal Selection of Shale Gas Processing and NGL Recovery Plant from Multiperiod Simulation. Process. Integr. Optim. Sustain. 2021, 5, 123–138. [Google Scholar] [CrossRef]
  20. Li, W.; Gao, L.; Garg, A.; Xiao, M. Multidisciplinary robust design optimization considering parameter and metamodeling uncertainties. Eng. Comput. 2020, 1–18. [Google Scholar] [CrossRef]
  21. Mukherjee, R.; Sengupta, D.; Sikdar, S.K. Parsimonious Use of Indicators for Evaluating Sustainability Systems with Multivariate Statistical Analysis. Clean Technol. Environ. Policy 2013, 15, 699–706. [Google Scholar] [CrossRef]
  22. Mukherjee, R. Selection of Sustainable Process and Essential Indicators for Decision Making using Machine Learning Algorithms, Process. Integr. Optim. Sustain. 2017, 1, 153–163. [Google Scholar] [CrossRef]
  23. Li, R.; Henson, M.A.; Kurtz, M.J. Selection of model parameters for off-line parameter estimation. IEEE Trans. Control Syst. Technol. 2004, 12, 402–412. [Google Scholar] [CrossRef] [Green Version]
  24. Mukherjee, R.; Diwekar, U.M.; Vaseashta, A. Optimal sensor placement with mitigation strategy for water network systems under uncertainty. Comput. Chem. Eng. 2017, 103, 91–102. [Google Scholar] [CrossRef]
  25. Diwekar, U.; Mukherjee, R. Optimizing spatiotemporal sensors placement for nutrient monitoring: A stochastic optimization framework. Clean Technol. Environ. Policy 2017, 19, 2305–2316. [Google Scholar] [CrossRef]
  26. Mukherjee, R.; Diwekar, U.M.; Kumar, N. Real-time optimal spatiotemporal sensor placement for monitoring air pollutants. Clean Technol. Environ. Policy 2020, 22, 2091–2105. [Google Scholar] [CrossRef]
  27. Break, A.M.; Almehaideb, R.A.; Darwish, N.; Hughes, R. Optimization of process parameters for glycol unit to mitigate the emission of BTEX/VOCs. Process. Saf. Environ. Prot. 2001, 79, 218–232. [Google Scholar] [CrossRef]
  28. Mukherjee, R.; Diwekar, U.M. Comparison of Monte Carlo and quasi-Monte Carlo technique in Structure and Relaxing Dynamics of Polymer in Dilute Solution. Comput. Chem. Eng. 2016, 84, 28–35. [Google Scholar] [CrossRef]
  29. Wang, X.; Hickernell, F.J. Randomized Halton sequences. Math. Comput. Model. 2000, 32, 887–899. [Google Scholar] [CrossRef]
  30. Ibrahim, M.; Al-Sobhi, S.A.; Mukherjee, R.; AlNouss, A. Influence of Sampling Technique on the Performance of Surrogate Model using ANN: A Case Study of Natural Gas Stabilization Unit. Energies 2019, 12, 1906. [Google Scholar] [CrossRef] [Green Version]
  31. Mokhatab, S.; Poe, W.A.; Mak, J.Y. Chapter 7—Natural Gas Dehydration in Handbook of Natural Gas Transmission and Processing: Principles and Practices, 3rd ed.; Gulf Professional Publishing: Oxford, UK, 2015. [Google Scholar]
  32. ProMax Foundations; Bryan Research & Engineering, Inc., 2015; Available online: http://www.bre.com/PDF/Foundations-Manual-En.pdf. (accessed on 26 September 2021).
  33. Diwekar, U. Introduction to Applied Optimization; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2008; Volume 22. [Google Scholar] [CrossRef]
  34. Nandi, S.; Badhe, Y.; Lonari, J.; Sridevi, U.; Rao, B.S.; Tambe, S.S.; Kulkarni, B.D. Hybrid process modeling and optimization strategies integrating neural networks/support vector regression and genetic algorithms: Study of benzene isopropylation on Hbeta catalyst. Chem. Eng. J. 2004, 97, 115–129. [Google Scholar] [CrossRef]
  35. Vapnik, V. The Nature of Statistical Learning Theory, 2nd ed.; Springer: New York, NY, USA, 1999. [Google Scholar] [CrossRef]
  36. Vapnik, V.; Golowich, S.; Smola, A. Support vector method for function approximation, regression estimation and signal processing. Adv. Neural Inform. Process. Syst. 1996, 9, 281–287. [Google Scholar]
  37. Phymetrix. Available online: http://www.phymetrix.com/industries-applications/natural-gas/ (accessed on 9 September 2021).
Figure 1. Schematic diagram of the NG gas dehydration process.
Figure 1. Schematic diagram of the NG gas dehydration process.
Energies 14 06177 g001
Figure 2. Framework for the simulation, data-based modeling, uncertainty quantification, error propagation, and optimization of the natural gas dehydration process.
Figure 2. Framework for the simulation, data-based modeling, uncertainty quantification, error propagation, and optimization of the natural gas dehydration process.
Energies 14 06177 g002
Figure 3. Block flow diagram of natural gas processing.
Figure 3. Block flow diagram of natural gas processing.
Energies 14 06177 g003
Figure 4. Process flowsheet for the NG dehydration in ProMax®. Here the Stripping Gas is obtained from the Dry Gas stream.
Figure 4. Process flowsheet for the NG dehydration in ProMax®. Here the Stripping Gas is obtained from the Dry Gas stream.
Energies 14 06177 g004
Figure 5. Percentage error e r r i distribution as obtained from metamodel predicting: (a) BTEX emission, (b) dry gas water content.
Figure 5. Percentage error e r r i distribution as obtained from metamodel predicting: (a) BTEX emission, (b) dry gas water content.
Energies 14 06177 g005
Figure 6. Generalized calculation procedure for a stochastic optimization problem.
Figure 6. Generalized calculation procedure for a stochastic optimization problem.
Energies 14 06177 g006
Figure 7. BONUS reweighting approach.
Figure 7. BONUS reweighting approach.
Energies 14 06177 g007
Figure 8. Algorithmic flowchart for metamodel-based optimization of the natural gas dehydration process with a BONUS reweighting scheme.
Figure 8. Algorithmic flowchart for metamodel-based optimization of the natural gas dehydration process with a BONUS reweighting scheme.
Energies 14 06177 g008
Figure 9. Pareto optimal points are predicted by SVR-BONUS optimization. Objective values at the optimal process conditions are obtained from BONUS and ProMax® process simulation.
Figure 9. Pareto optimal points are predicted by SVR-BONUS optimization. Objective values at the optimal process conditions are obtained from BONUS and ProMax® process simulation.
Energies 14 06177 g009
Figure 10. Pareto optimal points as predicted by SVR-BONUS and SVR-EACO optimization. Values at the optimal process conditions are obtained from ProMax® process simulation.
Figure 10. Pareto optimal points as predicted by SVR-BONUS and SVR-EACO optimization. Values at the optimal process conditions are obtained from ProMax® process simulation.
Energies 14 06177 g010
Figure 11. Value of Stochastic Solution (VSS) as obtained from the difference of deterministic optimization solution and stochastic optimization solution.
Figure 11. Value of Stochastic Solution (VSS) as obtained from the difference of deterministic optimization solution and stochastic optimization solution.
Energies 14 06177 g011
Table 1. The maximum and minimum value of BTEX and Dry Gas water content as obtained from process simulation [1].
Table 1. The maximum and minimum value of BTEX and Dry Gas water content as obtained from process simulation [1].
No.Glycol Circ. Rate
(sgpm)
Absorber Pressure
(psig)
Inlet Glycol Temp.
(Fahrenheit)
Flash Gas Pressure
(psig)
Reboiler Temp.
(Fahrenheit)
Stripping Gas Rate
(MSCFD)
BTEX Emission
(ton/yr)
Dry Gas Water
(LBM/MMscf)
1.1.01563.80124.6951.93389.115.9665.5813.89
2.9.91501.97110.6671.74375.2788.911238.212.41
Table 2. Variables and their type of distributions as used in BONUS optimization.
Table 2. Variables and their type of distributions as used in BONUS optimization.
Variable NameVariable TypeDistribution TypeDistribution Characteristics
TEG Circulation Rate (GPM)Decision variableUniform‘lower’, 1, ’upper’, 10
Absorber Pressure (psig)Decision variableUniform‘lower’, 500, ’upper’, 600
Reboiler Temp. (Fahrenheit)Decision variableUniform‘lower’, 360, ’upper’, 400
Stripping Gas flow rate (Mscfd)Decision variableUniform‘lower’, 0.0, ’upper’, 100
err BTEX (%)Uncertain variableNormalMean, 0
Standard deviation, 13.33
err DryG (%)Uncertain variableUniform‘lower’, −10, ’upper’, 10
Table 3. Optimized process conditions for the 32 Pareto points.
Table 3. Optimized process conditions for the 32 Pareto points.
Pareto PointsProcess VariablesResults from ProMax® Process Simulation
Glycol Circ. RateAbsorber PressureReboiler Temp.Stripping Gas RateBTEX EmissionDry Gas Water
sgpmpsigFahrenheitMSCFDton/yrlbm/MMscf
A9.90490.00390.0099.901323.290.81
B9.90501.15389.5194.961295.490.83
C9.66497.25389.6397.321281.330.85
D8.57508.35390.0095.331142.041.04
E8.05498.25390.0099.901108.061.12
F7.54538.95388.6999.90965.611.32
G5.55546.25357.4113.52670.153.42
H4.55590.00390.0099.90536.382.96
I3.84511.88373.709.68486.354.34
J3.63514.80376.4094.14496.593.52
K3.55584.47390.0082.64411.164.06
L3.49574.38360.3882.65412.414.15
M2.98586.50369.3257.66327.275.13
N2.97583.00382.7176.38336.415.02
O2.96599.94399.94100.00333.055.14
P2.88526.46362.7381.72367.534.81
Q2.52524.47381.0660.71307.265.55
R2.32532.91390.0099.78290.026.05
S2.21515.33372.5228.71251.866.53
T2.14499.53390.0099.79281.156.28
U2.03599.69376.6842.04195.227.83
V2.00551.36376.6581.87228.047.26
W2.00587.63383.4583.62214.047.66
X2.00570.06359.5199.41227.407.47
Y2.00582.63389.9995.70221.007.59
Z2.00580.67390.0099.27223.247.57
AA2.00556.57375.3062.37217.587.36
AB2.00544.40354.4114.54199.017.96
AC2.00590.00375.4146.71197.377.80
AD1.79600.00376.3437.69164.768.82
AE1.72594.24374.3931.88155.329.13
AF1.31545.47394.2780.35139.1210.46
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mukherjee, R.; Diwekar, U.M. Optimizing TEG Dehydration Process under Metamodel Uncertainty. Energies 2021, 14, 6177. https://doi.org/10.3390/en14196177

AMA Style

Mukherjee R, Diwekar UM. Optimizing TEG Dehydration Process under Metamodel Uncertainty. Energies. 2021; 14(19):6177. https://doi.org/10.3390/en14196177

Chicago/Turabian Style

Mukherjee, Rajib, and Urmila M. Diwekar. 2021. "Optimizing TEG Dehydration Process under Metamodel Uncertainty" Energies 14, no. 19: 6177. https://doi.org/10.3390/en14196177

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop