You are on page 1of 3

Lab.No.

6
To Perform Generator Outage as N-1 Contingency &
Analyze its Impact on the Power System
Apparatus:
 MATLAB Software
 MATPOWER 7.1

Circuit Diagram:

Procedure:
1. First of all, I opened the MATLAB Software from my PC desktop.
2. Then I opened the matpower7.1 in my MATLAB.
3. I run the IEEE-5 bus power system by using the following commands:
a = loadcase(‘case5’);
b = runpf(a)
4. Then, I run the file with the first generator outage using the command:
a.gen(1,2) = 0;
5. Then, observed the value and changed the parameter of first generator back to 1 and changed the
value of next generator as:
a.gen(1,2) = 1;
a.gen(2,2) = 0;
6. Similarly, I observed the values for all five contingencies.
7. Finally, I plot the table for the contingency and its difference.

Tables:
Sr. N-1
Before Contingency After Contingency
# Contingency
P.F
Pgen Qgen P.F (P) Pgen Qgen P.F (P) P.F (Q)
(Q)
210.00 30.73 249.77 21.60 170.00 33.31 242.02 21.69
- - 186.50 13.61 - - 168.97 12.82
1 G1 323.49 194.65 226.23 22.74 323.49 194.40 240.99 24.43
5.03 184.12 51.99 93.97 44.59 178.25 59.64 92.81
466.51 38.21 28.63 2.65 466.51 39.02 36.28 3.49
238.69 32.15 223.63 29.66
210.00 30.73 249.77 21.60 40.00 42.62 216.82 22.17
- - 186.50 13.61 - - 112.00 9.59
323.49 194.65 226.23 22.74 323.49 193.87 288.82 30.05
2 G2
5.03 184.12 51.99 93.97 173.47 160.36 84.52 89.09
466.51 38.21 28.63 2.65 466.51 41.09 61.19 6.35
238.69 32.15 176.22 22.02
210.00 30.73 249.77 21.60 210.00 41.35 363.56 22.96
- - 186.50 13.61 - - 124.64 10.39
323.49 194.65 226.23 22.74 0.00 243.31 278.21 28.79
3 G3
5.03 184.12 51.99 93.97 331.17 153.89 59.83 112.24
466.51 38.21 28.63 2.65 466.51 40.70 240.34 32.52
238.69 32.15 186.75 23.66
210.00 30.73 249.77 21.60 210.00 30.73 249.77 21.60
- - 186.50 13.61 - - 186.50 13.61
323.49 194.65 226.23 22.74 323.49 194.65 226.27 22.74
4 G4
5.03 184.12 51.99 93.97 5.03 184.12 51.99 93.97
466.51 38.21 28.63 2.65 466.51 38.21 28.63 2.65
238.69 32.15 238.19 32.15
210.00 30.73 249.77 21.60 210.00 18.21 175.55 23.49
- - 186.50 13.61 - - 18.70 2.14
323.49 194.65 226.23 22.74 323.49 193.95 15.75 3.13
5 G5
5.03 184.12 51.99 93.97 467.97 125.35 125.33 83.24
466.51 38.21 28.63 2.65 0.00 1.85 102.09 11.46
238.69 32.15 15.74 1.27
Conclusion:
I was able to understand the system response after different generator outages. I became familiar with the
load bus system of IEEE-5. I became familiar with working on the MATLAB Software and I was able to
see the implementation of the bus power system and generator outage impact. I was able to analyze the
effect of the outage before the contingency and after the contingency.

You might also like