Next Article in Journal
Low-Carbon Supply Chain Decisions Considering Carbon Emissions Right Pledge Financing in Different Power Structures
Previous Article in Journal
Convolutional Neural Network Identification of Stall Flow Patterns in Pump–Turbine Runners
Previous Article in Special Issue
Research on VFTO Identification of GIS Based on Wavelet Transform and Singular Value Decomposition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Load Sharing in Compressor Station Based on Improved Salp Swarm Algorithm

1
School of Electronic Engineering, Xi’an Shiyou University, Xi’an 710065, China
2
Shaanxi Key Laboratory of Measurement and Control Technology for Oil and Gas Wells, Xi’an 710065, China
3
No. 1 Oil Production Plant, Changqing Oilfield Company, Yan’an 716000, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Energies 2022, 15(15), 5720; https://doi.org/10.3390/en15155720
Submission received: 10 July 2022 / Revised: 31 July 2022 / Accepted: 2 August 2022 / Published: 6 August 2022
(This article belongs to the Special Issue Integrated Energy Networks and Microgrids)

Abstract

:
In long-distance gas transmission pipelines, there are many booster compressor stations consisting of parallel compressors that provide pressure for the delivery of natural gas. So, it is economically important to optimize the operation of the booster compressor station. The booster compressor station optimization problem is a typical mixed integer nonlinear programming (MINLP) problem, and solving it accurately and stably is a challenge. In this paper, we propose an improved salp swarm algorithm based on good point set, adaptive population division and adaptive inertia weight (GASSA) to solve this problem. In GASSA, three improvement strategies are utilized to enhance the global search capability of the algorithm and help the algorithm jump out of the local optimum. We also propose a constraint handling approach. By using semi-continuous variables, we directly describe the on or off state of the compressor instead of using auxiliary binary variables to reduce the number of variables and the difficulty of solving. The effectiveness of GASSA is firstly verified using eight standard benchmark functions, and the results show that GASSA has better performance than other selected algorithms. Then, GASSA is applied to optimize the booster compressor station load distribution model and compared with some well-known meta-heuristic algorithms. The results show that GASSA outperforms other algorithms in terms of accuracy and reliability.

Graphical Abstract

1. Introduction

In the transportation of oil and gas, the common means of transportation are road, rail, water, air and pipeline [1]. Pipelines are indispensable in oil and gas transportation because they are a safer [2], greener [3] and more economical [4] means of transportation than other means of transportation. With the continuous development of society and economy, the demand for petrochemical products has been increasing in all industries, especially the demand for natural gas has increased dramatically [5]. As a result, a large number of natural gas pipelines are being built and grouped all over the world [6], and pipelines have been expanding all over the world.
With larger pipe diameters in long gas transmission pipelines, the pressure of natural gas drops significantly as it flows due to friction and heat transfer [7]. In addition, there is a minimum demand for natural gas pressure from natural gas customers [8]. In order to increase the natural gas pressure, natural gas pipeline companies often build a large quantity of booster compressor stations in long gas transmission pipelines [9], where multiple compressors are usually connected in parallel. The energy consumption of the compressor station accounts for a significant proportion of the company’s operating costs. Due to its huge economic impact, the optimal operation of the booster compressor station becomes very important [10]. The compressors are usually driven by variable frequency electric drives or variable frequency gas turbines, and the power provided by the compressors varies with the gas flow rate and inlet conditions [11]. The manager of the booster compressor station needs to decide on the working compressor units, the speed of the working compressor units and the sharing of natural gas flows between the compressor units [12]. In actual scheduling, the manager determines the number of units to be started based on experience, and the flow rate among the units is evenly divided. Load sharing optimization is to minimize power consumption at the booster compressor station by redistributing the flow rate among the units and reselecting the working compressor groups and the compressor speed. A traditional operation problem is thus formed, i.e., minimizing the total power of all compressors under the working domain constraint and the flow balance constraint [13]. The working domain constraint means that there should be a certain relationship between the physical characteristics such as the polytropic head, polytropic efficiency, compression ratio and volume flow rate. The flow balance constraint is that the total flow through the compressors is balanced by the total flow at the booster compressor station.
The optimization of the booster compressor station has been considered in recent years of research. Regarding the research on the optimal operation of the booster compressor station, some scholars have approached this problem by classical mathematical methods. Specifically, Deng [12] compared the results of mixed integer linear and dynamic programming (DP) solutions for different volume flow dispersion intervals. Milosavljevic et al. [14] used real-time optimization techniques (RTO) to optimize the compressor load distribution, but they did not take into account the on/off state of the compressor. Cortinovis et al. [15] used historical data to update the performance model of the compressor and selected working compressors by performance tracking instead of binary variables. Zapukhliak et al. [16] considered a special case in the gas transmission pipeline, when the main transmission system is underloaded, using a mathematical model to estimate the pressure variations along its length in the gas pipeline.
However, meta-heuristic algorithms present effectiveness and ease of implementation in solving various types of complex engineering optimization problems. This has led researchers to propose many meta-heuristic algorithms for optimal operation of the booster compressor station. For example, Liu et al. [17] developed a combined air cooler and compressor operation model and optimized the model using the genetic algorithm (GA), particle swarm algorithm (PSO) and simulated annealing (SA) algorithm. Division et al. [18] considered a new load distribution model and optimized the model using a hybrid algorithm of crow search algorithm (CSA) and symbiotic organisms search (SOS). Regarding current newer technology, Li et al. [19] eliminated binary variables by reformulating MINLP to reduce the difficulty of optimization and optimized the reformulated model using a hybrid algorithm of differential evolution (DE) and whale optimization algorithm (WOA). Combining the above references, the research on the optimal operation of booster compressor station focuses on the construction and simplification of the booster compressor station model on the one hand and the improvement and application of the meta-heuristic algorithm on the other hand, which is a very important guideline for the optimization of the booster compressor station model in this paper.
The Salp Swarm Algorithm (SSA), which simulates the living and eating behaviors of salp swarm, was developed by Mirjalili et al. in 2017 [20]. Its mathematical model may be divided into two groups: one group is the leader and the other group is the follower. The first member in the chain is the leader, and the rest of the members are the followers. In the algorithm, the leader leads the population to find the optimal food, and the followers follow the nearest bottle sheaths. In addition, its simple structure and few control parameters have led to it becoming a popular research area in the field of algorithms, attracting many scholars to study and apply it in different fields, such as controller parameter optimization [21], power tracking of photovoltaic systems [22] and soil retention evaluation [23]. These reflect the outstanding performance of SSA in some fields and prove the high flexibility and reliability of the method. Although the SSA has shown outstanding performance in many fields, it still has many challenging problems, such as slow convergence and easily falling into localization during the iterative process.
Based on a comprehensive review of the literature, it is found that standard SSA and its variants have not been used to optimize the booster compressor station. The aim of this work is to propose a promising novel method that can accurately and reliably optimize the booster compressor station model to reduce the cost of energy consumption in the booster compressor station. Therefore, an improved SSA is proposed for optimizing the load distribution model of the booster compressor station. The main contributions of this paper are as follows.
1. Semi-continuous variables are used to describe the operating state of the compressor, and effective constraint handling methods are used to solve the domain holes that appear after using semi-continuous variables.
2. To propose an improved version of SSA (GASSA) for the optimization problem of the booster compressor station model.
3. Adding good point set initialization, adaptive population division and adaptive inertia weight to address the shortcomings of the standard SSA. Using eight benchmark test functions and a booster compressor station load sharing model to verify the effectiveness of GASSA.
The rest of the paper is organized as follows: Section 2 provides the MINLP mathematical model for the load-sharing problem at the booster compressor station. Section 3 describes the model preprocessing methods, standard SSA and GASSA implementations. Section 4 provides the benchmark test functions and the load-sharing model optimization results. Finally, Section 5 gives the conclusions of this paper.

