Mathematical Problems in Engineering

Volume 2014 (2014), Article ID 168371, 18 pages

http://dx.doi.org/10.1155/2014/168371

Research Article

Steady Modeling for an Ammonia Synthesis Reactor Based on a Novel CDEAS-LS-SVM Model

Zhuoqian Liu,¹ Lingbo Zhang,¹ Wei Xu,² and Xingsheng Gu¹

¹Key Laboratory of Advanced Control and Optimization for Chemical Process, Ministry of Education, Shanghai 200237, China

²Shanghai Electric Group Co. Ltd., Central Academe, Shanghai 200070, China

Received 6 December 2013; Accepted 5 February 2014; Published 18 March 2014

Academic Editor: Huaicheng Yan

Copyright © 2014 Zhuoqian Liu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

A steady-state mathematical model is built in order to represent plant behavior under stationary operating conditions. A novel modeling using LS-SVR based on Cultural Differential Evolution with Ant Search is proposed. LS-SVM is adopted to establish the model of the net value of ammonia. The modeling method has fast convergence speed and good global adaptability for identification of the ammonia synthesis process. The LS-SVR model was established using the above-mentioned method. Simulation results verify the validity of the method.

1. Introduction

Ammonia is one of the important chemicals that has innumerable uses in a wide range of areas, that is, explosive materials, pharmaceuticals, polymers, acids and coolers, particularly in synthetic fertilizers. It is produced worldwide on a large scale with capacities extending to about 159 million tons at 2010. Generally, the average energy consumption of ammonia production per ton is 1900 KG of standard coal in China, which is much higher than the advanced standard of 1570 KG around the world. At the same time, the haze and particulate matter 2.5 has been serious exceeded in big cities in China at recent years, and one of the important reasons is the emission of coal chemical factories. Thus, an economic potential exists in energy consumption of the ammonia synthesis as prices of energy rise and reduce the ammonia synthesis pollution to protect the environment. Ammonia synthesis process has the characteristics of nonlinearity, strong coupling, large time-delay and great inertia load, and so forth. Steady-state operation-optimization can be a reliable technique for output improvement and energy reduction without changing any devices.

The optimization of ammonia synthesis process highly relies on the accurate system model. To establish an appropriate mathematical model of ammonia synthesis process is a principal problem of operation optimization. It has received considerable attention since last century. Heterogeneous simulation models imitating different types of ammonia synthesis reactors have been developed for design, optimization and control [1]. Elnashaie et al. [2] studied the optimization of an ammonia synthesis reactor which has three adiabatic beds. The optimal temperature profile was obtained using the orthogonal collocation method in the paper. Pedemera et al. [3] studied the steady state analysis and optimization of a radial-flow ammonia synthesis reactor.

The above study indicated that both the productive capacity and the stability of the ammonia reactor are influenced by the cold quench and the feed temperature significantly. Babu and Angira [4] described the simulation and optimization design of an auto-thermal ammonia synthesis reactor using Quasi-Newton and NAG subroutine method. The optimal temperature trajectory along the reactor and optimal flows throughput 3.3% additional ammonia production. Sadeghi and Kavianiboroujeni [1] evaluated the process behavior of an industrial ammonia synthesis reactorby one-dimensional model and two-dimensional model; genetic algorithm (GA) was applied to optimize the reactor performance in varying its quench flows. From The above literatures we can find that most models are built based on thermodynamic, kinetic and mass equilibria calculations. It is very difficult to simulate the specific internal mechanism because a lot of parameters are unknown in real industrial process.

In order to achieve the required accuracy of the model, some researches focus on the novel modeling methods combining some heuristic methods such as ANN (Artificial Neural Network), LS-SVM (Least Squares Support Vector Machine) with Evolutionary Algorithm, for example, genetic algorithm, ant colony optimization (ACO), particle swarm optimization (PSO), differential evolution (DE), and so forth. DE is one of the most popular algorithms for this problem and has been applied in many fields. Sacco and Hendersonb [5] introduced a variant of the differential evolution algorithm with a new mutation operator based on a topographical heuristic, and used it to solve the nuclear reactor core design optimization problem. Rout et al. [6] proposed a simple but promising hybrid prediction model by suitably combining an adaptive autoregressive moving average architecture and differential evolution for forecasting of exchange rates. Ozcan et al. [7] carried out the cost optimization of an air cooling system by using Lagrange multipliers method, differential evolution algorithm and particle swarm optimization for various temperatures and mass flow rates. The results showed that the method gives high accuracy results within a short time interval. Zhang et al. [8] proposed a hybrid differential evolution algorithm for the job shop scheduling problem with random processing times under the objective of minimizing the expected total tardiness. Arya and Choube [9] described a methodology for allocating repair time and failure rates to segments of a meshed distribution system using differential evolution technique. Xu et al. [10] proposed a model of ammonia conversion rate by LS-SVM and a hybrid algorithm of PSO and DE is described to identify the hyper-parameters of LS-SVM.

