You are on page 1of 5

Admittance Matrix Formulation using IEEE

Common Data Format for the Exchange of Solved


Load Flow Data
Fen Jean-nette V. Barlisan1, Nathaniel Dan M. Alfeche2
Electrical and Electronics and Communications Engineering Department, Mindanao State University- Iligan Institute of Technology
Andres Bonifacio Avenue, Tibanga 9200 Iligan City, Philippines
alfeche3109@gmail.com
jeannettebarlisan@yahoo.com

Abstract This document presents a IEEE common format for the


exchange of load flow data to formulate an admittance matrix, a basic
network analysis describing a power system representing the nodal
admittance of buses, by using a high level language. In this activity,
students learned on how to import and export in MATLAB. The
program reads data from Notepad then writes the output of the bus
admittance matrix in another specific notepad.
Index Terms Admittance Matrix Formulation, IEEE Common Data
Format, MATLAB, Import data, Export data

I. IMPLEMENTATION
In this laboratory activity, the tool for making this program is
MATLAB. The process of implementing this code is that data types
codes used are alphanumeric (no special characters), integer and
floating point. The data file has lines of up to 128 characters. The
lines are grouped into sections with section headers. Data items are
entered in specific columns and then terminated with a numeric
flag -999. Bus number, load flow area number, loss zone number,
resistances, reactances are entered in specific columns. The other
column that is not discussed in lectures is considered as dummy
first. With the use of the functions of fopen(), textscan(), fclose()
on importing the input data, it can be formulated. It is expected that
there are changes to develop this program. One of it is on how to
have an input of four characters, 0001, that can be read and
understand that it is still 1.
As shown on the figures below, these are the parts of the code.
Lines 1-2 are commands. Lines 3-4 are variables to initialize a
matrix. Line 6 is for making a loop. If a person wants to continue, it
will start and make an output from the input. Any key was pressed
except from n. Lines 14-19 define the location of the data entries.
Line 27 makes a table in command window. Lines 29-31 make the
variables to initialize. Line 33-37 is for a case to show that the
transformer tap is 0 or 1. Line 40-44 is the formula for off-diagonal
elements. Line 45-58 is the formula of diagonal elements
formation. Line 59-70 is for the formation of the output.

Fig. 1 Reading the data

Fig. 2 Initialize the variables

Fig. 3 Algorithm for transformer tap

Fig. 4 Off-Diagonal Elements Formation

Fig. 5 Diagonal Elements Formation

Fig. 6 Output Formation

Fig. 7 Reset for new input


II.

TESTING

Input data:

Fig. 12 Columns 11 to 15

Fi

Fig. 13 Columns 16 to 20

g. 8 Bus data

Fig. 14 Columns 21 to 25

Fi
g. 9 Branch data
III. RESULTS AND DISCUSSION
Results

Fig. 15 Column 26
Discussion
1.

Fig. 10 Columns 1 to 5

2.

3.

Fig.11 Columns 6 to 10

What programming language/ tool did you use in this


activity and why?
For convenience and numerical computation, we used
MATLAB programming language. It also gives us an
overview on how useful in dealing with matrices.
How did you find the IEEE data format compared to other
format used in load flow study?
IEEE Common data format is very important in
formulating the bus admittance in an iterative method.
Where you able to meet all objectives of this activity?
State all the challenges you have encountered in this
activity and discuss how you come up with the solutions.
We were able to meet all objectives given in this activity.
The challenge encountered is on how to import and export
data in MATLAB. Since from the first laboratory activity,
the input system data is used to input from the command

window. Another hindrance is on how to use the functions


in MATLAB. The students gained additional ideas on how
to gather data accurately.
IV. CONCLUSIONS
The programming tool used to develop is MATLAB to solve bus
admittance matrix in power flow. This activity enables to explore
more functions in the library and to gather additional knowledge
about programming of MATLAB. The IEEE common data format
was used to solve load flow problems because it is important in
iterative method. The other column that is not being discussed in
lecture is considered as a dummy.
REFERENCES
[1]
[2]
[3]
[4]

Hadi Saadat, Power system analysis, 2nd ed., New


McGraw-Hill, 2002.
https://au.mathworks.com/help/matlab/ref/textscan.html
http://au.mathworks.com/help/matlab/ref/fopen.html
http://au.mathworks.com/help/symbolic/mupad_ref/fclose.html

York:

MSU-Iligan Institute of Technology


College of Engineering

EE 151.1 Power System Analysis II Lab


Activity II

Admittance Matrix Formulation using IEEE Common Data Format for


the Exchange of Solved Load Flow Data

In partial fulfillment
Of the requirement in
EE 151.1

Group members
Alfeche, Nathaniel Dan M.
Barlisan, Fen Jean-nette V.

Submitted to:
Prof. Rogelio F. Bersano Jr.

22 September 2016

You might also like