2. Model

2.1. Object Function

Based on the current configuration of compressor units in most gas transmission pipeline compressor stations, we considers a compressor station configured with multiple parallel electrically driven centrifugal compressor units. Figure 1 shows a schematic diagram of parallel compressor uints, the compressor uint has three components: drive, compressor and cooler. The natural gas passing through the compressor is very hot and needs to be cooled by the cooler before it can be transported. The power consumption of the cooler is much smaller than the power consumption consumed by the compressor, so the power consumption of the cooler is not considered. The objective function considered here is to minimize the power consumption of the electric drive compressor.
P = min i = 1 n P i N
where P is the total energy consumption of the compressor station ( MW ) , P i N is the energy consumption of the i t h compressor ( MW ) and n is the number of compressors in the station.

2.2. Constraints

2.2.1. Compressor Unit Limitations

We discusses the mathematical calculations of compressor power and working domain that are accepted and used by most people [24], as shown below.
The movement of the gas through the compressor is a polytropic process. Once operating parameters are given, such as compression ratio, temperature, etc., the following equation [11] can be used to calculate the polytropic head H ( J / kg ) .
H = Z s · R · T s ( σ 1 ) / σ ε σ 1 / σ 1
where Z s is the compression factor on the suction side of the compressor, R is the gas constant ( J / kg · K ) , T s is the temperature on the suction side of the compressor ( K ) , σ is the isentropic exponent, and ε is the compression ratio. Similarly, the polytropic head can be expressed as a function of the compressor speed N and the gas flow rate Q [25].
H = b 1 N 2 + b 2 N Q + b 3 Q 2
where b 1 , b 2 and b 3 are constants, N is the speed of the compressor ( rmp ) , and Q is the volumetric flow rate of natural gas at the compressor inlet ( m 3 / s ) . Based on the above two polytropic head equations, the head H can be calculated from the given suction conditions, compression ratio, and thus the speed N as a function of flow rate Q. Combining the two equations of the polytropic head, it is possible to obtain the speed N as a function of the volume flow Q according to the given operating parameters.
The operating domain range of the compressor is usually shown in Figure 2, which contains four boundaries [19]. In Figure 2, the upper and lower curves of the working domain correspond to the operating conditions at the maximum speed N max and the minimum speed N min ( rmp ) , respectively. Therefore, the operating speed of the compressor must satisfy the following equation [26].
N min N N max
In addition to speed limitations, the compressor capacity is limited by two instabilities (i.e., surge and stonewell). The surge line is expressed as [27].
Q s u r g e = a 1 + a 2 N + a 3 N 2
where a 1 , a 2 and a 3 are constants and Q s u r g e is the minimum volume flow rate determined by the surge ( m 3 / s ) .
The stonewell line can be calculated by the following equation [11].
Q s t o n e w e l l = a 4 + a 5 N + a 6 N 2
where a 4 , a 5 and a 6 are constants and Q s t o n e w e l l is the maximum volume flow rate ( m 3 / s ) .
Finally, the following equation [28] can be used to estimate the power consumption P N of the compressor ( MW ) .
P N = m H η
where m is the mass flow rate of natural gas ( kg / s ) and η is the polytropic efficiency.
Here, the mass flow rate m can be converted into the volume flow rate Q using the following equation.
Q = m · Z s · R · T s p s
where p s is the suction pressure of the compressor ( MPa ) .
Equally, the polytropic efficiency can be expressed as a function of speed N and flow rate Q, as shown in the following equation.
η = b 4 N 2 + b 5 N Q + b 6 Q 2
where b 4 , b 5 and b 6 are constants. Combining the efficiency equation and the mass flow conversion equation, power P N as a function of volume flow Q can be obtained for the given operating parameter, i.e., P N ( Q ) .

2.2.2. Load Balance Constrainst

We have considered a compressor station with several parallel-connected compressors. For parallel compressors, the compression ratio must be the same, meaning that their suction conditions and discharge pressure should also be the same.
ε i = u i ε 0
where ε i is the compression ratio of the compressor station, and ε 0 is the compressor ratio of the compressor. The on or off state of compressor i is indicated by introducing a binary variable u i . When u i = 1, compressor i is in working state; when u i = 0, the compressor i is off.
At the same time, the volume flow rate via this compressor station ought to eventually be the same as the total volume flow rates through all of the individual compressors. Q 0 is the volume flow rate through the compressor station and Q i is the volume flow rate through compressor i.
i = 1 n u i Q i = Q 0
To address the surge instability, it is common to have a recirculating bypass for each compressor, as shown in Figure 1. However, these flows are neglected in this load equation to avoid considering the surge instability. This simplification makes the equation simpler and does not alter the solution of the algorithm.

