summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2441/CH5/EX5.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2441/CH5/EX5.10')
-rwxr-xr-x2441/CH5/EX5.10/Ex5_10.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/2441/CH5/EX5.10/Ex5_10.sce b/2441/CH5/EX5.10/Ex5_10.sce
new file mode 100755
index 000000000..0248833b8
--- /dev/null
+++ b/2441/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,30 @@
+//Example 5.10
+clc;clear;close;
+format('v',7);
+s=poly(0,'s');//for transfer function
+Tg=0.2;//sec///time constant of governing system
+Tt=2;//sec///time constant of turbine
+Gr=1/(1+Tg*s);//Transfer function of governer
+Gt=1/(1+Tt*s);//Transfer function of turbine
+C=1500;//MW
+f=50;//Hz
+R=4;//%////Speed regulation constant
+H=5;//sec////Inertia constant
+delPL=1;//%////change in load
+delf=1;//%////change in frequency
+disp("Part(a)");
+R=R/100*f;//z/p.u.MW
+D=delPL/delf*C/f;//MW/Hz
+D=D/C;//p.u.MW/Hz
+Kp=1/D;//Hz/p.u.MW
+Tp=2*H/f/D;//sec
+Gp=Kp/(1+Tp*s);//Transfer function of power system
+delFs=-Gp/(1+Gr*Gt*Gp/R);
+disp(delFs,"delFs = M/s*");
+disp("Part(b)");
+delf0_by_M=-Kp/(1+Kp/R);//Hz
+delf0=delf/100*f;//Hz
+M=delf0/delf0_by_M;//p.u.MW
+M=M*C;//MW
+disp(M,"Largest step change(MW)");
+//Transfer functions multiplication Gr*Gt*Gp is calculated & it is not possible to show together without calculated as in the book.