Professional Documents
Culture Documents
Science
Learning Outcomes
The purpose of this practical is to understand impact of loads, generators, transmission lines (and it’s
environmental effects) using MATPOWER.
MATPOWER is simply a collection of MATLAB M-files for solving power flow and optimal power flow
(OPF) problems. It is intended as a simulation tool for researchers and educators that is easy to use
and modify. MATPOWER is designed to give the best performance possible while keeping the code
simple to understand and modify. The software can be found and installed at the following link:
http://www.pserc.cornell.edu/matpower/
Installation
Download MATPOWER. You should end up with a file named matpowerXXX.zip, where XXX depends
on the version of MATPOWER.
Unzip the downloaded file. Move the resulting matpowerXXX directory to the location of your
choice. These files should not need to be modified, so it is recommended that they be kept separate
from your own code. Let <MATPOWER> denote the path to this directory.
At the MATLAB/OCTAVE prompt, type 'test_matpower' (without the quotes) to run the test suite
and verify that MATPOWER is properly installed and functioning.
Running MATPOWER
To run a simple Newton power flow on the 9-bus system specified in the file case9.m, with the
default algorithm options, at the MATLAB/OCTAVE prompt, type:
runpf('case9')
runopf('case9')
EXERCISES
For the exercises, the academic paper “Investigating a ranking of loads in avoiding potential power
system outages” will serve as a guide and the modified 5-bus PJM example (‘case5’) and the 14 bus
system (‘case14’) in MATPOWER will be used as test systems.
Fig. 1. One line diagram of the modified 5-bus PJM example
2. Determine the two most important loads/ buses in Case 5. Give a ranking of the five buses in
order of importance via PTDF.
Joint Impact of Loads on Generator and Line Outages (PTDF & LMP’s)
1. Calculate PTDF for the 14 bus system.
2. Take out the first three generators one at a time and calculate PTDF again. Is there a change
in the PTDF values? Can you rationalize the results you get?
Post Report
The post-report must include answers to the exercises and discussions. Practical reports are to be
submitted on Ulink before Friday 11th of September 2020 before 23h59. Late submissions attract a
daily 20% penalty.