Está en la página 1de 8

Date:

Ex.No.:

Page No:

G1

G2
T2

T1

0.2 5+ 0.7j

0.1+0.4j

0 .1

55
+0.

0.15+0.6j

0.1+0 .35j

Line No. Starting Bus Ending Bus


1
1
2
2
2
3
3
2
4
4
3
4
5
4
1

Series Line Impedance


0.1+0.4j
0.15+0.6j
0.18+0.55j
0.1+0.35j
0.25+0.7j

Line Changing Admittance


0.15j
0.02j
0.018j
0.012j
0.03j

Date:
Ex.No.:

Page No:

FORMATION OF Z-BUS BY THE METHOD OF INSPECTION

AIM:
To develop a program to obtain bus impedance matrix Z-bus of the given power
system.
THEORY:
Z-bus matrix is an important matrix used in different kinds of power system study
such as short circuit study, load flow study etc.
In short circuit analysis the generator uses transformer impedance must be taken
into account. In quality analysis the two-short element are neglected by forming the z-bus
matrix which is used to compute the voltage distribution factor. This can be largely
obtained by reversing the y-bus formed by resection method or by analytical method.
Taking inverse of the y-bus for large system in time conditioning managing modification
in the system requires whole process to be repeated to voltage changes in the system. In
such cases z-bus computed to z-bus solving algorithm.
ALGORITHM:
Step 1: Read the values such as number of lines, number of buses and line data, generator
data and transformer data.
Step 2: Initialize y-bus matrix y-bus[i] [j] =complex.
Step 3: Compute y-bus matrix by considering only line data.
Step 4: Modifies the y-bus matrix by adding the transformer and the generator admittance
to the respected diagonal elements for y-bus matrix.
Step 5: Compute the z-bus matrix by the modified y-bus matrix.
Step 6: Check the iteration by multiplying modified y-bus matrix to z-bus and check
whether the resulting matrix is a unit matrix or not.
Step 7: Print the z-bus matrix.
HAND CALCULATION:
Step1: Read the line data.
Step2: Initialize y-bus data. y-bus[i] [j] =complex (0.0, 0.0).
Step3: Compute y-bus matrix.
Y11 = (1/Z12) + (1/Z14) + Yc12 + Yc14
= (1/ (0.1+0.4j)) + (1/ (0.1+0.25j)) + 0.0075j + 0.006j
= 1.3430 - 4.981j
Y22 = (1/Z23) + (1/Z24) + (1/Z21) + Yc23 + Yc24 + Y21
= (1/ (0.15+0.6j)) + (1/ (0.25+0.7j)) + (1/ (0.1+0.4j)) + 0.01j + 0.015j + 0.0075j

Date:
Ex.No.:

Page No:

START

READ No. OF BUSES; No. OF


LINES AND LINE DATAS

INTIALISE THE Y-BUS MATRIX

CONSIDER LINE I = 1

i = SB(1); I = EB(1)

Y(i,j) = Y(1,I) + YSERIES(1) + 0.5 YSERIES(1)


Y(i,j) = Y(I,1) + YSERIES(i) + 0.5 YSERIES(1)
Y(i,j) = YSERIES(i)
Y(I,1) = Y(I,j)

IS I = NL

I=I+1

POINT Y -BUS
COMPUTE Z-BUS BY
INVERTING MODIFIED YBUS
PRINT THE RESULT

STOP

Date:
Ex.No.:

Page No:

= 1.4329 - 5.1562j
Y33 = (1/Z34) + (1/Z32) + Y34 + Y32
= (1/ (0.018+0.55j)) + (1/ (0.15+0.6j)) + 0.009j + 0.01j
= 0.926 - 3.1919j
Y13 = Y31= 0.0006 + 0.00j
Y23 = -1/ (0.15 + 0.6j)
= -0.8922 + 1.5686j
Y14 = Y41 = -1/ (0.1 + 0.35j)
= 0.7547 + 2.64j
Y24 = Y42 = -1/ (0.2 + 0.7j)
= -0.425 + 1.2670j
Y34 = Y43 = -1/ (0.18 + 0.55j)
= -0.5375 + 1.6423j
Y44 = (1/Z34) + (1/Z41) + (1/Z42) + Y34 + Y41 + Y42
= 1/ (0.18 + 0.55j) + 1/ (0.1 + 0.359j) + 1/ (0.25 + 0.1j) + 0.089j + 0.006j + 0.015j
Step4:
Modified Y-matrix
Adding the transformation and the generator admittance to the respective diagonal elements Y-bus
matrix is formed as follows.
Y11mod = Y11old + 1/ (ZT4 + ZT1)
= 1.3430 - 4.981j + 1/ (0.25 + 0.08j)
= 1.3430 8.5524j
Y22mod = Y22old +1/(ZT2+ZT3)
=1.4329-8.0132j
Y33mod=Y33old+0.9296-3.1919j
Y44mod=Y44old+1.7447-5.5208j
The modified Y-bus matrix is as follows
1.3430-8.5524j
-0.588+2.35j
-0.58+2.35j
1.432-8.013j
0.00+0.00j
-0.89+5.68j
-0.75+2.6145j
-0.452+1.267j

