MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages
Feb 02, 2016
MATLAB SIMULINK WORKSHOP
Application for Power System Analysis using 3rd party MATLAB
packages
MATPOWER
MATPower is a freeware 3rd party Matlab package written with the objective of solving power flow iterations
Designers of MATPower:Ray Zimmerman
Deqiang (David) Gan
Both are researchers from the Power System Engineering Research Centre (PSERC) based in the US
What is MATPower
It is a collection of matlab m-files to do various types of power flow iterations:
Conventional Static Power Flow – Using Newton Raphson or Gauss Sidel or Fast Decoupled Load flow Iterations
Optimal Power Flow – Using Newton Raphson or Gauss Sidel or Fast Decoupled Optimal Load Flow Iterations
Conventional Static Power Flow
As explained earlier, with the objective of calculating the final P Q flow in each branch in the system.
Basic MATPower m-file:Runpf.m
Optimal Power Flow (OPF)
OPF is similar to the traditional PF iterations with the addition of generator scheduling optimisation.
OPF will generate the final P Q flow based upon the optimised generator scheduling with the minimal cost wastage.
Basic MATPower m-file:Runopf.m
Advantages of MATPower
It is a freeware
Its licensing agreement gives the user to access to the source code hence modifying it provided that acknowledgement must be made back to the original author
Runs in Matlab hence reduces the programming constraints due to Matrix sizes and matrix manipulations
Advantages of MATPower
In terms of speed for Standard PF, it is fast enough (in the range of a 1-2 seconds, actual speed depending upon the network size).
Results of iteration is in a data form which gives easy manipulation using other programming platforms, e.g. C++, fortran.
Disadvantage of MATPower
Iteration speed during optimal power flow decreases as the system size is increased.
This is due to the optimization process which requires optimal generator dispatch.
Results are in the form of data file. This may be solve by adding a graph plotting m-file or converting the data file into Excel for graphical manipulation.
Example of MATPower
In studying the system properties of an IEEE 300 test system as it is loaded into instability.
A C++ program is written to automatically increase the load level in the MATPower input data file.Format of output iteration is modified to suit with a researched algorithm also written in C++.
Excerpt of Simulation Results
0
0.2
0.4
0.6
0.8
1
1.2
1 24 52 80 109
132
154
176
198
220
242
1190
7166
9038
Bus number
Bu
s V
olt
age
mag
nit
ud
e
load factor 1.0x
load factor 1.01x
load factor 1.02x
load factor 1.03x
load factor 1.04x
load factor 1.04x
Bus voltage magnitudes as the system load is increased slowly at all load centres.
Excerpts of Simulation Results
0
0.2
0.4
0.6
0.8
1
1.2
1 25 54 85 114
137
160
183
206
229
319
7024
9024
9533
Bus number
Bu
s vo
ltag
e an
gle
dif
fere
nce
(ra
ds)
Loading factor 1.01x
Loading factor 1.02x
Loading factor 1.03x
Loading factor 1.04x
Loading factor 1.05x
Bus voltage angle difference with reference to the nominal loading factor at all load centres loading
strategy
Thank You