You are on page 1of 4

POWER SYSTEM ANALYSIS II

Activity No. 2
Admittance Matrix Formulation using IEEE
Common Data Format for the Exchange of
Solved Load Flow Data
I.

DELIVERABLES
1. Softcopy of source code and required output text files (.txt).
2. Hardcopy of documentation. Submit in A4 paper, IEEE double-column format.
3. Place all files in an encrypted compressed folder (RAR) and upload it at our class e-group with the
following filename format: SURNAMES_GROUP#_ACT# (e.g. CRUZ-SANTOS_GROUP2_ACT2.rar)

II.

OBJECTIVES
1. To be able to understand common data format used in solving load flow problems.
2. To be able to use MATLAB or other programming tool/language to read and parse data.
3. To be able to develop a program that will formulate the BUS Admittance Matrix using IEEE
formatted data.

III.

DISCUSSION
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. No blank items are allowed, enter zeros instead. Floating
point items should have explicit decimal point. No implicit decimal points are used.
Data type codes:

A - Alphanumeric (no special characters)


I - Integer
F - Floating point

Bus Data
==========
Section start card :
--------------------1st row
Columns 1- 4 -999
2nd row
Columns 1-16 BUS DATA FOLLOWS
3rd row
Columns 1- 4 -999
Bus data cards :
----------------Columns 1- 4 Bus number (I)
Columns 6-17 Name (A) (left justify)
Columns 6-7 Substation code
Columns 8-9 Voltage level(23-230 kV, 11-110 kV, 69-69 kV, 34-34.5 kV, 13-13.2 kV, 6.-6.24 kV)
Columns 10-10 Type of busbar(B-physical busbar, b-virtual busbar)
Columns 11-13 Ckt. number
Columns 19-20 Load flow area number (I) Don't use zero!
Columns 21-23 Loss zone number (I)
Columns 25-26 Type (I)
0 - Unregulated (load, PQ)
1 - Hold MVAR generation within voltage limits, (PQ)
2 - Hold voltage within VAR limits (gen, PV)
3 - Hold voltage and angle (swing, V-Theta) (must always
have one)
1

Columns 28-33 Final voltage, p.u. (F)