To describe the relationship between net value of ammonia in ammonia synthesis reactor and the key operational parameters, least squares support vector machine is employed to build the structure of the relationship model, in which a novel algorithm called CDEAS is proposed to identify the parameters. The experiment results showed that the proposed CDEAS-LS-SVM optimizing model is very effective of being used to obtain the optimal operational parameters of ammonia synthesis converter.

The remaining of the paper is organized as follows. Section 2 describes the ammonia synthesis production process. Section 3 proposes a novel Cultural Differential Evolution with Ant Colony Search (CDEAS) algorithm. Section 4 constructs a model using LS-SVM based on the proposed CDEAS algorithm. Section 5 presents the experiments and computational results and discussion. Finally, Section 6 summarizes the above results and presents several problems which remain to be solved.

2. Ammonia Synthesis Production Process

A normal ammonia production flow chart includes the synthesis gas production, purification, gas compression, and ammonia synthesis. Ammonia synthesis loop is one of the most critical units in the entire process. The system has been realized by LuHua Inc., a medium fertilizers factory of YanKuang Group, China.

Figure 1 represents a flow sheet for the ammonia synthesis process. The ammonia synthesis reactor is a one-axial flow and two-radial flow three-bed quench-type unit [11]. Hydrogen-nitrogen mixture is reacted in the catalyst bed under high temperature and pressure. The temperature in the reactor is sustained by the heat of reaction because the reaction is exothermic [1]. The reaction of ammonia synthesis process contains

Figure 1: Ammonia synthesis system.

The reaction is limited by the unfavorable position of the chemical equilibrium and by the low activity of the promoted iron catalysts with high pressure and temperature [12]. In general, no more than 20% of the synthesis gas is converted into ammonia per pass even at high pressure of 30 MPa [12]. As the ammonia reaction is exothermic, it is necessary for removing the heat generated in the catalyst bed by the progress of the reaction to obtain a reasonable overall conversion rate as same as to protect the life of the catalyst [13]. The mixture gas from the condenser is divided into two parts and to go to the converter. The first cold shot is recirculated to the annular space between the outer shell reactor and catalyst bed from the top to the bottom to refrigerate the shell and remove the heat released by the reaction. Then the gas from the bottom of reactor goes through the preheater and is heated by the counter-current flowing reacted gas from waste heat boiler. gas is divided into 4 cold quench gas (, , , and ) and gas for mixing with the gas between consecutive catalyst beds to quench the hot spots before entry to the subsequent catalyst beds. The hot spot temperatures (TIRA705, TIRA712N, and TIRA714) represent the highest reaction temperatures at each stage of the catalyst bed.

Figure 2 represents the ammonia synthesis unit. The reacted gas including N₂, H₂, NH₃, and inert gas after reactor passes through the waste heat boiler. Then it goes through the preheater and the water cooler to be further cooled. Part of the ammonia is condensed and separated by ammonia separator I. Inert gas from the ammonia synthesis loop are ejected by purge gas from separator to prevent accumulation of inert gas in the system. The fresh feed gas is produced by the Texaco coal gasification air separation section, a process that converts the Coal Water Slurry into synthesis gas for ammonia. The fresh gas consists of hydrogen and nitrogen in stoichiometric proportions of 3 : 1 approximately and mixes with small amounts of argon and methane. The fresh gas which passes compressor is compounded with the recycle gas which comes from the circulator, and then the mixture goes through oil separator and condenser. Mixture gas is further cooled by liquid ammonia and goes through ammonia separator II to separate the partial liquid ammonia, and then it goes out with very few ammonia. The liquid ammonia from ammonia separator I and separator II flows to the liquid ammonia jar. Mixture is heated in ammonia condenser to about 25°C and flows to the reactor and the whole cycle starts again.

Figure 2: The ammonia synthesis unit.

3. Proposed Cultural Differential Evolution with Ant Search Algorithm

3.1. Differential Evolution Algorithm