2.3. Question Summary

The model we considered is based on given operating parameters, such as suction pressure, temperature and compression ratio. Therefore, the polytropic head H 0 can be calculated based on the given parameters, as shown by the dashed line in Figure 2. Then, the range of the flow rate is calculated from the intersection of this line and the boundary line. In summary, the complete compressor station optimization model can be expressed as.
min i = 1 n P i N ( Q i ) s . t . ε i = u i ε 0 i = 1 n u i Q i = Q 0 u i Q i min Q i u i Q i max u i { 0 , 1 } for i = 1 , 2 , n
where Q i min and Q i max are the minimum and maximum flow rates, respectively.

3. Solution Approach

3.1. Model Preprocessing

In the above mathematical model, the objective function is nonlinear and contains a binary variable, so the issue is classified as a mixed integer nonlinear programming (MINLP) problem. For the given suction condition and compression ratio, the problem is governed by the flow balance constraint at the compressor station and the compressor operating domain. Most meta-heuristic algorithms are an unconstrained optimization algorithm and are based on continuous variable solving, so our model cannot be solved directly by meta-heuristic algorithms. In this case, we must perform constraint handling to transform it into an unconstrained optimization problem. We mainly consider the flow balance constraint and the binary variables that indicate the on or off state of the compressor.

3.1.1. Binary and Semi-Continuous Variables

The binary variable is an auxiliary variable to represent the on or off state of the compressor; here, we use a more concise strategy to express the state of the compressor [29,30], i.e., semi-continuous variables. Before discussing why the binary variable is discarded, we briefly describe the connection between the binary and semi-continuous variables in unit optimization. In Equation (12), if a unit is on, i.e., u i = 1, the flow through this compressor is within [ Q i min , Q i max ] ; otherwise, u i = 0 and the flow through is 0. With this approach, the binary variable represents whether the unit is on or off. We can also consider the flow Q i to determine the on or off state of the unit alone. When Q i belongs to [ Q i min , Q i max ] , the unit is in the on state. When Q i = 0, the unit is in the off state. As mentioned above, Q i is the semi-continuous variable that takes values in the range 0 [ Q i min , Q i max ] .
Figure 3 further illustrates the difference between binary and semi-continuous variables. For example, if Q m i n = 1 and Q m a x = 5, we have u = 0.8 and Q = 4 at this time. Since u is not an integer, we need to further integerize u. We can see that the introduction of binary variables increases the difficulty of solving the model, while the use of semi-continuous variables greatly simplifies the problem model. So, we do not use binary variables and reuse semi-continuous variables to construct the whole problem model.
From the above, it is clear that there is a domain hole constraint for semi-continuous variables (i.e., it cannot equal the value greater than 0 but less than Q i min ). In the meta-heuristic algorithm designed primarily for unconstrained optimization problems, the constraint can be treated either explicitly or implicitly. For each domain hole in the model, we use an implicit constraint treatment to satisfy the domain hole constraint. In the implicit processing strategy, the algorithm itself is modified by performing some additional operations on the group members to ensure that the members satisfy the constraints. To be specific, if the unit is on, the flow rate should be between [ Q i min , Q i max ] . If Q i is bigger than 0 and less than Q i min , the unit should not be turned on, i.e., the flow rate is 0, as shown below.
Q i > 0 & Q i < Q i min Q i = 0 ; i = 1 , 2 , , n

3.1.2. Flow Balance Constraint

To satisfy the flow balance constraint, the dynamic penalty function method is used to deal with the equation constraint [31]. To be specific, by establishing a new fitness function in place of the previous objective function, the new fitness function consists of two parts, i.e., the objective function and the penalty function. The new fitness function is as follows.
min F i t = i = 1 n P i N + c l ( i = 1 n Q i Q 0 )
where c is a constant, and l is the number of iterations. By using the smaller penalty factor at the beginning of the iteration, the penalty for infeasible solutions is smaller, so the algorithm will have the possibility to search beyond the feasible domain to some extent. However, using the bigger penalty function at the later stage makes the algorithm’s search focus on the feasible domain to find the better feasible solution.

3.2. Salp Swarm Algorithm

The salp swarm optimization algorithm is analogous to other meta-heuristic optimization algorithms. First, the populations are randomly initialized. The location vector X of the salp population is composed of N salp individuals of dimension D, as shown in Equation (15). The search space’s objective or food source is designated as F. Each leader’s position is changed in the direction of F, and the update equation is shown in Equation (16).   
X = x 1 1 x 2 1 x D 1 x 1 2 x 2 2 x D 2 x 1 N x 2 N x D N
x j 1 = F j + c 1 u b j l b j c 2 + l b j ,   c 2 0.5 F j c 1 u b j l b j c 2 + l b j ,   c 3 < 0.5
where x j 1 is the position of the first salp in dimension j, F j denotes the food position in dimension j, and u b j and l b j are the upper and lower bounds of the dimension, respectively. c 2 and c 3 are the random numbers within 0 , 1 , which are used to determine whether the leader’s next position should be in the positive or negative direction and the length of the move. c 1 is the important parameter in the leader position update formula; it is defined as follows.
c 1 = 2 e 4 l L max 2
where l is the current number of iterations, and L m a x is the maximum number of iterations defined.
The movement of the follower is guided by the leader, and the follower position update formula is shown in Equation (18).
x j i = 1 2 x j i + x j i 1
where i 2 , x j i and x j i 1 are the positions of the i t h and ( i 1 ) t h followers in the salp chain in the j t h dimension, respectively. The pseudo code of SSA is shown in Algorithm 1.
Algorithm 1 SSA.
  • Generate initial salp population randomly
  • The fitness value of each salp individual is calculated, and the optimal individual is selected as the food source F
  • while l < L max do
  •     Update c 1 by Equation (17)
  •     for  i = 1 to N do
  •         if i < = N / 2  then
  •            Update the position of leader by Equation (16)
  •         else
  •            Update the position of the follower by Equation (18)
  •         end if
  •     end for
  •     Calculate individual fitness values, set the optimal individual as the food source F
  •      l = l + 1
  • end while
  • return F

