Professional Documents
Culture Documents
(2012)9:89-92
89
'2I 10.100s12182-012-018-8
Abstract: In Sast decades dynamic Srogramming, genetic algorithms, ant colony oStimization algorithms
and some gradient algorithms haYe been aSSlied to Sower oStimization of gas SiSelines. In this SaSer a
Sower oStimization model for gas SiSelines is deYeloSed and an imSroYed Sarticle swarm oStimization
algorithm is aSSlied. %ased on the testing of the Sarameters inYolYed in the algorithm which need to be
dened articially, the Yalues of these Sarameters haYe been recommended which can maNe the algorithm
reach efciently the aSSro[imate oStimum solution with required accuracy. Some e[amSles haYe shown
that the relatiYe error of the Sarticle swarm oStimization oYer ant colony oStimization and dynamic
Srogramming is less than 1% and the comSutation time is much less than that of ant colony oStimization
and dynamic Srogramming.
Key words: Gas SiSeline, oSeration, oStimization, Sarticle swarm oStimization algorithm
1 Introduction
ComSressors SroYide the Sressure necessary to transSort
natural gas Yia a SiSeline. 7he Srime moYer consumes much
Sower when driYing the comSressor. So Sower oStimization is
Yery imSortant for imSroYing the oSerational economy of gas
SiSelines.
7he obMectiYe function of Sower oStimization is nonlinear and non-conYe[. Many constraints are non-linear.
It is difficult to solYe this Nind of oStimization Sroblems.
'ynamic Srogramming ('P) (:ong and Larson, 1968a
1968b Peretti and 7oth, 1982 Carter, 1998 5tos-Mercado
et al, 2006), articial intelligence (Sun et al, 2000) and some
gradient algorithms (Percell and 5yan, 198 :u et al, 2000)
haYe been aSSlied to Sower oStimization of gas SiSelines.
7hese methods are effectiYe. HoweYer, the aSSlication range
of traditional algorithms is limited and the comSutation
time is long. Particle swarm oStimization (PS2) algorithm
is a colony intelligence calculation technique deYeloSed by
Kennedy and (berhart in 1995. It is insSired by the social
behaYior of organisms such as bird ocNing (<u et al, 2009).
7he PS2 belongs to eYolution algorithms. LiNe genetic
algorithm it also begins with some random solutions and
searches for the oStimum solution by iteratiYe comSutation.
7he PS2 also eYaluates solutions by the tness function, but
it does not haYe the Srocess of crossoYer and mutation. 7he
PS2 searches for the oStimum solution by tracNing the best
Sositions of indiYidual and colony after eYolution for one
CorresSonding author. email: wuchangchun#YiS.sina.com
5eceiYed ASril 15, 2011
Pet.Sci.(2012)9:89-92
90
min )cos W
LN
L 1
UL
N -
S P 1
P
5= L7L (( d ) P 1) KLN Kr ) (min
P 1
Ss
V.W.
Sd 2 Se 2
I4 2
Sd d Sma[
Smin1 d Ss
Smin 2 d SdeliYery
+ LN
KLN
D0 (
QLN 2
Q
) D 1 4LN LN D24LN 2
Q0LN
Q0LN
E0 E14LN
(1)
Q0LN
Q
E2 4LN 2 ( 0LN )2
QLN
QLN
Compressor station
Gas
source
Delivery
terminal
3 PSO algorithm
YLG , W
[LG , W
[LG , W 1 YLG , W
()
w h e r e i 1, 2, , M d 1, 2,, D t r e S r e s e n t s t h e
eYolution generation uS to now w reSresents the weight
factor c1 and c2 are the acceleration constants r1 and r2 are
the random numbers between [0, 1].
Pet.Sci.(2012)9:89-92
S JG
91
S JG (1 (2 UDQG 1) P )
(4)
P Pint D Pmin
(5)
W
e[S( 0 u ( ) V )
(6)
7
where rand is a random number between [0, 1] t reSresents
the eYolution generation uS to now T reSresents the set total
eYolution generations S belongs to [1, 20] mmin can be set at
0.01 mint will be dened articially.
In the early stage, a is big, the searching steS is large, so
the conYergence is fast and is good for the algorithm to aYoid
the local solution. In the late stage, a is small, the searching
steS is small, the searching around the best Sosition of the
colony is accurate, so it is good for the algorithm to increase
the oStimization accuracy.
D
5 Case analysis
)ig. is the toSological structure of the gas SiSeline. 7he
SiSeline is comSosed of fiYe SiSe segments connected in
series by Ye comSressor stations and one deliYery terminal.
7he basic data of the SiSeline is shown in 7able 1.
Station 1 Station 2 Station 3 Station 4
Station 1
8.14
.2
4.
4.2
200 km
250 km
180 km
.2
.2
.2
6.4
.28105
Pet.Sci.(2012)9:89-92
92
Table 3 7he oStimization results of three algorithms for 5 stations
)low rate
Ngh
ComSutation time, s
PS2
AC2
DP
PS2
AC2
DP
24
209
12
1.5
1.50
1.50
1.00106
2
20
110
1.849
1.85
1.852
2
199
1446
2.226
2.22
2.20
1.1010
2
195
1544
2.69
2.690
2.689
1.15106
2
185
166
.28
.28
.282
9.510
1.0510
ComSutation time, s
PS2
AC2
DP
PS2
AC2
DP
9.510
10
21
102
.882
.864
.856
1.00106
106
509
115
4.81
4.89
4.81
1.05106
106
4
119
5.801
5.64
5.51
1.1010
106
445
115
6.86
6.8
6.826
1.1510
106
418
11150
8.181
8.145
8.14
ComSutation time, s
PS2
AC2
DP
PS2
AC2
DP
166
1251
28262
6.85
6.1
6.6
1.00106
16
1114
0405
.88
.842
.810
1.05106
162
1069
29886
9.261
9.289
9.24
16
9
28560
10.958
11.010
10.968
162
649
2522
12.940
1.024
12.958
9.510
1.1010
1.1510
6 Conclusions
In this SaSer an imSroYed PS2 algorithm is aSSlied to
gas SiSeline Sower oStimization. 7he oStimization results
obtained by the algorithm differ from those from AC2 and
DP by less than 1%, but the comSutation time can be saYed
greatly comSared with AC2 and DP. 7his will enable us to
References
Carter 5 G. PiSeline oStimization: Dynamic Srogramming after 0 years.
In: 0th Annual Meeting PiSeline Simulation Interest GrouS (PSIG),
28-0 2ctober, DenYer, Colorado, 1998
Chen M 5, Li ;, =hang ;, et al. A noYel Sarticle swarm oStimizer
hybridized with e[tremal oStimization. ASSlied Soft ComSuting.
2010. 10(2): 6-
Du W L and Li %. Multi-strategy ensemble Sarticle swarm oStimization
for dynamic oStimization. Information Sciences. 2008. 18: 096109
-iang <, Hu 7 S, Huang C C, et al. An imSroYed Sarticle swarm
oStimization algorithm. ASSlied Mathematics and ComSutation.
200. 19: 21-29
Liu ; <, Liu H and Duan H C. Particle swarm oStimization based on
dynamic niche technology with aSSlications to conceStual design.
AdYances in (ngineering Software. 200. 8(10): 668-66
Percell P % and 5yan M -. Steady state oStimization of gas SiSeline
networN oSeration. In: Proceedings of the 19th PSIG annual meeting,
7ulsa, 2ctober, 198
Peretti A and 7oth P. 2Stimization of a SiSeline for the natural gas
transSort. (uroSean -ournal of 2Serational 5esearch. 1982. 11: 2454
Perez 5 ( and %ehdinan K. Particle swarm aSSroach for structural
design oStimization. ComSuters and Structures. 200. 85: 159-1588
5tos-Mercado 5 =, Kim S and %oyd ( A. (fcient oSeration of natural
gas transmission systems: A networN-based heuristic for cyclic
structures. ComSuters 2Serations 5esearch. 2006. : 22-251
Sun C K, 8raiNul 9, Chan C W, et al. An integrated e[Sert system
oSerations research aSSroach for the oStimization of natural
gas SiSeline oSerations. (ngineering ASSlications of Artificial
Intelligence. 2000. 1: 465-45
9an den %ergh ) and (ngelbrecht A P. A study of Sarticle swarm
oStimization Sarticle traMectories. Information Sciences. 2006. 16:
9-91
Wong P - and Larson 5 (. 2Stimization of natural gas SiSeline system
Yia dynamic Srogramming. I((( 7ransactions on Automatic
Control. 1968a. 5(AC-1): 45-81
Wong P - and Larson 5 (. 2Stimization of tree structured natural gas
transmission networNs. -ournal of Mathematical Analysis and
ASSlications. 1968b. 24(): 61-26
Wu S, 5tos-Mercado 5 =, %oyd ( A, et al. Model rela[ation for
the fuel cost minimization of steady state gas SiSeline networNs.
Mathematical and ComSuter Modelling. 2000. 1: 19-220
<u ; =, Wei = and Hai 7 =. A modied Sarticle swarm oStimization Yia
Sarticle Yisual modeling analysis. ComSuters and Mathematics with
ASSlications. 2009. 5: 2022-2029
(Edited by Sun Yanhua)