You are on page 1of 3

Introduction to Power Engineering Laboratory

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

or

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).

-1

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

-2

Introduction to Power Engineering Laboratory

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.

-3