Evolutionary Algorithms, which are inspired by the evolution of species, have been adopted to solve a wide range of optimization problems successfully in different fields. The primary advantage of Evolutionary Algorithms is that they just require the objective function values, while properties such as differentiability and continuity are not necessary [14].

Differential evolution, proposed by Storn and Price, is a fast and simple population based stochastic search technique [15]. DE employs mutation, crossover, and selection operations. It focuses on differential vectors of individuals with the characteristics of simple structure and rapid convergence. The detailed procedure of DE is presented below.

( 1) Initialization. In a -dimension space, NP parameter vectors so-called individuals cover the entire search space by uniformly randomizing the initial individuals within the search space constrained by the minimum and maximum parameter bounds and :

( 2) Mutation. DE employs the mutation operation to produce a mutant vector called target vector corresponding to each individual after initialization. In iteration , the mutant vector of individual can be generated according to certain mutation strategies. Equations (3)–(7) indicate the most frequent mutation strategies version, respectively:

where , , , , and are mutually exclusive integers randomly generated within the range which should not be . is the mutation factor for scaling the difference vector, usually bounded in . is the best individual with the best fitness value at generation in the population.

( 3) Crossover. The individual and mutant vector are hybridized to compose the trial vector after mutation operation. The binomial crossover is adopted by the DE in the paper, which is defined as

where rand is a random number between in 0 and 1 distributed uniformly. The crossover factor is a probability rate within the range 0 and 1, which influences the tradeoff between the ability of exploration and exploitation. is an integer chosen randomly in . To ensure that the trial vector () differs from its corresponding individual () by at least one dimension, is recommended.

( 4) Selection. When a newly generated trial vector exceeds its corresponding upper and lower bounds, it is reinitialized within the presetting range uniformly and randomly. Then the trial individual is compared with the individual , and the one with better fitness is selected as the new individual in the next iteration:

( 5) Termination. All above three evolutionary operations continue until termination criterion is achieved, such as the evolution reaching the maximum/minimum of function evaluations.

As an effective and powerful random optimization method, DE has been successfully used to solve real world problems in diverse fields both unconstrained and constrained optimization problems.

3.2. Cultural Differential Evolution with Ant Search

As we mentioned in Section 3.1, mutation factor , mutation strategies, and crossover factor have great influence on the balance of DE’s exploration and exploitation ability. decides the amplification of differential variation; is used to control the possibility of the crossover operation; mutation strategies have great influence on the results of mutation operation. In some literatures , , and mutation strategies are defined in advance or varied by some specific regulations. But the factors , , and strategies are very difficult to choose since the prior knowledge is absent. Therefore, Ant Colony Search is used to search the suitable combination of , , and mutation strategies adaptively to accelerate the global search. Some researchers have found an inevitable relationship between the parameters (, , and mutation strategies) and the optimization results of DE [16–18]. However, the approaches above are not applying the most suitable , , and mutation strategies simultaneously.

In this paper, based on the theory of Cultural Algorithm and Ant Colony Optimization (ACO), an improved Cultural Differential Algorithm incorporation with Ant Colony Search is presented. In order to accelerate searching out the global solution, the Ant Colony Search is used to search the optimal combination of and in subpopulation 1 as well as mutation strategy in subpopulation 2. The framework of Cultural Differential Evolution with Ant Search is briefly described in Figure 3.

Figure 3: The framework of CDEAS algorithm.

3.2.1. Population Space

The population space is divided into two parts: subpopulation 1 and subpopulation 2. The two subpopulations contain equal number of the individuals.

In subpopulation 1, the individual is set as ant at each generation. and are defined to be the values between , , and , . Each of the ants chooses a combination of and according to the information which is calculated by the fitness function of ants. During search process, the information gathered by the ants is preserved in the pheromone trails . By exchanging information according to pheromone, the ants cooperate with each other to choose appropriate combination of and . Then ant colony renews the pheromone trails of all ants.

Then, the pheromone trail is updated in the following equation:

where means the pheromone trail evaporation rate, , ; 1st parameter represents and 2nd parameter represents ; is the quantity of the pheromone trail of ant ,

where is the ant group that chooses th value as the selection of th parameter; denotes the best individual of ant colony till th generation.

In order to prevent the ants from being limited to one ant path and improve the possibility of choosing other paths considerably, the probability of each ant chooses th value of th parameter ( and ) in Figure 4 is set by

Figure 4: Relationship between pheromone and ant paths of , .

