MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.
-
Upload
paulina-bryant -
Category
Documents
-
view
244 -
download
0
Transcript of MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.
![Page 1: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/1.jpg)
MATLAB SIMULINK WORKSHOP
Application for Power System Analysis using 3rd party MATLAB
packages
![Page 2: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/2.jpg)
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
![Page 3: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/3.jpg)
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
![Page 4: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/4.jpg)
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
![Page 5: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/5.jpg)
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
![Page 6: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/6.jpg)
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
![Page 7: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/7.jpg)
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.
![Page 8: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/8.jpg)
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.
![Page 9: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/9.jpg)
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++.
![Page 10: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/10.jpg)
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.
![Page 11: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/11.jpg)
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
![Page 12: MATLAB SIMULINK WORKSHOP Application for Power System Analysis using 3 rd party MATLAB packages.](https://reader035.fdocuments.us/reader035/viewer/2022081419/56649eff5503460f94c14f3e/html5/thumbnails/12.jpg)
Thank You