blob: 6b3b5bbfd9592d26d58d1afeb9366aaf7b3b4a45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
clear
disp('example14.9')
c=4000 //capacity of system
f=50 //frequency //operatingload=rated area capacity
h=5 //time constent
r=0.025 //
dl=0.01 //change in load
df=0.01 //change in frequency
rr=r*f //
d=(dl*c)/(df*f)
dpu=d/c
kp=1/dpu
tp=(kp)*(2*h/f)
tt=(rr+kp)/(rr*tp)
sfe=(kp*rr*dpu)/(rr+kp)
ki=(1+(kp/r))^2/(4*tp*kp)
printf("df=-%.5f(1-e^(-%.1f)) \n ki=%.4fp.u.MW/Hz",sfe,tt,ki)
|