summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.8/Ex5_8.sce
blob: 9194eff06d1ede1d7c4a58bff4d577bc7ce38f64 (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
//Example 5.8
clc;clear;close;
format('v',6);
C=4000;//MW
f=50;//Hz
L=2500;//MW//Load
R=2;//Hz/p.u.MW////Speed regulation constant
H=5;//sec////Inertia constant
delPL=2;//%////change in load
delf=1;//%////change in frequency
disp("Part(a)");
D=delPL/delf*L/f;//MW/Hz
D=D/C;//p.u.MW/Hz
Beta=D+1/R;//p.u.MW/Hz
delf0=-0.2;//Hz
M=-(delf0)*Beta;//p.u.MW
M=M*C;//MW
disp(M,"Largest change in step load(MW)");
disp("Part(b)");
Kp=1/D;//Hz/p.u.MW
Tp=2*H/f/D;//sec
Tdash=(R+Kp)/R/Tp;//sec
disp(Tdash,"(R+Kp)/(R*Tp) in seconds = ");
printf('Change in frequency as a funtion of time, \ndelf(t) = -0.2*(1-epsilon^(-%f*t))',Tdash);