Beruflich Dokumente
Kultur Dokumente
Using LabVIEW
S. Souag*(1), F. Benhamida
F. Z. Gherbi(2) , A. Graa
I.
PGi+jQGi
PG1+jQG1
z1i
INTRODUCTION
Gi
G1
z12
zij
z2j
Pch2+jQch2
Pchj+jQchj
PG2+jQG2
G2
Fig. 1. A simplified diagram of an electrical network
(1)
Pij2 + Qij2
(4)
where Sij is the apparent power transited in line i-j; Sijmax is the
maximum apparent power transited in the line i-j; Pij is the
active power transited in line i-j and Qij is the reactive power
transited in line i-j.
B. Classification of constraints:
These constraints [11] are related to the physical nature of
the power system elements. We distinguish the constraints on
the dependent variables, say security constraint and constraint
on the independent variables limits. These constraints must be
checked at each load balancing and optimization.
Gi
i =1
Ng
Q
i =1
Nc
Pchi PL = 0
Q chi Q L = 0
(2)
i =1
Nc
Gi
III.
(3)
i =1
i=1,,Ng
p1
V1
V1
(5)
Q1
p2 = [ J ] 2
V
2
Q2
...
V2
...
Since thousands of power flow solutions are often executed
for planning or operating study, it was important to find ways
to accelerate this process. The reference [3] is the development
of a technique known as "the fast decoupled Newton method"
(it is often called "decoupled Stott," referring to the first
author).
After simplification of Newton-Raphson method:
pi
= Bik k
Vi
(6)
Qi
= Bik V k
Vi
(7)
= [ B '] 2
V
2
...
...
Q1
V
1
V1
Q2
= [ B "] V 2
V
2
...
...
(10)
(11)
We express the Eq. (6) and Eq. (7) with two matrix equations:
'
P1
V
1 B11
P2
= B21
V 2 ...
...
Q1
V
1 B11
Q2
= B 21
V 2 ...
...
B ik = (1 / xik )
B12
B 22
...
... 1
... 2
... ...
(8)
Bii' =
Bii'' =
B12
B 22
...
... V1
... V 2
... ...
(9)
(13)
xik
rik2 + xik2
(14)
Bik
(15)
k =1
n
k =1
Note that both Eq. (8) and Eq. (9) are based on the same
matrix. These two matrices will be different with the further
simplifications:
1. We simplifies the relationship between p and in Eq.
(8) as follows:
1
xik
Bik" = Bik =
(12)
p1
1
p = [ B ']
2
2
(16)
1
( i k ) and pi =
xik
k = nodes
conected i
p ki
(17)
V.
PROGRAMMING IN LABVIEW
VI.
The system contains 6 buses, bus and lines data for this test
system are shown in Table 1 and 2. To enable a comparison
with [2], we simulated the same system with the Newton
Raphson method in LabVIEW and it is shown in Table 4.
The power flow results in different lines for the 6-bus test
system are listed in Table 3 (left) and the injected real power
are shown in Table 3 (right). The DC load flow results are
compared to results calculated by Newton Raphson method
using LabVIEW by taking losses into account of Table 4. The
latest are more or less consistent with the results calculated
with the DC power flow method which validate our results and
recognize the advantage of the proposed DC power flow with
regard to Newton Raphson in terms of computing time and
power flow evaluation.
VII. CONCLUSION
The importance of studying and evaluation the power flow
in a power system is crucial to obtaining a state of network; for
this purpose, we developed a program based on DC power
flow method and Newton Raphson for solving the power flow
using LabVIEW.
The program has given very satisfactory results, through its
application to solve a test system of 6 buses, which explore the
performance of the algorithm.
The results showed that the differences in power flow
results between the DC power flow and the Newton Raphson
methods are satisfactory, and we compare these results with [3]
which check the validity of this program. Concerning
execution time, the performance is to have good graphical
interface that can easily introduce the data and run computation
to use this results for future works.
type
1
2
3
4
5
6
1
2
2
0
0
0
voltage
Angle
mag
degree
MW
load
Mvar
MW
Generation
Mvar
Qmax
Static
Mvar
1
1
1
1
1
1
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
70.00
70.00
70.00
0.00
0.00
0.00
70.00
70.00
70.00
0.00
50.00
60.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
TABLE II.
From bus
1
1
1
2
2
2
2
3
3
4
5
R(pu)
0
0
0
0
0
0
0
0
0
0
0
X(pu)
0.20
0.20
0.30
0.25
0.10
0.30
0.20
0.26
0.10
0.40
0.30
1/2B
(0)
0
0
0
0
0
0
0
0
0
0
line code
1
1
1
1
1
1
1
1
1
1
1
From bus
To bus
1
1
1
2
2
2
2
3
3
4
5
2
4
5
3
4
5
6
5
6
5
6
25.32836
41.567165
33.104475
1.853709
32.47761
16.218902
24.778139
16.931705
44.922004
4.044774
0.299857
TABLE IV. N-R POWER FLOW RESULTS USING LABVIEW OF 6- BUS TEST SYSTEM
Maximum Power Mismatch = 3.77059e-5, No. of Iterations = 3
Bus
Voltage
Angle
Mag
degree
MW
Load
Mvar
MW
Mvar
Mvar
1
2
3
4
5
6
1.05
1.05
1.07
0.989
0.985
1.004
Total
0.00
-3.67
-4.27
-4.20
-5.28
-5.95
0.00
0.00
0.00
70.00
70.00
70.00
210.00
0.00
0.00
0.00
70.00
70.00
70.00
210.00
107.87
50.00
60.00
0.00
0.00
0.00
217.869
15.96
74.35
98.62
0.00
0.00
0.00
179.93
0.00
0.00
0.00
0.00
0.00
0.00
0.00
REFERENCES
[1]
Generation
Injected
100
50
60
-70
-70
-70