# Date

:
Ex.No.:

Page No:

G1

G2
T2

T1

1

2

0.2 5+ 0.7j

0.1+0.4j

0 .1

8

55
+0.

j

0.15+0.6j

0.1+0 .35j

4

Line No. Starting Bus Ending Bus
1
1
2
2
2
3
3
2
4
4
3
4
5
4
1

3

Series Line Impedance
0.1+0.4j
0.15+0.6j
0.18+0.55j
0.1+0.35j
0.25+0.7j

0.15j
0.02j
0.018j
0.012j
0.03j

In short circuit analysis the generator uses transformer impedance must be taken into account.3430 .1+0. Step 7: Print the z-bus matrix. Step 2: Initialize y-bus matrix y-bus[i] [j] =complex. This can be largely obtained by reversing the y-bus formed by resection method or by analytical method.6j)) + (1/ (0.25j)) + 0.1+0. 0.No. Y11 = (1/Z12) + (1/Z14) + Yc12 + Yc14 = (1/ (0. Step 5: Compute the z-bus matrix by the modified y-bus matrix.: 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. Step2: Initialize y-bus data.01j + 0.0. y-bus[i] [j] =complex (0. 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.4j)) + 0. In quality analysis the two-short element are neglected by forming the z-bus matrix which is used to compute the voltage distribution factor.0075j .981j Y22 = (1/Z23) + (1/Z24) + (1/Z21) + Yc23 + Yc24 + Y21 = (1/ (0.1+0.4j)) + (1/ (0. ALGORITHM: Step 1: Read the values such as number of lines.0). load flow study etc.15+0. Step3: Compute y-bus matrix. Step 4: Modifies the y-bus matrix by adding the transformer and the generator admittance to the respected diagonal elements for y-bus matrix.Date: Ex. generator data and transformer data.006j = 1.015j + 0. HAND CALCULATION: Step1: Read the line data.25+0.0075j + 0. Step 3: Compute y-bus matrix by considering only line data.7j)) + (1/ (0. number of buses and line data. In such cases z-bus computed to z-bus solving algorithm.4. 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. THEORY: Z-bus matrix is an important matrix used in different kinds of power system study such as short circuit study.

j) = YSERIES(i) Y(I.No.I) + YSERIES(1) + 0.5 YSERIES(1) Y(i.1) + YSERIES(i) + 0.Date: Ex. OF LINES AND LINE DATAS INTIALISE THE Y-BUS MATRIX CONSIDER LINE I = 1 i = SB(1).j) = Y(1.j) = Y(I.: Page No: START READ No. I = EB(1) Y(i.1) = Y(I. No. OF BUSES.j) IS I = NL I=I+1 POINT Y -BUS COMPUTE Z-BUS BY INVERTING MODIFIED YBUS PRINT THE RESULT STOP .5 YSERIES(1) Y(i.

6j) = -0.: Page No: = 1.No.68j -0.1562j Y33 = (1/Z34) + (1/Z32) + Y34 + Y32 = (1/ (0.25 + 0.452+1.55j) = -0.64j Y24 = Y42 = -1/ (0.55j)) + (1/ (0.7j) = -0.432-8.08j) = 1.25 + 0.6423j Y44 = (1/Z34) + (1/Z41) + (1/Z42) + Y34 + Y41 + Y42 = 1/ (0.58j 0.7547 + 2.00j Y23 = -1/ (0.15+0.5375 + 1.89+5.19j -0.01j = 0.7447-5.9296-3.35j) = 0.55j) + 1/ (0.006j + 0.75+2.929+3.1 + 0.5208j The modified Y-bus matrix is as follows 1.4.5524j -0.5686j Y14 = Y41 = -1/ (0.18 + 0.6145j -0.537+1.3430 – 8.1919j Y44mod=Y44old+1.089j + 0.2 + 0.588+2.35j -0.1919j Y13 = Y31= 0.1j) + 0.64j 1.018+0.744+5.54j -0.3.5524j Y22mod = Y22old +1/(ZT2+ZT3) =1.926 .45+1.00+0.8922 + 1.35j 1.18 + 0.53+1.3430 .009j + 0.0006 + 0.981j + 1/ (0. Y11mod = Y11old + 1/ (ZT4 + ZT1) = 1.64j -0.4329-8.015j Step4: Modified Y-matrix Adding the transformation and the generator admittance to the respective diagonal elements Y-bus matrix is formed as follows.75+2.5.39+1.58+2.00j -0.267j 0.359j) + 1/ (0.250j .Date: Ex.26j -0.013j 0.2670j Y34 = Y43 = -1/ (0.6j)) + 0.0132j Y33mod=Y33old+0.00j -0.4329 .425 + 1.00+0.3430-8.1 + 0.15 + 0.

0000i -0.2.0127 + 0.0342 .55j -0.0.5882 .1025i 0.0.0000 .1-0.2670i 0.0241 + 0.0604i 0.BUS IS AS FOLLOWS ybus = 0.0725i 0.0241 + 0.6423i 0 0.7547 .35j.0712 + 0.5686i 0.1499i -0.0000i 0 + 0.3922 .18+0.0.No.0.0493 + 0.18-0.2338i -0.5375 .0895i .0000 + 0.0000i 0.0000 0.0.1025i 0.2370i 0.0000i 0.0604i -0.2.1.2.1+0.0712 + 0.0000 .7547 + 2.018j.0917i Step5: 0.4j 0 0.: 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.0342 .0124 + 0.0000 .0000 + 0.2054i 0.15+0.0451 + 0.3922 .0.4525 .25-0.0 -0.7547 .1.2338i 0.5882 .2.012j.0917i 0.0000 0.6415i 0.7547 .0000i THE Z-BUS MATRIX IS AS FOLLOWS zbus = 0.7j -0.0000i 0.1+0.1.0000 + 0.0000i 0.3529i -0.0000 .0446i 0.1.03j.6415i -0.0.0000 + 0.0000 .-0.Date: Ex.2670i 0.0173 .0000 + 0.0466 .1499i 0.3529i 0 -0.1.0000i 1.15-0.0000 .7j.4525 + 1.0.6j 0 0.55j.0000i -0.-0.012j 0] THE MODIFIED Y .25+0.15j 0 0.1-0.0446i -0.02j 0.0.6243i 0.15j 0 -0.4j 0 -0.0 -0.0000 -0.0286 + 0.0000i 0 + 0.5686i -0.0124 + 0.02j 0 0.0000i 1.6295i THE CHECK MATRIX OBTAINED IS AS FOLLOWS chkmat = 1.0451 + 0.03j -0.4525 + 1.0000i -0.0.018j -0.35j 0] enter the detail of line impedance [0 0.5375 + 1.6423i 0.0.6295i 0.1654i 0.6j 0.0127 + 0.2.5375 .0000i 1.0.

n)=-sli(m.20e-16+0.BUS IS AS FOLLOWS ') ybus=y zbus=ybus^-1.006+0.00-0.n)^-1+lca(m.011j 0.00j PROGRAM: clear all.1881j -0.378e-19j 1. disp(' THE CHECK MATRIX OBTAINED IS AS FOLLOWS chkmat=zbus*ybus ') ') .012+0.77e-17 2.77e-17 5.n).38+4.11j -0.007+0.5e-17j 2. eb=input('the number of ending buses\n').m)=y(m.0084+0.55e-17j 1.1008+0.5e-17j 2.77e-16+2.043+0.Date: Ex.217j 0.5e-17j 1. lca=input('enter the detail of line impedance\n'). y(n. else y(m.11+0.16j 2.195j -0.00-5. sb=input('the number of starting buses\n').00+2. end end end end disp(' THE MODIFIED Y .00+0.n)==0 n=n+1.00+0.n)=+sli(m.00j 0.00j 0.00j -1.n).22e-16+5.16e-17j 0.008+0. sli=input('enter the details of series line impedance\n').00+4.263j 0.No.00-5.007+0.282+0.0069+0.22e-16+5.159j -0. %CLEARS THE CONTENT OF MEMORY clc % CLEARS THE SCREEN disp(' THE ENTERED INPUT DATAS ARE AS FOLLOWS nb=input('the number of buses\n').282+0.138j -0.00j 0.22e +4.55j Step6: Verify check matrix Check matrix=[YBUSMOD]*[ZBUS] 1. disp(' THE EXECUTION OF MAIN PROGRAM ') for m=1:nb for n=1:nb if m==n||m~=n if sli(m.517j 0. nl=input('the number of lines\n'). y(m.13j 0.n)^-1.11j 0.00+0.n)^-1+lca(m.n)=+sli(m.012+0.38e-17 -16 -17 2.159j 0.0064+0.511e-17-1. y(n.0084+0.n).: 0.16e j 1.88j 0.158j Page No: -0.060+3.26j 0.1e-16-0.

Date: Ex.: Page No: .No.

Date: Ex.: 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. .No.