summaryrefslogtreecommitdiff
path: root/3793/CH8/EX8.5/exp_8_5.sce
blob: d16657c9f2b601711d2e5b945aafcf2f64316bf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear;
clc;
Rc=2500;
il=1500;
H=4;
rg=2;
f=50;
D=il/f;
Dpu=D/Rc;
Kps=1/Dpu;
Tps=(2*H)/(Dpu*f);
mprintf("The initial area load freq dependence parameter in MW/Hz and in pu are %.3f MW/Hz and %.3f pu\n",D,Dpu);
mprintf("gain=%.3f Hz/pu MW\n",Kps);
mprintf("Time Constant=%.3f s",Tps);