3.3. Improved Salp Swarm Algorithm

3.3.1. Good Point Set

Any kind of meta-heuristic algorithm is designed to find the balance between convergence and diversity in the global optimization process. This balance is crucial for the successful execution of the optimization algorithm [32]. In general, good diversity indicates that populations are highly advantageous for exploring the whole search space. Therefore, we combine the idea of uniform design and introduce the good point set to improve the SSA algorithm. The initialized population is generated by using the strategy of good point set, which can be obtained as follows:
γ = 2 cos 2 π p , 2 cos 4 π p , , 2 cos 2 π D p
where D is the dimension of the variable, and p is the smallest prime number satisfying p 2 D + 3 . When N is the population size, the i t h salp is generated by the following equation.
x j i = l b j + u b j l b j γ j i ,   j = 1 , , D ,   i = 1 , , N
where γ j i represents the fractional part of γ j i .

3.3.2. Adaptive Population Division

In SSA, the number of leaders and followers in the slap population affects the capacity of the algorithm to develop globally and regional exploration, respectively. The number of leaders and followers in the standard SSA always accounts for half of the population, respectively. The number of leaders conducting global exploration in the initial iteration is small, while the quantity of followers is too much, focusing too much on local exploration and easily falling into local optimum. Meanwhile, the number of leaders and followers in the last iteration is just the opposite. The proportion of followers is low and the local search is not sufficient, easily resulting in poor accuracy of the search for optimum. For this deficiency, we propose a leader–follower adaptive division strategy, using an adaptive weighting strategy to adaptively adjust the number of leaders and followers. With more iterations, fewer leaders emerge, while more followers do. The new formula for calculating the number of leaders and followers is as follows.
N 1 = r ( l ) N N 2 = N N 1 r ( l ) = k b tan π l 4 L max + π 4
where N 1 is the quantity of leaders, N 1 is the quantity of followers, and r ( l ) is the adaptive weight. k and b are the ratio coefficients controlling the number of leader–followers, and we dynamically adjust the ratio of the quantity of leaders and followers in the cluster of salp during the iterative process. Through several experimental tests, we take the value of k as 0.1 and b as 0.7.

3.3.3. Adaptive Inertia Weight

The follower’s position update strategy is to let the follower move in the targeted way to find a better position of the fitness function in order to expedite the look for the optimal solution. In the standard SSA, the follower’s movement is determined by the combination of its own position and the preceding individual’s position, so the follower will have a strong dependence on the previous individual’s position. If the follower’s position is locally optimal, it is easy to cause the algorithm’s search to stall. To solve this problem, adaptive inertia weights are introduced to determine the impact of the preceding individual on the current individual. When the inertia weight value is larger, the previous individual has more influence on the current individual, which helps enhance the local exploitation capacity of the algorithm. When the inertia weight is smaller, the previous individual has less influence on the current individual, so the algorithm focuses on global search to avoid falling into local optimum. The new follower position formula update is
ω ( l ) = 0.25 ( 1 cos ( π l / L max ) ) + 0.5 cos ( π l / L max )
x j i = 1 2 x j i + ω ( l ) x j i 1
In summary, the flow chart of GASSA is shown in Figure 4. The pseudo code of GASSA is shown in Algorithm 2.
Algorithm 2 GASSA.
  • Generate initial salp population according to Equation (21)
  • The fitness value of each salp individual is calculated, and the optimal individual is selected as the food source F
  • while l < L max do
  •     Update c 1 by Equation (17)
  •     for  i = 1 to N do
  •         Calculate r, according to Equation (21)
  •         if i < = r N  then
  •            Update the position of leader according to Equation (16)
  •         else
  •            Calculate w according to Equation (22), update the position of the follower according to Equation (23)
  •         end if
  •     end for
  •     Calculate individual fitness values, and set the optimal individual as the food source F
  •      l = l + 1
  • end while
  • return F

4. Simulations and Comparisons

We evaluate the performance of GASSA through experiments. The first experiment tests the performance of GASSA on the benchmark function. The second experiment shows the performance on the load-sharing model.

4.1. Evaluation of ISSA on Benchmark Functions

Benchmark function testing is a common method to measure the performance of intelligent algorithms. Eight benchmark test functions are selected to demonstrate the superior performance of the improved algorithms. F 1 F 4 are single-peak functions, and only one optimal solution exists for these types of test functions. This type of search space is suitable for testing the speed of convergence and the ability to search. F 5 F 8 are multi-peak benchmark functions. There exist local optima for multi-peak benchmark functions, which makes them suitable for comparing the local optimal avoidance and exploration behavior of the algorithm. Their specific information is shown in Table 1.
To verify the effectiveness of GASSA, the performance of GASSA is compared with the standard salp swarm algorithm (SSA) and a series of well-known meta-heuristic algorithms, namely the standard gray wolf optimization algorithm (GWO) [33], the standard grasshopper optimization algorithm (GOA) [34] and the standard arithmetic optimization algorithm (AOA) [35]. In addition, the parameters of the comparison algorithm in the paper remain consistent with the original paper. For the fairness of the comparison, the parameters of all algorithms are set to be the same: population size is N = 60 and the number of iterations is L m a x = 500. The experimental environment of this paper is based on Intel®CoreTMi5-7200 CPU with 2.5 GHz main frequency and Windows 10 operating system with 4 GB of memory. To reduce the chance error of the experiment, each algorithm is run 30 times independently in each function. The results are taken as the best value, the worst value, the average value and the standard deviation, as shown in Table 2. Table 3 shows the average computation time for the five algorithms on the eight benchmark functions. The best results for each function are highlighted in bold.
As can be seen from Table 2, GASSA achieves better results in the test results of single-peak benchmark test functions F 1 F 4 . All indexes of GASSA have significant advantages compared with other algorithms. The mean value can reflect the convergence of the algorithm, which shows that GASSA has better convergence and higher convergence accuracy than other compared algorithms. It shows that the proposed improvement strategy can effectively improve the convergence accuracy of SSA. The standard deviation can reflect the dispersion degree of the data set. The smaller the standard deviation indicates that the dispersion degree of the data set is lower and the stability of the experimental results is better.
In the test results of multi-peak benchmark functions F 5 F 8 , GASSA outperforms the standard SSA and other algorithms in the mean and standard deviation of the optimal solution, which indicates that the improved algorithm has good ability to avoid falling into local optimum. However, the accuracy of the solution on some multi-peak functions is lower than that of single-peak functions, which indicates that the algorithm is inadequate for solving multi-peak functions. This is a direction for further research. The computational cost in Table 3 shows that SSA has the lowest time cost, and GASSA has the moderate time cost; however, GOA has the considerable time cost for all benchmark functions.
The performance of an algorithm can be shown visually by the convergence curve, which shows the number of times the algorithm falls into the local optimum and the speed of convergence. Since the multi-peaked functions are more complex and easy to make the algorithm fall into local extremes, the convergence curve of these functions is more indicative of the algorithm’s ability to find the best. Therefore, Figure 5 shows the convergence curves of GWO, AOA, GOA, SSA, and GASSA on eight functions.
The convergence curves of the eight functions clearly show the trend of the fitness values of the five algorithms in the evolutionary process. As shown in Figure 5a,b,f, AOA, GOA, and SSA converge slowly, while GWO converges fast in the early iterations. However, GWO quickly falls into local optima that cannot be jumped out, and the convergence accuracy of GWO, AOA, GOA and SSA at the end of the iteration is lower than that of GASSA. In Figure 5c,d,g, GASSA has faster convergence speed and accuracy than the other four algorithms. In Figure 5e,h, AOA, GWO, SSA and GOA all have the problem of fast convergence in the early stage but easily fall into local optimum, and the convergence accuracy is lower than that of GASSA. From the above analysis, it can be seen that GASSA has significantly better optimization-seeking accuracy and convergence performance than the other four algorithms.

