An Efficient Parallel Gauss Seidel Algorithm For The Solution of Load Flow Problems 0
An Efficient Parallel Gauss Seidel Algorithm For The Solution of Load Flow Problems 0
2, April 2007
Abstract: In this paper, a parallel algorithm for solving the load flow problem of large power systems is presented. This
algorithm uses a parallel virtual machine implemented as a distributed system built from readily available PCs. The proposed
algorithm is based on the Gauss-Seidel algorithm usually used in the solution of load flow problems. This algorithm is
parallelized by distributing the bus voltages among a set of processors such that each processor will be working on 1/n of the
bus voltages in the circuit, where n is the number of processors. Since it is virtually impossible to obtain a parallel processing
machine in our country, the algorithm is developed over a distributed system which consists of a network of PCs. Even though
the communication overhead is much more than that in a real parallel machine, the results show that large power systems can
be solved in much less time compared to the time required for sequential algorithm usually used, and that with proper
selection of the number of processors, the execution time is reduced by almost a factor of the number of processors.
Keywords: Parallel algorithm, distributed system, load flow, communication overhead, execution time.
using a large number of power networks generated by index if the corrected voltage at a bus merely replaces
a random network generator program written by the the best previous value as the computations proceed
authors. from bus to bus which results in long computer time.
The rest of this paper is organized as follows. In this study, it is shown that the total execution
Section 2 provides an overview of the Gauss-Seidel time is reduced considerably by using parallel
load flow algorithm. Section 3 presents the proposed processing for the solution of load flow problem since
parallel version of the Gauss-Seidel algorithm. Section each processor (computer) is only responsible for a
4 presents the results of the proposed approach subset of bus voltages and calculation of the voltages
including a comparison to the sequential algorithm. in done concurrently. In the next section, we present
Finally, conclusions are presented in section 5. our version of the parallel Gauss-Seidel algorithm.
From the clients' number connected, the server When the convergence is reached by the clients,
calculates the portion of data each client must each client sends a completion message to server.
work on. For example, if the number of clients is When this message is received from all clients, the
8 and the number of the bus voltages in the server displays the results. At this moment, the
network is 2000 bus, then the number of bus execution is completed.
voltages each client has to work on is 2000/8 =
Network Bus Voltages
250 bus voltages. V1
Client 1
Broadcast
Client 2 Client 3
Broadcast Broadcast
Client 4
Broadcast
range of elements form 1-250, while the second Figure 2. Distribution of the calculation of bus voltages among
will work over 251-500, and so on. several clients.
Execution Time
800 140
Execution time
120
600
100
400 80
200 60
40
0
20
0 5 10 15 20 25
0
Number of Computers 0 5 10 15 20
Figure 3. Execution time (s) versus the number of clients for 1000 Number of Computers
bus networks.
Figure 5. Execution time (s) versus the number of clients for 500
bus networks.
Speedup for 1000 Node Circuits
10
18 9
16 8
14
7
Speedup
12
Speedup 6
10
5
8
4
6
4 3
2 2
0 1
0 5 10 15 20 25 0
Number of Computers 0 5 10 15 20
Number of Computers
Figure 4. Speedup versus number of clients for 1000 bus networks.
Figure 6. Speedup versus the number of clients for 500 bus
networks.
Figure 5 and 6, respectively, show the execution
time and the speedup for networks of 500 buses versus
the number of computers. It can be seen that as the 5. Conclusion
number of computers is increased beyond 12, the In this study, a parallel algorithm of load flow
execution time starts to increase. Such result is calculation using Gauss-Seidel method is realized. This
expected because the number of buses in the power algorithm is based on the distribution of the
networks is relatively small (500) and hence a small calculations of the bus voltages among several clients
number of computers (less than 10) will be needed. operating in parallel. The parallel processing is
Increasing the number beyond that value will result in emulated by a distributed system composed of PCs
high communication overhead compared to the interconnected via LAN. The proposed algorithm was
computation time of the bus voltages. Consequently, tested on several test power networks and compared
the suggested algorithm is effective for networks with with the sequential algorithm usually used.
a medium number of buses between 200 and 1000 The obtained results show that the execution time of
when using a reasonable number of clients in order not the parallel algorithm has been considerably reduced in
to increase the communication overhead as compared comparison with the execution time of the sequential
to the computation time of the bus voltages. algorithm for power networks of large number of
From studying these results, it is clear that for large buses. The amount of communication overhead
power systems the suggested algorithm is effective. becomes insignificant as compared to the processing
This algorithm reduced the execution time time even though it is based on LAN communication.
considerably compared with the sequential algorithm The proposed parallel algorithm which has been
usually used. The amount of communication overhead implemented using distributed processing is an
becomes insignificant as compared to the processing efficient algorithm and is recommended by the authors
time when the size of the power circuit is considerably in the calculation of load flow for the networks with
large and a reasonable number of computers, e. g., 5- large number of buses.
20, is used.
152 The International Arab Journal of Information Technology, Vol. 4, No. 2, April 2007