Figure 4 illustrates the relationship between pheromone matrix and ant path of and , where is a constant which is defined as selection parameter and and are two random values which are uniformly distributed in . Selection of the values of and depends on the pheromone of each path. According to the performance of all the individuals, the individual is chosen by the most appropriate combination of and in each generation.

In subpopulation 2, the individual is set as ant at each generation. Mutation strategies which are listed at (3)–(7) are defined to be of the values , respectively. For example, 0.2 means the first mutation strategy equation (3) is selected. Each of the ants chooses a mutation strategy according to the information which is calculated by the fitness function of ants. During search process, the information gathered by the ants is preserved in the pheromone trails . By exchanging information according to pheromone, the ants cooperate with each other to choose appropriate mutation strategy. Then ant colony renews the pheromone trails of all ants.

Then, the pheromone trail is updated in the following equation:

where means the pheromone trail evaporation rate and is the quantity of the pheromone trail of ant ,

where is the ant group that chooses th value as the selection of parameter; denotes the best individual of ant colony till th generation.

In order to prevent the ants from being limited to one ant path and improve the possibility of choosing other paths considerably, the probability of each ant choosing th value of th parameter (mutation strategies) is set by

where is a constant which is defined as selection parameter and and are two random values which are uniformly distributed in . Selection of the values of mutation strategies depends on the pheromone of each path. According to the performance of all the individuals, the individual is chosen by the most appropriate combination of mutation strategies in each generation.

Figure 5 illustrates the relationship between pheromone matrix and ant path of mutation strategies.

Figure 5: Relationship between and ant paths of mutation strategy.

3.2.2. Belief Space

In our approach, the belief space is divided into two knowledge sources, situational knowledge and normative knowledge.

Situational knowledge consists of the global best exemplar which is found along the searching process and provides guidance for individuals of population space. The update of the situational knowledge is done if the best individual found in the current populations space is better than .

The normative knowledge contains the intervals that decide the individuals of population space where to move.    and are the lower and upper bounds of the search range in population space. and are the value of the fitness function associated with that bound. If the and are updated, the and must be updated too.

and are set by

3.2.3. Acceptance Function

Acceptance function controls the amount of good individuals which impact on the update of belief space [19]. In this paper, 30% of the individuals in the belief space are replaced by the good ones in population space.

3.2.4. Influence Function

In the CDEAS, situational knowledge and normative knowledge are involved to influence each individual in the population space, and then population space is updated.

The individuals in population space are updated in the following equation:

where is a constant of 0.2.

3.2.5. Knowledge Exchange

After steps, the and of subpopulation 2 are replaced by the suitable and calculated by subpopulation 1 and the mutation strategy of subpopulation 1 is displaced by the suitable mutation strategy calculated by subpopulation 2 simultaneously. So the and and mutation strategy are varying in the two subpopulations to enable the individuals to converge globally and fast.

3.2.6. Procedure of CDEAS

The procedure of CDEAS is proposed as follows.

Step 1. Initialize the population spaces and the belief spaces; the population space is divided into subpopulation 1 and subpopulation 2.

Step 2. Evaluate each individual’s fitness.

Step 3. To find the proper , , and mutation strategy, the Ant Colony Search strategy is used in subpopulation 1 and subpopulation 2, respectively.

Step 4. According to acceptance function, choose good individuals from subpopulation 1 and subpopulation 2, and then update the normative knowledge and situational knowledge.

Step 5. Adopt the normative knowledge and situational knowledge to influence each individual in population space through the influence functions, and generate two corresponding subpopulations.

Step 6. Select individuals from subpopulation 1 and subpopulation 2, and update the belief spaces including the two knowledge sources for the next generation.

Step 7. If the algorithm reaches the given times, exchange the knowledge of , , and mutation strategy between subpopulation 1 and subpopulation 2; otherwise, go to Step 8.

Step 8. If the stop criteria are achieved, terminate the iteration; otherwise, go back to Step 2.

3.3. Simulation Results of CDEAS

The proposed CDEAS algorithm is compared with original DE algorithm. To get the average performance of the CDEAS algorithm 30 runs on each problem instance were performed and the solution quality was averaged. The parameters of CDEAS and original DE algorithm are set as follows: the maximum evolution generation is 2000; the size of the population is 50; for original DE algorithm and ; for CDEAS, the size of both two subpopulations is 25; the initial and are randomly selected in and the initial mutation strategy is DE/rand/1; the interval information exchanges between the two subpopulations is 50 generations; the thresholds and .