4.2. Evaluation of ISSA on Load-Sharing Optimization

In this section, we consider the GASSA application for a booster compressor station consisting of six parallel compressors. Table 4 shows the main parameters of the booster compressor station operation in this case. The six compressors can be classified into four types: one type A (Compressor No. 1), three type B (Compressor No. 2 to 4), one type C (Compressor No. 5) and one type D (Compressor No. 6). Table 5 provides the parameters of the model compressor under this operating condition, which can be used to calculate the parameters of the compressor working domain.
To further demonstrate the superiority of GASSA, it is compared with the standard SSA, GWO, GOA and AOA. The parameters of each algorithm are set as follows: the population size is N = 50 and the maximum number of iterations is L m a x = 500. In addition, all algorithms are run 30 times independently, and the results are taken as the best value, the worst value, the average value and the standard deviation, as shown in Table 6. Table 7 shows the optimal solutions corresponding to the optimal values. Table 8 shows the average computation time of the five algorithms in the case. The best results for each algorithm are highlighted in bold. Figure 6 shows the convergence graph of GASSA in solving the model.
According to the optimized results of the five algorithms in Table 6 and Table 7, we can find that the GASSA optimization results in significant power savings compared to other algorithms, which indicates that GASSA has the potential to reduce the operating cost of the booster compressor station. Specifically, among the four standard algorithms, SSA obtains the minimum power consumption for the minimum value, maximum value, and average value, and the standard deviation is the best. However, GASSA provides better metrics compared with SSA. For example, the optimal and average power consumption of GASSA is 0.0191 MW and 0.0976 MW higher than SSA, respectively. This indicates that the optimization results of GASSA are not only high in accuracy, but also the stability of the solution is significantly better than other algorithms. Although AOA and GWO take less time on average than GASSA, AOA has lower convergence accuracy. In Figure 6, the GWO converges very slowly and stalls in the iterative process, which is very easy to fall into local optimum. Overall, GASSA shows the high competitive ability in finding the global optimal solution within a reasonable time consumption.
Regarding the convergence curves in Figure 6, the convergence curves of the five algorithms keep falling in the initial iterations as the number of iterations increases. The convergence of SSA is slower compared to GASSA due to the random initialization of populations, which leads to the non-uniform distribution of population distributions in space. At this time, the convergence of GASSA is slower compared to AOA because the higher percentage of leaders in GASSA focuses more on global search rather than local exploration. However, as the number of followers increases and the random inertia weights come into play, GASSA has the stronger ability to get rid of the local optimum. Later in the iteration, other algorithms have fallen into local optima and the curve stalls, while the convergence curve of GASSA still continues to fall and converge to the better result.

5. Conclusions

In this paper, we propose an accurate and reliable algorithm to solve the nonlinearity and nonconvex MINLP model for optimization of load distribution of the booster compressor station to reduce the operating cost of the booster compressor station. Specifically, instead of using binary variables to indicate the on or off state of the compressor, semi-continuous variables are utilized to describe the flow variation and on or off state of the compressor. Thus, the number of variables is reduced and the search space is simplified. In addition, a new salp swarm algorithm (GASSA) is proposed to solve this model. In GASSA, the good point set strategy is used to initiate the population in order to increase the variety of the population; to improve the global search and local exploitation capability of the algorithm, the adaptive population division constantly modifies the population’s leader-to-follower ratio; adaptive inertia weights are added to the mechanism of the followers to help the followers jump out of the local optimum.
Comprehensive experiments are conducted on eight benchmark test functions and one simulation case to verify the performance of GASSA. The test results of the benchmark functions show that GASSA is stronger than other algorithms in terms of optimization accuracy and reliability. The case results show that GASSA improves the optimal power consumption and average power consumption by 0.0191 MW and 0.0976 MW , respectively, compared to the best-performing algorithm among the others. Therefore, GASSA is a promising candidate for optimizing the load distribution in the booster compressor station.

Author Contributions

