Beruflich Dokumente
Kultur Dokumente
net/publication/236951209
CITATIONS READS
6 1,480
3 authors, including:
Some of the authors of this publication are also working on these related projects:
NUMERICAL AND EXPERIMENTAL STUDY OF WATER HAMMER IN VISCOELASTIC PIPES View project
All content following this page was uploaded by Berge Djebedjian on 20 May 2014.
ICFDP9-EG-290
ABSTRACT INTRODUCTION
Natural gas is increasingly being used as a pure energy A gas pipeline network is classified as: transmission
source. So it's valuable to reduce its total cost to be affordable network (to transmit gas at high pressure from coastal supplies
for individual customer. In the past, interest was focused on to regional demand points) and distribution network (to
efficient pipe network analysis method regardless of network distribute gas to consumers at low pressure from the regional
cost; so many researches could be found for methods developed demand points). The distribution network differs from the
for network analysis. In contrast, very little researches could be transmission one in its small-diameter pipes, its simplicity as
developed to optimize the design of distribution networks. This, there are no valves, compressors or nozzles, and its operation at
of course, reflects on software developed for the two purposes: low and medium pressures. The main interest in this study is
the analysis and simulation of gas networks and the focused on distribution networks.
optimization purpose. The simulation and analysis of gas networks has focused on
The aim of this work is to develop a computer code that the development of efficient algorithms for the analysis of flow
simulate and optimize gas distribution networks at all pressure and it has been widely studied in the literature, Osiadacz [1] and
ranges, i.e. low, medium and high pressure networks. The aim is Osiadacz and Górecki [2] and Herrán-González et al. [3].
to reduce the network diameter sizes to a minimum value while The gas network optimization can be divided into two main
fulfilling the constraints of maximum link velocity and categories: the optimization of gas transmission pipelines and
minimum node pressure. the optimization of gas distribution networks. The researches
In this code, the analysis of gas distribution networks was mainly focused on gas transmission pipelines optimization due
based on the gradient algorithm which had never presented in to the high cost of equipment (compressor stations, reduction-
gas networks before. In this study, the algorithm was presented valves stations and pipelines), and the low capability of
and gave efficient analysis for any gas network, i.e. at all computers to optimize gas distribution networks.
pressure ranges, at the least time any algorithm can record. The optimization of gas networks means searching,
Optimization of gas distribution networks was presented by the according to a certain objective function, for optimal design
genetic algorithm. The code was applied on low pressure gas parameters, optimal structures for development or optimal
distribution networks and proved its efficiency and robustness. parameters for operation of networks, (Osiadacz [4]).
Therefore, this code was found to be useful at the stage of gas The cost of low and medium pressure networks depends
distribution networks design. mainly on network capital cost, whereas the cost of high
pressure network is determined mainly by mode of operation of
KEYWORDS: compressors. This operating cost of running compressor
Gas Network, Optimization, Genetic Algorithm, Cost, stations represents 25% to 50% of the total company's operating
Steady-state.
PROPOSED STUDY
π
Qi = Di2 vi i = 1,…,l (4)
The main study was concerned with developing a computer 4
program to simulate, analyze, solve and optimize low and where vi = 1 m/s for initiation.
medium pressure gas distribution networks.
Data Structure
Flow Equation The relation between links and nodes is the most important
The pressure drop equations used in the design of gas issue to be established firmly. It's represented through the two
pipelines have several versions, Osiadacz [1] and Coelho and
matrices A 12 and A 10 , so that A 12 matrix represents the
Pinho [24]. The gas flow equations are divided into three
categories corresponding to its pressure region: low-pressure, relationship between demand junctions (matrix rows), and all
medium-pressure and high-pressure. In this study, the Pole’s links (matrix columns), through (1,−1 and 0) numbers. It is "0"
equation for low pressure region (0-75 mbar gauge) was used, if there's no attachment between a link and a junction. It is "1"
[1]: (or "−1") if the link is attached to a definite junction and is
subjected to the junction direction (or the opposite direction).
L After formulation, iteration starts to the model which
p1 − p 2 = 11.7 x 10 3 Q2 (1)
D5 doesn't stop until corrections in flow rates don't exceed a
specified accuracy, or stops with error when exceeds the
where the nodal pressure p is in mbar, D the diameter in mm,
maximum trials.
L the link length in m, and the flow rate Q in m3/h.
Optimization
Modeling
The genetic algorithm (GA), (Holland [22] and Goldberg
The method proposed by Todini and Pilati [21] is for water
[23]), was used as an optimization tool. In contrast of some
distribution networks. In this study, the application of this
other algorithms, the GA approach does not require certain
method was applied for gas networks and it constitutes of, [25]:
restrictive conditions as continuity and differentiability to the
Fig. 1. Flow diagram for the simulation and analysis engine Fig. 2. Flow diagram for the optimization engine
CASE STUDY: LOW-PRESSURE DISTRIBUTION GAS The gas network constraints were: minimum gas pressure at
NETWORK junction was 18 mbar and maximum gas velocity in link was
The distribution gas network comprises 81 junctions, 108 10 m/s. The Pole’s equation as pressure losses formula was used
branches and two sources of 50 mbar in pressure, Figure 3. The in the low-pressure region.
main case study and the parameters of the genetic algorithm are The cost of pipe was estimated by the relationship, [2]:
given in Table 1. This case study is given by Osiadacz and C = 2.05 L D1.3 in which C is the cost in Zlotys (US$ = 2.36
Górecki [2]. The data of nodes (demand or branch nodes) and Zloty, [2]), L the length in meters and D the diameter in inches.
source nodes are given in Tables A1 and A2, respectively, in the They used the continuous optimization method that supposes
Appendix. For source node, the pressure of the network is that any size of diameter is possible; therefore the resulted set of
provided, while for demand nodes the demands flow rates to the diameters is corrected to closest available diameter sizes. In this
nodes are provided and the branching point have zero demand study, the available pipe diameters mentioned in [2] were used
flow rate. The total demand is 1482.56 m3/hr. The data of and the corresponding costs per meter length are mentioned in
branches are given in Table A3. Table A4.
Osiadacz and Górecki [2] simulated this case by SimNet
software and optimized it by nonlinear programming.
Diameter, in.
approach were compared to the results obtained by SimNet,
Osiadacz and Górecki [2] and they were almost the same as
there was units' conversion between the results of Osiadacz and 8
Górecki [2] and the results of proposed study.
The GAGAGas.net software released the network analysis
for the already designed network, and the optimization data for 4
the network which fulfilled the required constraints. The
simulation and optimization analyses are discussed in the
following sections. 0
0 10 20 30 40 50 60 70 80 90 100 110
Simulation Analysis
The simulation analysis results illustrated in Tables A5 and Branch ID
A6 for the nodes and branches respectively, show that many Fig. 4. Comparison between pipes diameters before
flow velocities in links are very low that indicates using larger (designed) and after optimization for the case study
pipe sizes than suitable. This made the total capital cost of the
network to be expensive, so optimizing this network sizing was 50
required. 45
Optimization Analysis Pressure, mbar 40
A comparison between the existing design and optimized 35
network was held, finding out how the optimization action was 30
marking an outstanding role in reducing the network cost and
assigning the most suitable diameter. The comparison between 25
the nodal pressures and flow velocities before and after 20 Minimum Pressure
Diameter, in.
for the optimal network obtained by the software is 10 inches.
Osiadacz and Górecki [2] obtained an optimal cost of
$ 54,350.580 whereas the present study found an optimal cost 8
of $ 36,200.39457. The new found optimal cost is 66.6% of
their optimal cost.
Figure 8 shows the best, average, and worst fitnesses for 4
each fifth increasing generation for clarity. It should be noted
that the best fitness is always feasible solution but for the
average and worst solutions, they may be feasible and may be 0
not. The code doesn’t deviates between feasible and infeasible 0 10 20 30 40 50 60 70 80 90 100 110
solution automatically. Branch ID
Figure 9 illustrates the best solution for each generation
which resulted by taking the minimum costs from Fig. 8 and Fig. 7. Comparison between optimal diameters obtained by
disregarding the higher costs. This network containing 108 Osiadacz and Górecki [2] and present study
pipes and with 20 available commercial pipe sizes has a total
solution space of 20108 different network designs. The GA
200000
optimization technique found the best solution $ 36,200.39457
Best Fitness
at generation no. 321 which is very small fraction of the total Average Fitness
search space. The original (design) cost is $ 98,963.614; 150000
Worst Fitness
original cost.
The optimization run time was 16 minutes and obtained by 100000
a computer with Intel Pentium 4 (2 GHz) processor and
256 MB of Ram. Generally, there is strong computing time
saving compared to those obtained with other optimization 50000
techniques.
CONCLUSIONS 0
0 100 200 300 400 500
This study presents the optimization of gas distribution
networks to determine the optimal diameter for each pipe in Generation No.
order to minimize the investment cost. The optimization of gas Fig. 8. Best, average and worst fitnesses for the case study
distribution network is computationally complex as the
constraints of maximum flow velocity and minimum required
nodal pressure should be fulfilled. The optimal diameters of 200000
pipes were chosen from available size diameters. The gradient Best Fitness
algorithm was used for the network analysis whereas the real-
coded genetic algorithm for the optimization. The following 150000
conclusions can be deduced:
Cost, $
Source ID 159 53
Pressure (mbar) 50.00 50.00
Branch Start End Length Diameter Branch Start End Length Diameter
ID Node Node (m) (in.) ID Node Node (m) (in.)
1 100 101 73.2 6 41 138 149 118.9 8
2 101 102 139.0 6 42 139 140 221.9 4
3 102 103 214.0 6 43 139 150 103.9 4
4 103 104 199.0 6 44 140 141 15.8 6
5 107 101 13.1 4 45 141 144 111.9 6
6 107 108 135.9 6 46 144 154 36.0 6
7 107 116 20.1 4 47 145 146 89.9 3
8 108 102 22.9 6 48 145 147 73.2 4
9 108 109 216.1 6 49 147 148 67.1 4
10 108 117 81.1 8 50 148 157 95.1 4
11 109 110 199.9 6 51 149 150 252.1 6
12 109 118 92.0 4 52 149 160 152.1 12
13 110 111 10.1 8 53 149 161 121.9 6
14 110 121 98.1 8 54 150 151 89.9 4
15 111 104 18.0 8 55 150 152 150.0 6
16 111 122 96.0 4 56 152 153 70.1 6
17 114 115 78.0 6 57 153 154 88.1 6
18 114 131 70.1 6 58 154 155 84.1 6
19 115 116 75.9 4 59 156 157 98.1 3
20 115 136 153.0 4 60 157 158 67.1 3
21 116 132 93.9 4 61 159 160 56.1 12
22 117 118 199.9 3 62 162 161 50.0 4
23 117 134 46.9 8 63 48 49 56.1 12
24 118 119 139.9 3 64 48 64 15.8 6
25 118 139 100.0 4 65 49 50 93.9 12
26 119 121 78.9 3 66 50 51 249.0 12
27 121 122 7.0 6 67 51 52 281.0 12
28 121 140 93.0 8 68 52 53 31.1 16
29 131 135 63.1 6 69 52 54 120.1 12
30 132 133 60.0 3 70 54 55 18.9 12
31 132 137 96.9 4 71 55 98 270.1 8
32 133 134 70.1 3 72 64 65 168.9 6
33 133 158 267.9 3 73 64 69 21.9 6
34 134 138 53.0 8 74 65 66 78.0 5
35 135 136 110.0 3 75 66 67 160.0 6
36 135 145 100.9 4 76 66 83 220.1 4
37 136 137 60.0 3 77 67 72 78.0 12
38 136 147 96.0 4 78 69 78 70.1 6
39 137 148 92.0 4 79 69 80 175.0 4
40 138 139 223.1 4 80 70 81 57.0 4
Branch Start End Length Diameter Branch Start End Length Diameter
ID Node Node (m) (in.) ID Node Node (m) (in.)
81 71 72 88.1 4 95 85 86 163.1 3
82 72 73 189.9 4 96 85 96 89.9 4
83 72 83 91.1 12 97 86 97 86.9 4
84 73 74 160.0 4 98 92 99 92.0 6
85 73 85 93.9 4 99 93 94 61.0 4
86 74 86 86.9 4 100 94 100 110.0 4
87 78 79 68.9 3 101 94 80 78.0 4
88 78 92 98.1 6 102 95 102 84.1 12
89 80 101 161.8 4 103 95 96 210.0 3
90 80 81 78.0 4 104 96 103 82.0 4
91 81 82 181.1 4 105 96 97 167.9 3
92 83 84 20.1 12 106 97 98 14.0 3
93 84 85 187.1 4 107 98 104 70.1 8
94 84 95 82.0 12 108 99 100 89.9 6
Design Optimization
Branch D
ID Diameter Velocity Diameter Velocity (in.)
(in.) (m/s) (in.) (m/s)
81 4 0.2288 0.75 4.8921 -3.25
82 4 0.8486 1.25 3.1090 -2.75
83 12 0.0045 2.5 5.0192 -9.5
84 4 0.0395 1 1.2230 -3
85 4 0.0500 1 7.8109 -3
86 4 0.4834 1 8.4313 -3
87 3 0.2779 1.25 2.5000 -1.75
88 6 2.1665 2.5 9.2190 -3.5
89 4 0.3243 1 2.9010 -3
90 4 1.6365 2 6.5459 -2
91 4 0.6875 1.25 7.0425 -2.75
92 12 0.0195 1 9.2198 -11
93 4 0.8557 1 0.8221 -3
94 12 0.2879 2 9.3290 -10
95 3 0.3092 1.25 8.8980 -1.75
96 4 0.7903 2 6.8798 -2
97 4 1.5419 2 9.3330 -2
98 6 2.0399 2.5 8.8910 -3.5
99 4 0.1655 1 2.6500 -3
100 4 0.8321 1 5.4920 -3
101 4 0.2107 1 4.4401 -3
102 12 0.4573 8 8.5145 -4
103 3 0.5448 2 7.9982 -1
104 4 1.2549 5 7.9371 1
105 3 0.8746 2 6.4306 -1
106 3 5.0788 3 8.1290 0
107 8 2.6008 6 9.8925 -2
108 6 1.9060 4 6.8290 -2