To illustrate the effectiveness and performance of CDEAS algorithm for optimization problems, a set of 18 representative benchmark functions which were listed in the appendix were employed to evaluate them in comparison with original DE. The test problems are heterogeneous, nonlinear, and numerical benchmark functions and the global optimum for , , , , , , and is shifted. Functions ~ are unimodal and functions ~ are multimodal. The detailed principle of functions is presented in [11]. The comparisons results of CDEAS and original DE algorithm are shown in Table 4 of the appendix. The experimental results of original DE and CDEAS algorithm on each function are listed in Table 1. Mean, best, worst, std., success rate, time represent the mean minimum, best minimum, worst minimum, the standard deviation of minimum, the success rate, and the average computing time in 30 trials, respectively.

Table 1: The comparison results of the CDEAS algorithm and original DE algorithm.

Original DE
CDEAS

Sphere function

    Best

    Worst

    Mean

    Std.

    Success rate (%)
100
100

    Times (s)
1.8803
14.6017

Shifted sphere function

    Best
0
0

    Worst

0

    Mean

0

    Std.

0

    Success rate (%)
100
100

    Times (s)
2.1788
18.1117

Schwefel’s Problem 1.2

    Best

    Worst

    Mean

    Std.

    Success rate (%)
100
100

    Times (s)
3.1647
24.1178

Shifted Schwefel’s Problem 1.2

    Best
0
0

    Worst

    Mean

    Std.

    Success rate (%)
100
100

    Times (s)
3.3956
27.7058

Rosenbrock’s function

    Best
13.0060
5.2659

    Worst
166.1159
139.1358

    Mean
70.9399
39.4936

    Std.
40.0052
31.2897

    Success rate (%)
86.67
96.67

    Times (s)
1.9594
16.7233

Schwefel’s Problem 1.2 with noise in fitness

    Best

    Worst

    Mean

    Std.

    Success rate (%)
100
100

    Times (s)
3.2141
24.2426

Shifted Schwefel’s Problem 1.2 with noise in fitness

    Best
0
0

    Worst
0
0

    Mean
0
0

    Std.
0
0

    Success rate (%)
100
100

    Times (s)
3.3374
28.5638

Ackley’s function

    Best

    Worst

1.3404

    Mean

0.1763

    Std.

0.4068

    Success rate (%)
100
83.33

    Times (s)
2.4820
20.9353

Shifted Ackley’s function

    Best

    Worst
0.9313
0.9313

    Mean
0.0310
0.0620

    Std.
0.1700
0.2362

    Success rate (%)
96.67
93.33

    Times (s)
2.7337
21.6841

Griewank’s function

    Best
0
0

    Worst
0.0367
0.0270

    Mean
0.0020
0.0054

    Std.
0.0074
0.0076

    Success rate (%)
90
56.67

    Times (s)
2.535
20.7793

Shifted Griewank’s function

    Best
0
0

    Worst
0.0319
0.0343

    Mean
0.0056
0.0060

    Std
0.0089
0.0088

    Success rate (%)
80
76.67

    Times (s)
2.7768
22.8541

Rastrigin’s function

    Best
8.1540
1.9899

    Worst
35.5878
12.9344

    Mean
20.3594
6.5003

    Std.
6.3072
2.6612

    Success rate (%)
3.33
90

    Times (s)
2.7264
22.3237

Shifted Rastrigin’s function

    Best
5.9725
0.9949

    Worst
36.9923
6.7657

    Mean
19.4719
8.2581

    Std.
8.9164
3.8680

    Success rate (%)
16.67
76.67

    Times (s)
2.9313
23.8838

Noncontiguous Rastrigin’s function

    Best
20.7617
3.9949

    Worst
29.9112
11.9899

    Mean
25.4556
8.1947

    Std.
2.9078
2.2473

    Success rate (%)
0
86.67

    Times (s)
3.1663
25.5374

Shifted noncontiguous Rastrigin’s function

    Best
0
0

    Worst
16
6

    Mean
6.7666
1.5333

    Std.
3.4509
1.8519

    Success rate (%)
40
96.67

    Times (s)
3.3374
25.9430

Schwefel’s function

    Best
118.4387
236.8770

    Worst
710.6303
1362.0521

    Mean
357.61725
676.4166

    Std.
144.41244
324.2317

    Success rate (%)
90
40

    Times (s)
2.5028
19.0009

Schwefel’s Problem 2.21

    Best
0.1640
0.3254

    Worst
4.5102
4.7086

    Mean
1.1077
1.9849

    Std.
0.8652
1.16418

    Success rate (%)
53.33
23.33

    Times (s)