Conceptualization, J.Z. and L.L.; methodology, J.Z., L.L. and Q.Z.; software, J.Z.; validation, J.Z., L.L. and Q.Z.; formal analysis, J.Z. and Y.W.; investigation, J.Z. and Y.W.; resources, L.L. and Q.Z.; data curation, J.Z.; writing—original draft preparation, J.Z., Y.W. and L.L.; writing—review and editing, J.Z. L.L. and Q.Z.; visualization, J.Z.; supervision, L.L.; project administration, Q.Z.; funding acquisition, L.L. and Q.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shaanxi Province Science and Technology Key.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lu, S.; Fang, M.; Wang, Q.; Huang, L.; Sun, W.; Zhang, Y.; Li, Q.; Zhang, X. Public Acceptance Investigation for 2 Million Tons/Year Flue Gas CO2 Capture, Transportation and Oil Displacement Storage Project. Int. J. Greenh. Gas Control. 2021, 111, 103442. [Google Scholar] [CrossRef]
  2. Arya, A.K.; Honwad, S. Modeling, Simulation, and Optimization of a High-Pressure Cross-Country Natural Gas Pipeline: Application of an Ant Colony Optimization Technique. J. Pipeline Syst. Eng. Pract. 2016, 7, 04015008. [Google Scholar] [CrossRef]
  3. Wang, B.; Liang, Y.; Yuan, M. Water Transport System Optimisation in Oilfields: Environmental and Economic Benefits. J. Clean. Prod. 2019, 237, 117768. [Google Scholar] [CrossRef]
  4. Sadeghi, Z.; Horry, H.R.; Khazaee, S. An Economic Evaluation of Iranian Natural Gas Export to Europe through Proposed Pipelines. Energy Strategy Rev. 2017, 18, 1–17. [Google Scholar] [CrossRef]
  5. Vahdati, N.; Wang, X.; Shiryayev, O.; Rostron, P.; Yap, F.F. External Corrosion Detection of Oil Pipelines Using Fiber Optics. Sensors 2020, 20, 684. [Google Scholar] [CrossRef] [Green Version]
  6. Lu, H.; Ma, X.; Azimi, M. US Natural Gas Consumption Prediction Using an Improved Kernel-Based Nonlinear Extension of the Arps Decline Model. Energy 2020, 194, 116905. [Google Scholar] [CrossRef]
  7. Bagheri, M.; Sari, A. Study of Natural Gas Emission from a Hole on Underground Pipelines Using Optimal Design-Based CFD Simulations: Developing Comprehensive Soil Classified Leakage Models. J. Nat. Gas Sci. Eng. 2022, 102, 104583. [Google Scholar] [CrossRef]
  8. Su, Z.; Liu, E.; Xu, Y.; Xie, P.; Shang, C.; Zhu, Q. Flow Field and Noise Characteristics of Manifold in Natural Gas Transportation Station. Oil Gas Sci. Technol.—Revue d’IFP Energies Nouv. 2019, 74, 70. [Google Scholar]
  9. Liu, K.; Biegler, L.T.; Zhang, B.; Chen, Q. Dynamic Optimization of Natural Gas Pipeline Networks with Demand and Composition Uncertainty. Chem. Eng. Sci. 2020, 215, 115449. [Google Scholar] [CrossRef]
  10. Liu, E.; Lv, L.; Ma, Q.; Kuang, J.; Zhang, L. Steady-State Optimization Operation of the West–East Gas Pipeline. Adv. Mech. Eng. 2019, 11, 1687814018821746. [Google Scholar] [CrossRef] [Green Version]
  11. Kumar, S.; Cortinovis, A. Load Sharing Optimization for Parallel and Serial Compressor Stations. In Proceedings of the 2017 IEEE Conference on Control Technology and Applications (CCTA), Maui, HI, USA, 27–30 August 2017; pp. 499–504. [Google Scholar]
  12. Deng, T. Minimization of Power Usage in a Compressor Station with Multiple Compressors. J. Energy Eng. 2016, 142, 04015048. [Google Scholar] [CrossRef]
  13. Wu, S.; Ríos-Mercado, R.Z.; Boyd, E.A.; Scott, L.R. Model Relaxations for the Fuel Cost Minimization of Steady-State Gas Pipeline Networks. Math. Comput. Model. 2000, 31, 197–220. [Google Scholar] [CrossRef]
  14. Milosavljevic, P.; Marchetti, A.G.; Cortinovis, A.; Faulwasser, T.; Mercangöz, M.; Bonvin, D. Real-Time Optimization of Load Sharing for Gas Compressors in the Presence of Uncertainty. Appl. Energy 2020, 272, 114883. [Google Scholar] [CrossRef]
  15. Cortinovis, A.; Mercangöz, M.; Zovadelli, M.; Pareschi, D.; De Marco, A.; Bittanti, S. Online Performance Tracking and Load Sharing Optimization for Parallel Operation of Gas Compressors. Comput. Chem. Eng. 2016, 88, 145–156. [Google Scholar] [CrossRef]
  16. Zapukhliak, V.; Poberezhny, L.; Maruschak, P.; Grudz, V., Jr.; Stasiuk, R.; Brezinová, J.; Guzanová, A. Mathematical Modeling of Unsteady Gas Transmission System Operating Conditions under Insufficient Loading. Energies 2019, 12, 1325. [Google Scholar] [CrossRef] [Green Version]
  17. Liu, E.; Lv, L.; Yi, Y.; Xie, P. Research on the Steady Operation Optimization Model of Natural Gas Pipeline Considering the Combined Operation of Air Coolers and Compressors. IEEE Access 2019, 7, 83251–83265. [Google Scholar] [CrossRef]
  18. Rodrigues, L.R. A Hybrid Multi-Population Metaheuristic Applied to Load-Sharing Optimization of Gas Compressor Stations. Computers Electr. Eng. 2022, 97, 107632. [Google Scholar] [CrossRef]
  19. Li, X.; Cui, T.; Huang, K.; Ma, X. Optimization of Load Sharing for Parallel Compressors Using a Novel Hybrid Intelligent Algorithm. Energy Sci. Eng. 2021, 9, 330–342. [Google Scholar] [CrossRef]
  20. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A Bio-Inspired Optimizer for Engineering Design Problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  21. Pavan Kumar Neeli, V.S.R.; Salma, U. Automatic Generation Control for Autonomous Hybrid Power System Using Single and Multi-objective Salp Swarm Algorithm. In Proceedings of the Intelligent Computing, Information and Control Systems, Madurai, India, 15–17 May 2019; Springer: Cham, Switzerland, 2020; pp. 624–636. [Google Scholar]
  22. Yang, B.; Zhong, L.; Zhang, X.; Shu, H.; Yu, T.; Li, H.; Jiang, L.; Sun, L. Novel Bio-Inspired Memetic Salp Swarm Algorithm and Application to MPPT for PV Systems Considering Partial Shading Condition. J. Clean. Prod. 2019, 215, 1203–1222. [Google Scholar] [CrossRef]
  23. Zhang, J.; Wang, Z.; Luo, X. Parameter Estimation for Soil Water Retention Curve Using the Salp Swarm Algorithm. Water 2018, 10, 815. [Google Scholar] [CrossRef] [Green Version]
  24. Mahmoudimehr, J.; Sanaye, S. Minimization of Fuel Consumption of Natural Gas Compressor Stations with Similar and Dissimilar Turbo-Compressor Units. J. Energy Eng. 2014, 140, 04013001. [Google Scholar] [CrossRef] [Green Version]
  25. Liu, E.; Li, C.; Yang, Y. Optimal Energy Consumption Analysis of Natural Gas Pipeline. Sci. World J. 2014, 2014, e506138. [Google Scholar] [CrossRef] [PubMed]
  26. Borraz-Sánchez, C.; Haugland, D. Minimizing Fuel Cost in Gas Transmission Networks by Dynamic Programming and Adaptive Discretization. Comput. Ind. Eng. 2011, 61, 364–372. [Google Scholar] [CrossRef]
  27. Paparella, F.; Domínguez, L.; Cortinovis, A.; Mercangöz, M.; Pareschi, D.; Bittanti, S. Load Sharing Optimization of Parallel Compressors. In Proceedings of the 2013 European Control Conference (ECC), Zurich, Switzerland, 17–19 July 2013; pp. 4059–4064. [Google Scholar]
  28. Borraz-Sánchez, C.; Ríos-Mercado, R.Z. Improving the Operation of Pipeline Systems on Cyclic Structures by Tabu Search. Comput. Chem. Eng. 2009, 33, 58–64. [Google Scholar] [CrossRef]
  29. Chen, Q.; Shen, Z.; Chen, Z. A Penalty Function Semi-Continuous Thresholding Methods for Constraints of Hashing Problems. J. Vis. Commun. Image Represent. 2022, 87, 103552. [Google Scholar] [CrossRef]
  30. Toragay, O.; Silva, D.F.; Vinel, A.; Shamsaei, N. Exact Global Optimization of Frame Structures for Additive Manufacturing. Struct. Multidiscip. Optim. 2022, 65, 97. [Google Scholar] [CrossRef]
  31. Ni, S.; Chen, W.; Ju, H.; Chen, T. Coordinated Trajectory Planning of a Dual-Arm Space Robot with Multiple Avoidance Constraints. Acta Astronaut. 2022, 195, 379–391. [Google Scholar] [CrossRef]
  32. Arora, S.; Singh, S. Butterfly Optimization Algorithm: A Novel Approach for Global Optimization. Soft Comput. 2019, 23, 715–734. [Google Scholar] [CrossRef]
  33. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  34. Saremi, S.; Mirjalili, S.; Lewis, A. Grasshopper Optimisation Algorithm: Theory and Application. Adv. Eng. Softw. 2017, 105, 30–47. [Google Scholar] [CrossRef] [Green Version]
  35. Abualigah, L.; Diabat, A.; Mirjalili, S.; Abd Elaziz, M.; Gandomi, A.H. The Arithmetic Optimization Algorithm. Comput. Methods Appl. Mech. Eng. 2021, 376, 113609. [Google Scholar] [CrossRef]