Columns 34-40 Final angle, degrees (F)
Columns 41-49 Load MW (F)
Columns 50-58 Load MVAR (F)
Columns 59-67 Generation MW (F)
Columns 68-75 Generation MVAR (F)
Columns 77-83 Base KV (F)
Columns 85-90 Desired volts (pu) (F) (This is desired remote voltage if
this bus is controlling another bus.
Columns 91-98 Maximum MVAR or voltage limit (F)
Columns 99-106 Minimum MVAR or voltage limit (F)
Columns 107-114 Shunt conductance G (per unit) (F)
Columns 115-122 Shunt susceptance B (per unit) (F)
Columns 124-127 Remote controlled bus number
Section end card:
----------------Columns 1- 4 -999
Branch Data
=============
Section start card :
--------------------Columns 1-16 BRANCH DATA FOLLOWS
Branch data cards :
-------------------Columns 1- 4 Tap bus number (I)
For transformers or phase shifters, the side of the model
the non-unity tap is on
Columns 6- 9 Z bus number (I)
For transformers and phase shifters, the side of the model
the device impedance is on.
Columns 11-12 Load flow area (I)
Columns 14-15 Loss zone (I)
Column 17 Circuit (I) (Use 1 for single lines)
Column 19 Type (I)
0 - Transmission line
1 - Fixed tap
2 - Variable tap for voltage control (TCUL, LTC)
3 - Variable tap (turns ratio) for MVAR control
4 - Variable phase angle for MW control (phase shifter)
Columns 20-29 Branch resistance R, per unit (F)
Columns 30-40 Branch reactance X, per unit (F) No zero impedance lines
Columns 41-50 Line charging B, per unit (F) (total line charging, +B)
Columns 51-55 Line MVA rating No 1 (F) Left justify!
Columns 57-61 Line MVA rating No 2 (F) Left justify!
Columns 63-67 Line MVA rating No 3 (F) Left justify!
Columns 69-72 Control bus number
Column 74 Side (I)
0 - Controlled bus is one of the terminals
1 - Controlled bus is near the tap side
2 - Controlled bus is near the impedance side (Z bus)
Columns 77-82 Transformer final turns ratio (F)
Columns 84-90 Transformer (phase shifter) final angle (F)
Columns 91-97 Minimum tap or phase shift (F)
Columns 98-104 Maximum tap or phase shift (F)
Columns 106-111 Step size (F)
2

Columns 113-119 Minimum voltage, MVAR or MW limit (F)


Columns 120-126 Maximum voltage, MVAR or MW limit (F)

Section end card:


----------------Columns 1- 4 -999
SAMPLE DATA:
-999
TITLE HERE
-999
BUSDATA
0001 SS34B001 01001 03 1.02500.0000051.00000041.0000000.00000000.000000 34.0000 1.02500.0000000.0000000.0000000.040000 0000
0002 SS34B001 01001 02 1.02000.0000022.00000015.00000079.0000000.000000 34.0000 1.0200250.000040.000000.0000000.000000 0000
0003 SS34B001 01001 02 1.02500.0000064.00000050.00000020.0000000.000000 34.0000 1.0250150.000040.000000.0000000.000000 0000
0004 SS34B001 01001 02 1.05000.0000025.00000010.000000100.000000.000000 34.0000 1.050080.0000040.000000.0000000.020000 0000
0005 SS34B001 01001 02 1.04500.0000050.00000030.000000300.000000.000000 34.0000 1.0450160.000040.000000.0000000.050000 0000
0006 SS34B001 01001 00 1.00000.0000076.00000029.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.020000 0000
0007 SS34B001 01001 00 1.00000.000000.00000000.00000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0008 SS34B001 01001 00 1.00000.000000.00000000.00000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0009 SS34B001 01001 00 1.00000.0000089.00000050.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0010 SS34B001 01001 00 1.00000.000000.00000000.00000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0011 SS34B001 01001 00 1.00000.0000025.00000015.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.015000 0000
0012 SS34B001 01001 00 1.00000.0000089.00000048.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.020000 0000
0013 SS34B001 01001 00 1.00000.0000031.00000015.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0014 SS34B001 01001 00 1.00000.0000024.00000012.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0015 SS34B001 01001 00 1.00000.0000070.00000031.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.005000 0000
0016 SS34B001 01001 00 1.00000.0000055.00000027.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0017 SS34B001 01001 00 1.00000.0000078.00000038.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0018 SS34B001 01001 00 1.00000.00000153.0000067.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0019 SS34B001 01001 00 1.00000.0000075.00000015.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.050000 0000
0020 SS34B001 01001 00 1.00000.0000048.00000027.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0021 SS34B001 01001 00 1.00000.0000046.00000023.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0022 SS34B001 01001 00 1.00000.0000045.00000022.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0023 SS34B001 01001 00 1.00000.0000025.00000012.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0024 SS34B001 01001 00 1.00000.0000054.00000027.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0025 SS34B001 01001 00 1.00000.0000028.00000013.0000000.00000000.000000 34.0000 1.00000.0000000.0000000.0000000.000000 0000
0026 SS34B001 01001 02 1.01500.0000040.00000020.00000060.0000000.000000 34.0000 1.015050.0000015.000000.0000000.000000 0000
-999
BRANCH DATA
0001 0002 01 01 1 00.000500000.0048000000.060000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0001 0018 01 01 1 00.001300000.0110000000.120000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0002 0003 01 01 1 10.001400000.0513000000.100000001000. 1000. 1000. 0000 0 0.9600 0.000000.000000.00000 0.0000 0.000000.00000
0002 0007 01 01 1 00.010300000.0586000000.036000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0002 0008 01 01 1 00.007400000.0321000000.078000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0002 0013 01 01 1 10.003500000.0967000000.050000001000. 1000. 1000. 0000 0 0.9600 0.000000.000000.00000 0.0000 0.000000.00000
0002 0026 01 01 1 00.032300000.1967000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0003 0013 01 01 1 10.000700000.0054000000.001000001000. 1000. 1000. 0000 0 1.0170 0.000000.000000.00000 0.0000 0.000000.00000
0004 0008 01 01 1 10.000800000.0480000000.000200001000. 1000. 1000. 0000 0 1.0500 0.000000.000000.00000 0.0000 0.000000.00000
0004 0012 01 01 1 10.001600000.0207000000.030000001000. 1000. 1000. 0000 0 1.0500 0.000000.000000.00000 0.0000 0.000000.00000
0005 0006 01 01 1 00.006900000.0300000000.198000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0006 0007 01 01 1 00.005300000.0306000000.002000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0006 0011 01 01 1 00.009700000.0570000000.000200001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0006 0018 01 01 1 00.003700000.0222000000.002400001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0006 0019 01 01 1 10.003500000.0660000000.090000001000. 1000. 1000. 0000 0 0.9500 0.000000.000000.00000 0.0000 0.000000.00000
0006 0021 01 01 1 00.005000000.0900000000.045200001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0007 0008 01 01 1 00.001200000.0069000000.000200001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0007 0009 01 01 1 10.000900000.0429000000.050000001000. 1000. 1000. 0000 0 0.9500 0.000000.000000.00000 0.0000 0.000000.00000
0008 0012 01 01 1 00.002000000.0180000000.040000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0009 0010 01 01 1 00.001000000.0493000000.002000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0010 0012 01 01 1 00.002400000.0132000000.020000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0010 0019 01 01 1 00.054700000.2360000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0010 0020 01 01 1 00.006600000.0160000000.002000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0010 0022 01 01 1 00.006900000.0298000000.010000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0011 0025 01 01 1 00.096000000.2700000000.020000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0011 0026 01 01 1 00.016500000.0970000000.008000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0012 0014 01 01 1 00.032700000.0802000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0012 0015 01 01 1 00.018000000.0598000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0013 0014 01 01 1 00.004600000.0271000000.002000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0013 0015 01 01 1 00.011600000.0061000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0013 0016 01 01 1 00.017900000.0888000000.002000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0014 0015 01 01 1 00.006900000.0382000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0015 0016 01 01 1 00.020900000.0512000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0016 0017 01 01 1 00.099000000.0600000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0016 0020 01 01 1 00.023900000.0585000000.000000001000. 1000. 1000. 0000 0 0.0000 0.000000.000000.00000 0.0000 0.000000.00000

0017 0018 01 01 1 00.003200000.0600000000.076000001000. 1000. 1000. 0000 0


0017 0021 01 01 1 00.229000000.4450000000.000000001000. 1000. 1000. 0000 0
0019 0023 01 01 1 00.030000000.1310000000.000000001000. 1000. 1000. 0000 0
0019 0024 01 01 1 00.030000000.1250000000.004000001000. 1000. 1000. 0000 0
0019 0025 01 01 1 00.119000000.2249000000.008000001000. 1000. 1000. 0000 0
0020 0021 01 01 1 00.065700000.1570000000.000000001000. 1000. 1000. 0000 0
0020 0022 01 01 1 00.015000000.0366000000.000000001000. 1000. 1000. 0000 0
0021 0024 01 01 1 00.047600000.1510000000.000000001000. 1000. 1000. 0000 0
0022 0023 01 01 1 00.029000000.0990000000.000000001000. 1000. 1000. 0000 0
0022 0024 01 01 1 00.031000000.0880000000.000000001000. 1000. 1000. 0000 0
0023 0025 01 01 1 00.098700000.1169800000.000000001000. 1000. 1000. 0000 0
-999
INTERCHANGE DATA
-999
TIE LINE DATA
-999
END OF DATA

IV.

0.0000 0.000000.000000.00000 0.0000 0.000000.00000


0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000
0.0000 0.000000.000000.00000 0.0000 0.000000.00000

PROBLEM SPECIFICATION
1. The input text files should follow the format shown below.
2. The high-level programming language Matlab can be used but not limited to other programming
language such as C/C++, Java, Visual Basic/C++, etc..
3. The documentation should include but not limited to the following sections.
i. Abstract brief summary of the problem and your program
ii. Implementation include a short description of each program module/part
iii. Testing emphasize all assumptions you made in your program.
iv. Results and Discussion
v. Conclusions answer the problem objectives
vi. On the first page/cover page of your documentation, write the boxed statement below (or any
statement of the same effect) and sign.

We certify upon our honor that we solved this activity independently, without asking help
from anybody. We may have, however, consulted published references and reading
materials, and we hereby acknowledge (write proper bibliography) them accordingly. It
took us _______ hours to finish this activity.

___________________
Sign over printed name

V.

___________________
Sign over printed name

DISCUSSION
1. What programming language/tool did you use in this activity and why?
2. How did you find the IEEE data format compared to other format used in Load flow study.
3. Where you able to meet all objectives for this activity? State all the challenges you have
encountered in this activity and discuss how you come up with the solutions.

You might also like