2.3806
19.2505

Schwefel’s Problem 2.22

    Best

    Worst

    Mean

    Std.

    Success rate (%)
100
100

    Times (s)
2.6297
20.8573

From simulation results of Table 1 we can obtain that CDEAS reached the global optimum of and in all trials, and the success rate reached 100% of functions , , , , , , and . For most of the test functions, the success rate of CDEAS is higher in comparison with original DE. Moreover, CDEAS gets very close to the global optimum in some other functions , , , , and . It also presents that the mean minimum, best minimum, worst minimum, the standard deviation of minimum, and the success rate of CDEAS algorithm are clearly better than the original DE for functions , , , , , , , , , and although the computing time of CDEAS is longer than that of original DE because of its complexity.

The convergence figures of CDEAS comparing with original DE for 18 instances are listed as Figure 6.

Figure 6: Convergence figure of CDEAS comparing with original DE for ~.

From Figure 6 one can observe that the convergence speed of CDEAS is faster than original DE for , , , , , , , , , , , and .

All these comparisons of CDEAS with original DE algorithm have shown that CDEAS is a competitive algorithm to solve all the unimodal function problems and most of the multimodal function optimization problems listed above. As shown in the descriptions and all the illustrations before, CDEAS is efficacious on those typical function optimizations.

4. Model of Net Value of Ammonia Using CDEAS-LS-SVM

4.1. Auxiliary Variables Selection of the Model

There are some process variables which have the greatest influence on the net value of ammina, such as system pressure, recycle gas flow rate, feed composition (H/N ratio), ammonia and inert gas cencetration in the gas of reactor inlet, hot spot temperatures, and so forth. The relations between the process variables are coupling and the operational variables interact with each other.

The inlet ammonia concentration is an important process variable which is beneficial to operation-optimization but the device of online catharometer is very expensive. According to the mechanism and soft sensor model, a IIO-BP model was built to get the more accurate value of the inlet ammonia concentration [20]

From the analysis discussed above, some important variables have significant effects on the net value of ammonia. By discussion with experienced engineers and taking into consideration a priori knowledge about the process, the system pressure, recycle gas flow rate, the H/N ratio, hot-spot temperatures in the catalyst bed, and ammonia and methane concentration in the recycle gas are identified as the key auxiliary variables to model net value of ammonia which is listed in Table 2.

Table 2: Auxiliary variables of model of net value of Ammonia.

List
Symbols
Name
Unit

1

H/N ratio
%

2

Methane concentration in recycled synthesis gas at the reactor inlet
Mole ratio

3
ANH3
Ammonia concentration in recycled synthesis gas at the reactor inlet
Mole ratio

4

System pressure
Mpa

5

Recycle gas flow rate
Nm³/h

6

Quench gas flows of axial layer
Nm3/h

7

Cold quench gas flows of 1st radial layers
Nm³/h

8

Quench gas flows of 2nd radial layers
Nm³/h

9

Hot quench gas flows of 1st radial layers
Nm³/h

10

Hot-spot temperatures of axial bed
°C

11

Hot-spot temperatures of radial bed I
°C

12

Hot-spot temperatures of radial bed II
°C

13

Outlet gas temperature of evaporator
°C

4.2. Modeling the Net Value of Ammonia Using CDEAS-LS-SVM

LS-SVM is an alternate formulation of SVM, which is proposed by Suykens. The e-insensitive loss function is replaced by a squared loss function, which constructs the Lagrange function by solving the problem linear Karush_Kuhn_Tucker (KKT)

where is a vector of ones, is the transpose of a matrix or vector, is a weight vector, means the model offset, and is regression vector.

is Mercer kernel matrix, which is defined as

where is defined by kernel function.

There are several kinds of kernel functions, such as hyperbolic tangent, polynomial, and Gaussian radial basis function (RBF) which are commonly used. Literatures have proved that RBF kernel function has strong generalization, so in this study RBF kernel was used:

where and indicated different training samples, is the kernel width parameter.

As we can see from (19)~(21), only two parameters are needed for LS-SVM. It makes LS-SVM problem computationally easier than SVR problem.

Grid search is a commonly used method to select the parameters of LS-SVM, but it is time-consuming and inefficient. CDEAS algorithm has strong search capabilities, and the algorithm is simple and easy to implement. Therefore, this paper proposes the CDEAS algorithm to calculate the best parameters of LS-SVM.

5. Results and Discussion