Figure 1. Natural gas compressor station with parallel topology.
Figure 1. Natural gas compressor station with parallel topology.
Energies 15 05720 g001
Figure 2. Compressor’s working domain.
Figure 2. Compressor’s working domain.
Energies 15 05720 g002
Figure 3. Difference between binary and semi-continuous variables.
Figure 3. Difference between binary and semi-continuous variables.
Energies 15 05720 g003
Figure 4. The flow chart of the proposed GASSA.
Figure 4. The flow chart of the proposed GASSA.
Energies 15 05720 g004
Figure 5. Convergence curve of benchmark functions. (a)  F 1 ; (b) F 2 ; (c) F 3 ; (d) F 4 ; (e) F 5 ; (f) F 6 ; (g) F 7 ; (h) F 8 .
Figure 5. Convergence curve of benchmark functions. (a)  F 1 ; (b) F 2 ; (c) F 3 ; (d) F 4 ; (e) F 5 ; (f) F 6 ; (g) F 7 ; (h) F 8 .
Energies 15 05720 g005
Figure 6. Comparison of 5 algorithms for optimizing curve.
Figure 6. Comparison of 5 algorithms for optimizing curve.
Energies 15 05720 g006
Table 1. Benchmark test functions.
Table 1. Benchmark test functions.
FuntionDimDomainOptimum Value
F 1 ( x ) = i = 1 n x i 2 30[−100,100]0
F 2 x = i = 1 n x i + i = 1 n x i 30[−10,10]0
F 3 x = i = 1 n j 1 i x j 30[−100,100]0
F 4 ( x ) = max i x i , 1 i n 30[−100,100]0
F 5 x = i = 1 n x i 2 10 cos 2 π x i + 10 30[−5.12,5.12]0
F 6 ( x ) = 20 exp 0.2 1 n i = 1 n x i 2 exp 1 n i = 1 n cos 2 π x i + 20 + e 30[−32,32]0
F 7 ( x ) = 1 4000 i = 1 n x i 2 i = 1 n cos x i i + 1 30[−600,600]0
F 8 ( x ) = π n 10 sin π y 1 + i = 1 n 1 y i 1 2 1 + 10 sin 2 π y i + 1 + y n 1 2 + i = 1 n u x i , 10 , 100 , 4 y i = 1 + x i + 1 4 u x i , a , k , m = k x i a m x i > a 0 a < x i < a k x i a m x i < a 30[−50,50]0
Table 2. Results of benchmark test functions.
Table 2. Results of benchmark test functions.
FuntionCriteriaGOAAOAGWOSSAGASSA
F 1 Best
Worst
Mean
Std
6.3653
0.3697
1.8666
1.306
2.61E-06
3.48E-08
1.33E-06
5.76E-07
1.81E-34
6.71E-37
3.01E-35
5.00E-35
2.28E-08
8.81E-09
1.62E-08
3.88E-09
6.95E-140
2.37E-140
4.81E-140
1.28E-140
F 2 Best
Worst
Mean
Std
7.8752
0.5053
2.9865
1.6878
0.0037
9.29E-13
4.54E-04
8.75E-04
8.05E-21
8.01E-22
4.02E-21
1.94E-21
2.7071
0.0024
0.6907
0.7423
1.14E-70
7.40E-71
9.17E-71
1.10E-71
F 3 Best
Worst
Mean
Std
2.22E+03
477.663
1.08E+03
579.2324
0.0015
1.42E-05
3.47E-04
3.15E-04
7.26E-09
3.56E-12
9.72E-10
1.63E-09
874.2436
75.0897
339.2362
210.5062
1.73E-138
7.45E-140
7.73E-139
5.77E-139
F 4 Best
Worst
Mean
Std
12.7393
3.8623
7.8885
2.6074
0.0355
5.31E-04
0.0092
0.0086
3.52E-08
5.03E-10
7.49E-09
8.37E-09
10.2434
0.9004
5.4139
2.7326
1.24E-70
7.44E-71
9.38E-71
1.20E-71
F 5 Best
Worst
Mean
Std
108.56
36.8248
65.2024
22.2072
1.26E-06
0
3.95E-07
4.48E-07
7.867
0
1.6685
2.7474
71.6369
17.9093
40.6606
13.4296
0
0
0
0
F 6 Best
Worst
Mean
Std
4.3593
1.9727
2.968
0.7744
4.05E-04
3.63E-06
2.39E-04
1.04E-04
5.06E-14
2.93E-14
3.78E-14
4.72E-15
3.28E+00
3.48E-05
1.8597
0.6383
8.88E-16
8.88E-16
8.88E-16
0
F 7 Best
Worst
Mean
Std
0.7141
0.2833
0.5249
0.1303
0.0197
3.45E-06
6.64E-04
0.0036
0.0338
0
0.0071
0.0102
0.032
1.92E-06
0.0103
0.0099
0
0
0
0
F 8 Best
Worst
Mean
Std
11.5914
2.7514
5.8342
2.9491
0.6629
0.5459
0.6058
0.0289
0.0458
0.0058
0.0196
0.0109
10.1161
1.2637
4.6115
1.8673
0.0252
1.2706e-05
0.0042
0.0071
Table 3. Average computation time (in seconds) of 5 algorithms on 8 benchmark functions.
Table 3. Average computation time (in seconds) of 5 algorithms on 8 benchmark functions.
FunctionGOAAOAGWOSSAGASSA
F 1 269.2780.71141.05980.62860.7394
F 2 250.7850.74661.08210.62390.7458
F 3 261.1532.15712.47462.05412.2215
F 4 243.9920.84951.10840.65340.7567
F 5 212.3270.78711.17230.69361.5918
F 6 235.3410.84961.21130.71981.6647
F 7 240.1010.92821.30540.83851.8246
F 8 259.2781.49481.87241.36683.1296
Table 4. The main parameters of the simulated operation of the booster compressor station.
Table 4. The main parameters of the simulated operation of the booster compressor station.
ParametersValue
Suction pressure ( MPa )3.3
Suction temperature ( K )293.15
Gas constant ( J / kg · K )518.75
Total volume flow rate ( m 3 / s )15
Compressor ratio1.5
Table 5. Parameters of the four types of compressors.
Table 5. Parameters of the four types of compressors.
ParameterA-TypeB-TypeC-TypeD-Type
a 1 0.8350.9180.5720.547
a 2 1.01E-051.30E-056.9E-062.62E-05
a 3 6.29E-083.87E-089.93E-085.18E-08
a 4 0.2260.2260.834−0.0177
a 5 0.0006440.0006440.0004170.00099
a 6 5.09E085.09E-081.00E-072.56E-08
b 1 0.002150.001980.00340.001923
b 2 0.5150.5150.4882.72
b 3 −1564−1564−1481−2174
b 4 0.6070.6360.5280.405
b 5 8777519211252
b 6 −700,000−614,000−650,000−844,000
N min 3965396531203380
N max 6405640550405460
Table 6. Statistics of the results of 30 calculations.
Table 6. Statistics of the results of 30 calculations.
Power Consumption (MW)GOAAOAGWOSSAGASSA
Best24.537124.513224.519224.506924.4878
Worst25.188125.118425.174825.010624.782
Mean24.810524.804324.798824.699824.6022
Std0.18220.15610.14460.13220.0668
Table 7. Optimal load-sharing scheme.
Table 7. Optimal load-sharing scheme.
AlgorithmNO.1NO.2NO.3NO.4NO.5NO.6
GOA3.66303.41483.71584.206500
AOA3.90993.80713.73923.543700
GWO3.79753.34404.0933003.7652
SSA3.509804.00203.990703.4975
GASSA3.81353.77153.8502003.5647
Table 8. Average computation time (in seconds) of 5 algorithms on the simulation case.
Table 8. Average computation time (in seconds) of 5 algorithms on the simulation case.
Computation TimeGOAAOAGWOSSAGASSA
Average value43.64210.61730.58830.60380.6209
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, J.; Li, L.; Zhang, Q.; Wu, Y. Optimization of Load Sharing in Compressor Station Based on Improved Salp Swarm Algorithm. Energies 2022, 15, 5720. https://doi.org/10.3390/en15155720

AMA Style

Zhang J, Li L, Zhang Q, Wu Y. Optimization of Load Sharing in Compressor Station Based on Improved Salp Swarm Algorithm. Energies. 2022; 15(15):5720. https://doi.org/10.3390/en15155720

Chicago/Turabian Style

Zhang, Jiawei, Lin Li, Qizhi Zhang, and Yanbin Wu. 2022. "Optimization of Load Sharing in Compressor Station Based on Improved Salp Swarm Algorithm" Energies 15, no. 15: 5720. https://doi.org/10.3390/en15155720

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