0.00+0.00j
-0.39+1.58j
0.929+3.19j
-0.537+1.54j

-0.75+2.64j
-0.45+1.26j
-0.53+1.64j
1.744+5.250j

Date:
Ex.No.:

Page No:

THE ENTERED INPUT DATAS ARE AS FOLLOWS


the number of buses
4
the number of lines
5
the number of starting buses
[1 2 3 4 4]
the number of ending buses
[2 3 4 1 2]
enter the details of series line impedance
[0 0.1+0.4j 0 -0.25-0.7j;-0.1-0.4j 0 0.15+0.6j 0.18+0.55j;0 -0.15-0.6j 0
0.1+0.35j;0.25+0.7j -0.18-0.55j -0.1-0.35j 0]
enter the detail of line impedance
[0 0.15j 0 -0.03j;-0.15j 0 0.02j 0.018j;0 -0.02j 0 0.012j;0.03j -0.018j -0.012j 0]
THE MODIFIED Y - BUS IS AS FOLLOWS
ybus =
0.4525 - 1.2370i
0.5882 - 2.3529i
0
-0.4525 + 1.2670i
0.5882 - 2.3529i -0.5375 + 1.6243i 0.3922 - 1.5686i 0.5375 - 1.6423i
0
0.3922 - 1.5686i -0.7547 + 2.6295i 0.7547 - 2.6415i
-0.4525 + 1.2670i 0.5375 - 1.6423i 0.7547 - 2.6415i 0.7547 - 2.6295i
THE CHECK MATRIX OBTAINED IS AS FOLLOWS
chkmat =
1.0000 - 0.0000i
0.0000 + 0.0000i
-0.0000
-0.0000

0.0000 + 0.0000i
1.0000 + 0.0000i
-0.0000 - 0.0000i
0 + 0.0000i

0.0000 - 0.0000i -0.0000 - 0.0000i


0.0000 + 0.0000i 0.0000 - 0.0000i
1.0000
0.0000 + 0.0000i
0 + 0.0000i
1.0000 - 0.0000i

THE Z-BUS MATRIX IS AS FOLLOWS


zbus =
0.0493 + 0.2054i
0.0712 + 0.2338i
0.0124 + 0.0446i
-0.0342 - 0.0917i

Step5:

0.0712 + 0.2338i
-0.0173 - 0.0725i
0.0127 + 0.0604i
0.0241 + 0.1025i

0.0124 + 0.0446i
0.0127 + 0.0604i
-0.0466 - 0.1654i
0.0451 + 0.1499i

-0.0342 - 0.0917i
0.0241 + 0.1025i
0.0451 + 0.1499i
0.0286 + 0.0895i

Date:
Ex.No.:

0.0069+0.195j
-0.0084+0.11j
-0.0084+0.11j
0.012+0.158j

Page No:

-0.008+0.011j
0.11+0.217j
0.006+0.1881j
-0.007+0.159j

-0.043+0.13j
0.0064+0.88j
0.1008+0.517j
0.282+0.26j

0.012+0.138j
-0.007+0.159j
0.282+0.263j
0.060+3.55j

Step6:
Verify check matrix
Check matrix=[YBUSMOD]*[ZBUS]
1.00+4.16j
2.77e-16+2.77e-17
2.22e-16+5.5e-17j
2.22e-16+5.55e-17j

1.38+4.16e-17j
0.00-0.378e-19j
1.00+2.77e-17
5.511e-17-1.38e-17
-16
-17
2.22e +4.16e j
1.00-5.5e-17j
2.20e-16+0.00j
0.00+0.00j

0.00+0.00j
-1.1e-16-0.00j
0.00-5.5e-17j
1.00+0.00j

PROGRAM:
clear all;
%CLEARS THE CONTENT OF MEMORY
clc
% CLEARS THE SCREEN
disp('
THE ENTERED INPUT DATAS ARE AS FOLLOWS
nb=input('the number of buses\n');
nl=input('the number of lines\n');
sb=input('the number of starting buses\n');
eb=input('the number of ending buses\n');
sli=input('enter the details of series line impedance\n');
lca=input('enter the detail of line impedance\n');
disp('
THE EXECUTION OF MAIN PROGRAM
')
for m=1:nb
for n=1:nb
if m==n||m~=n
if sli(m,n)==0
n=n+1;
else
y(m,n)=+sli(m,n)^-1+lca(m,n);
y(n,n)=+sli(m,n)^-1+lca(m,n);
y(m,n)=-sli(m,n)^-1;
y(n,m)=y(m,n);
end
end
end
end
disp('
THE MODIFIED Y - BUS IS AS FOLLOWS
')
ybus=y
zbus=ybus^-1;
disp('
THE CHECK MATRIX OBTAINED IS AS FOLLOWS
chkmat=zbus*ybus

')

')

Date:
Ex.No.:

Page No:

Date:
Ex.No.:

dis('
zbus=zbus

Page No:

The Z-bus Matrix is as follows

')

RESULT:
The program has been developed to compute the Z-bus matrix and thus results are
verified by multiplying the modified Y-bus matrix and Z-bus matrix to get unit matrix.

También podría gustarte