Operational parameters such as , , and were collected and acquired from plant DCS from the year 2011-2012. In addition, data on the inlet ammonia concentration of recycle gas were simulated by mechanism and soft sensor model [20].

The extreme values are eliminated from the data using the criterion. After the smoothing and normalization, each data group is divided into 2 parts: 223 groups of training samples which are used to train model while 90 groups of testing samples which are valuing the generalization of the model for identifying the parameters of the LS-SVM, the kernel width parameter, and the weight vector.

BP-NN, LS-SVM, and DE-LS-SVM are also used to model the net value of ammonia, respectively. BP-NN is a 13-15-1 three-layer network with back-propagation algorithm. LS-SVM gains the with grid-search and cross-validation. The parameter settings of CDEAS-LS-SVM are the same as those in the benchmark tests. Each model is run 30 times and the best value is shown in Table 3. Descriptive statistics of training results and testing results of model include the relative error, absolute error, and mean square error. The performance of the four models is compared as shown in Table 3. The training and testing results of four models are illustrated in Figure 7.

Table 3: The comparisons of training error and testing error of LS-SVM.

Method
Type of error
RE*
MAE*
MSE*

BP-NN
Training error

Testing error
0.008085

LS-SVM
Training error
0.002231

Testing error
0.005328

DE-LS-SVM
Training error
0.002739

Testing error
0.005252

CDEAS-LS-SVM
Training error
0.002830

Testing error
0.004661

RE: relative error; MAE: mean absolute error; MSE: mean square error.

Table 4: Global optimum, search ranges, and initialization ranges of the test functions.

Dimension
Global optimum

Search range
Target

30
0
0

0

0
0

0

1
1

100

0
0

0

0
0

0

0.1

0
0

0.001

0

0.01

0
0

10

0

10

0
0

10

0

5

418.9829
0

500

0
0

1

0
0

is the shifted vector.

Figure 7: The analyzed results, training results, and testing results of BP-NN, LS-SVM, DE-LS-SVM, and CDEAS-LS-SVM.

Despite the fact that the training error using BP-NN is smaller than that using CDEAS-LS-SVM, which is because BP-NN is overfitting to the training data, the mean square error (MSE) on training data using CDEAS-LS-SVM is reduced by 25.6% and 23.2% compared with LS-SVM and DE-LS-SVM, respectively. In comparison with the other models (BP-NN, LS-SVM, and DE-LS-SVM), testing error using CDEAS-LS-SVM model is reduced by 14.1% and 11.2%, respectively. The results indicate that the proposed CDEAS-LS-SVM model has a good tracking precision performance and guides production better.

6. Conclusion

In this paper, an optimizing model which describes the relationship between net value of ammonia and key operational parameters in ammonia synthesis has been proposed. Some representative benchmark functions were employed to evaluate the performance of a novel algorithm CDEAS. The obtained results show that CDEAS algorithm is efficacious for solving most of the optimization problems comparisons with original DE. Least squares support vector machine is used to build the model while CDEAS algorithm is employed to identify the parameters of LS-SVM. The simulation results indicated that CDEAS-LS-SVM is superior to other models (BP-NN, LS-SVM, and DE-LS-SVM) and meets the requirements of ammonia synthesis process. The CDEAS-LS-SVM optimizing model makes it a promising candidate for obtaining the optimal operational parameters of ammonia synthesis process and meets the maximum benefit of ammonia synthesis production.

Appendix

(1) Sphere function

(2) Shifted sphere function

(3) Schwefel’s Problem 1.2

(4) Shifted Schwefel’s Problem 1.2

(5) Rosenbrock’s function

(6) Schwefel’s Problem 1.2 with noise in fitness

(7) Shifted Schwefel’s Problem 1.2 with noise in fitness

(8) Ackley’s function

(9) Shifted Ackley’s function

(10) Griewank’s function

(11) Shifted Griewank’s function

(12) Rastrigin’s function

(13) Shifted Rastrigin’s function

(14) Noncontiguous Rastrigin’s function

(15) Shifted noncontiguous Rastrigin’s function

(16) Schwefel’s function

(17) Schwefel’s Problem 2.21

(18) Schwefel’s Problem 2.22

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors are grateful to the anonymous reviewers for giving us helpful suggestions. This work is supported by National Natural Science Foundation of China (Grant nos. 61174040 and 61104178) and Fundamental Research Funds for the Central Universities, Shanghai Commission of Science and Technology (Grant no. 12JC1403400).

References

M. T. Sadeghi and A. Kavianiboroujeni, “The optimization of an ammonia synthesis reactor using genetic algorithm,” International Journal of Chemical Reactor Engineering, vol. 6, no. 1, article A113, 2009.

