You are on page 1of 5

Lab no

Objective:
To perform generator outage as N-1 contingency and analyze its impact on the power system.

Software to be used:

 MATLAB Software
 MATPOWER 7.1

Introduction:
MATPOWER is a package of MATLAB M-files for solving power flow and optimal power flow
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.

Circuit Diagram:

Fig 1 IEEE 5 bus power system


Procedure:

 First of all, I opened the MATLAB Software from my PC laptop.


 Then I downloaded and looked up the matpower7.1 in my MATLAB.
 I run the IEEE-five bus strength machine by using the usage of the subsequent
commands:
 a = loadcase(‘case5’)
 a.gen(1,8)=1;
 a.gen(2,8)=1;
 a.gen(3,8)=1;
 a.gen(4,8)=0;
 b = runpf(a)
 After changing above commands by turning OFF and ON generator, I made reproduction
of case 5 file inside the information folder of matpower7.1 and then renamed it.
 Then, I run the file with the different generators by making them ON and off.
 Then, discovered the values for different parameters and notice it down in table.
 Finally, I made the table values in MATLAB using matrix plot.
Sr N-1 Before contingency After contingency
N contingency
O

1 G1 Pgen Qgen P.F(P) P.F(Q) Pgen Qgen P.F(P) P.F(Q)


(MW) (MVAr (MW) (MVAr) (MW) (MVAr) (MW) (MVAr)
)

210.00 30.73 249.77 21.60 170 -- 242.01 21.69

-- -- 186.50 13.61 -- 33.30 168.97 12.81

323.49 194.65 226.27 22.74 323.49 194.40 240.98 24.43

5.03 184.12 51.99 93.97 44.59 178.25 59.64 92.80

466.51 38.21 28.63 2.65 466.51 39.01 36.28 3.49

-- -- 238.19 32.15 -- 223.63 29.66

2 G2 210.00 30.73 249.77 21.60 40 42.62 216.81 22.16

-- -- 186.50 13.61 -- -- 112.00 9.59

323.49 194.65 226.27 22.74 323.49 193.86 288.81 30.04

5.03 184.12 51.99 93.97 173.47 160.35 84.52 89.09

466.51 38.21 28.63 2.65 466.51 41.09 61.19 6.35

-- -- 238.19 32.15 -- 42.62 176.21 22.01

3 G3 210.00 30.73 249.77 21.60 210.00 150.96 363.15 132.59

-- -- 186.50 13.61 -- -- 124.86 10.40

323.49 194.65 226.27 22.74 -- -- 278.017 28.76


5.03 184.12 51.99 93.97 332.00 296.06 58.94 7.35

466.51 38.21 28.63 2.65 466.51 40.70 241.09 104.68

-- -- 238.19 32.15 -- -- 186.93 23.68

4 G4 210.00 30.73 249.77 21.60 215.34 91.92 252.42 21.57

-- -- 186.50 13.61 -- -- 188.37 47.70

323.49 194.65 226.27 22.74 323.49 257.91 225.45 22.64

5.03 184.12 51.99 93.97 -- -- 49.38 94.37

466.51 38.21 28.63 2.65 466.51 24.65 26.01 65.52

-- -- 238.19 32.15 -- -- 238.93 29.90

5 G5 210.00 30.73 249.77 21.60 210.00 16.69 175.55 23.48

-- -- 186.50 13.61 -- -- 18.69 2.14

323.49 194.65 226.27 22.74 323.49 193.95 15.74 4.65

5.03 184.12 51.99 93.97 467.97 125.02 125.32 83.24

466.51 38.21 28.63 2.65 -- -- 102.08 11.45

-- -- 238.19 32.15 -- -- 15.73 0.945

Conclusion:

In this lab, the analysis of IEEE bus with the help of MATPOWER tool is done.So, here the
analysis of IEEE 5 bus power system for different generators by turning them ON and OFF to
see the behavior of generator outage as N-1 contingency. So, the changing behavior can be
depicted through before and after contingency in observation table. These all parameters help in
determining the actual working of IEEE 5 bus bar system with the help of MATPOWER.

You might also like