You are on page 1of 3

Introduction to Power Engineering Laboratory

Bus Admittance Matrix

Bus Admittance Matrix

1. Objective To write a simple program in MATLAB for the algorithm of bus admittance matrix.

2. Discussion Bus Admittance matrix The node-voltage equation of an n-bus power system can be written in matrix form as

I 1 Y11 Y12 I Y 2 21 Y22 M M M = I i Yi1 Yi1 M M M I n Yn1 Yn 2


or

L Y1i L Y2i M L Yii M L Yni

L Y1n V1 L Y2 n V2 M M L Yin Vi M M L Ynn Vn

(5.1)

Ibus = YbusVbus

(5.2)

Where Ibus is the vector of the injected bus currents. Vbus is the vector of bus voltages measured from the reference node. Ybus is known as the bus admittance matrix. The diagonal element of each node is the sum of admittances connected to it. It is known as the self-admittance or driving point admittance, i.e.,

Yii = yij
j =0

ji

(5.3)

The off-diagonal element is equal to the negative of the admittance between the nodes. It is known as the mutual admittance or transfer admittance, i.e.,

Yij = Y ji = yij

(5.4)

Base on the equations (5.3) and (5.4), the algorithm of bus admittance matrix can be used to build the bus admittance matrix (Ybus).

Fakulti Kejuruteraan Elektrik Kolej Universiti Teknikal Kebangsaan Malaysia

-1

Introduction to Power Engineering Laboratory

Bus Admittance Matrix

3. System Requirement Computer with MATLAB 6 or above installed.

4.0 Procedure 1.0 Launch the MATLAB program.

Figure 1

2.0

Go to FILE NEW M-file.

Figure 2

3.0 4.0

Write a function Y = ynbus (z) for the formation of the bus admittance matrix. z is the line input and contains four columns. The first two columns are the line bus numbers and the remaining columns contain the line resistance and reactance in perunit. The function should return the bus admittance matrix.

5.0

Fakulti Kejuruteraan Elektrik Kolej Universiti Teknikal Kebangsaan Malaysia

-2

Introduction to Power Engineering Laboratory

Bus Admittance Matrix

5. Exercises Use the written function, Y = ynbus(z) to obtain the Ybus of the following power system network:

Q1. You are required to write the Ybus into a text file. (Hint: Use function fprintf )

Figure 3: One-line diagram for Q1

Q2. Assuming a voltage magnitude of 1.0 per-unit at buses 3 and 4, and the series reactances and shunt reactances are expressed in per-unit on a 100 MVA base. You are required to write a Zpu = Sload (va) function to convert the load into the perunit impedance. Then write the Ybus into a text file.

Figure 4: One-line diagram for Q2

Fakulti Kejuruteraan Elektrik Kolej Universiti Teknikal Kebangsaan Malaysia

-3