S. S. E. H. Elnashaie, A. T. Mahfouz, and S. S. Elshishini, “Digital simulation of an industrial ammonia reactor,” Chemical Engineering and Processing, vol. 23, no. 3, pp. 165–177, 1988.

M. N. Pedemera, D. O. Borio, and N. S. Schbib, “Steady-State analysis and optimization of a radial-flow ammonia synthesis reactor,” Computers & Chemical Engineering, vol. 23, no. 1, pp. S783–S786, 1999.

B. V. Babu and R. Angira, “Optimal design of an auto-thermal ammonia synthesis reactor,” Computers & Chemical Engineering, vol. 29, no. 5, pp. 1041–1045, 2005.

W. F. Sacco and N. Hendersonb, “Differential evolution with topographical mutation applied to nuclear reactor core design,” Progress in Nuclear Energy, vol. 70, pp. 140–148, 2014.

M. Rout, B. Majhi, R. Majhi, and G. Panda, “Forecasting of currency exchange rates using an adaptive ARMA model with differential evolution based training,” Journal of King Saud University, vol. 26, no. 1, pp. 7–18, 2014.

H. Ozcan, K. Ozdemir, and H. Ciloglu, “Optimum cost of an air cooling system by using differential evolution and particle swarm algorithms,” Energy and Buildings, vol. 65, pp. 93–100, 2013.

R. Zhang, S. Song, and C. Wu, “A hybrid differential evolution algorithm for job shop scheduling problems with expected total tardiness criterion,” Applied Soft Computing Journal, vol. 13, no. 3, pp. 1448–1458, 2013.

R. Arya and S. C. Choube, “Differential evolution based technique for reliability design of meshed electrical distribution systems,” International Journal of Electrical Power & Energy Systems, vol. 48, pp. 10–20, 2013.

W. Xu, L. Zhang, and X. Gu, “Soft sensor for ammonia concentration at the ammonia converter outlet based on an improved particle swarm optimization and BP neural network,” Chemical Engineering Research and Design, vol. 89, no. 10, pp. 2102–2109, 2011.

M. R. Sawant, K. V. Patwardhan, A. W. Patwardhan, V. G. Gaikar, and M. Bhaskaran, “Optimization of primary enrichment section of mono-thermal ammonia-hydrogen chemical exchange process,” Chemical Engineering Journal, vol. 142, no. 3, pp. 285–300, 2008.

Z. Kirova-Yordanova, “Exergy analysis of industrial ammonia synthesis,” Energy, vol. 29, no. 12–15, pp. 2373–2384, 2004.

B. Månsson and B. Andresen, “Optimal temperature profile for an ammonia reactor,” Industrial & Engineering Chemistry Process Design and Development, vol. 25, no. 1, pp. 59–65, 1986.

R. Mallipeddi, P. N. Suganthan, Q. K. Pan, and M. F. Tasgetiren, “Differential evolution algorithm with ensemble of parameters and mutation strategies,” Applied Soft Computing Journal, vol. 11, no. 2, pp. 1679–1696, 2011.

R. Storn and K. Price, “Differential evolution—a simple and efficient heuristic for global optimization over continuous spaces,” Journal of Global Optimization, vol. 11, no. 4, pp. 341–359, 1997.

C. Hu and X. Yan, “A hybrid differential evolution algorithm integrated with an ant system and its application,” Computers & Mathematics with Applications, vol. 62, no. 1, pp. 32–43, 2011.

K. Vaisakh and L. R. Srinivas, “Genetic evolving ant direction HDE for OPF with non-smooth cost functions and statistical analysis,” Expert Systems with Applications, vol. 38, no. 3, pp. 2046–2062, 2011.

R. Wang, J. Zhang, Y. Zhang, and X. Wang, “Assessment of human operator functional state using a novel differential evolution optimization based adaptive fuzzy model,” Biomedical Signal Processing and Control, vol. 7, no. 5, pp. 490–498, 2012.

W. Xu, L. Zhang, and X. Gu, “A novel cultural algorithm and its application to the constrained optimization in ammonia synthesis,” Communications in Computer and Information Science, vol. 98, no. 2, pp. 52–58, 2010.

Z. Liu and X. Gu, “Soft-sensor modelling of inlet ammonia content of synthetic tower based on integrated intelligent optimization,” Huagong Xuebao, vol. 61, no. 8, pp. 2051–2055, 2010.