blob: 61f7c848f0bddf70aab27306b03770cf50d297a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//Example 5.12
clc;clear;close;
format('v',8);
GA=500;//MW
GB=2000;//MW
RA=2.5;//Hz/p.u.MW////Speed regulation constant
RB=2;//Hz/p.u.MW////Speed regulation constant
Ls=20;//MW//Load increase
f=50;//Hz
delL=1;//%////change in load
delf=1;//%////change in frequency
DA=delL/delf*GA/f;//MW/Hz
DA=DA/GB;//p.u.MW/Hz
DB=delL/delf*GB/f;//MW/Hz
DB=DB/GB;//p.u.MW/Hz
RA=RA*GB/GA;//Hz/p.u.MW
Beta_A=DA+1/RA;//p.u.MW/Hz
Beta_B=DB+1/RB;//p.u.MW/Hz
disp("Part(a)");
MA=Ls/GB;//unitless
MB=0;//unitless
delf0=-MA/(Beta_A+Beta_B);//Hz
disp(delf0,"Change in frequency(Hz)");
delPAB=-Beta_B*MA/(Beta_B+Beta_A);//p.u.MW
delPAB=delPAB*GB;//MW
disp(delPAB,"Change in tie line power(MW)");
disp("Part(b)");
MB=Ls/GB;//unitless
MA=0;//unitless
delf0=-MB/(Beta_A+Beta_B);//Hz
disp(delf0,"Change in frequency(Hz)");
delPAB=Beta_A*MB/(Beta_B+Beta_A);//p.u.MW
delPAB=delPAB*GB;//MW
disp(delPAB,"Change in tie line power(MW)");
|