summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.9
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.9
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.9')
-rwxr-xr-x2441/CH5/EX5.9/Ex5_9.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2441/CH5/EX5.9/Ex5_9.sce b/2441/CH5/EX5.9/Ex5_9.sce
new file mode 100755
index 000000000..ef755fe69
--- /dev/null
+++ b/2441/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,27 @@
+//Example 5.9
+clc;clear;close;
+format('v',7);
+C=4000;//MW
+f=50;//Hz
+L=C;//MW//Load
+R=2.5;//%////Speed regulation constant
+H=5;//sec////Inertia constant
+delPL=1;//%////change in load
+delf=1;//%////change in frequency
+disp("Part(a)");
+Ls=80;//MW;//increase in step to load
+R=R/100*f;//z/p.u.MW
+D=delPL/delf*L/f;//MW/Hz
+D=D/C;//p.u.MW/Hz
+M=Ls/L;//unitless//for given step load
+Kp=1/D;//Hz/p.u.MW
+Tp=2*H/f/D;//sec
+Tdash1=(R+Kp)/R/Tp;//sec
+disp(Tdash1,"(R+Kp)/(R*Tp) in seconds = ");
+Tdash2=(R*Kp*M)/(R+Kp);//sec
+disp(Tdash2,"(R*Kp*M)/(R+Kp) in seconds = ");
+delf0=-Tdash2;//Hz////Static frequency error
+disp(delf0,"Static frequency error(Hz)");
+disp("Part(b)");
+Ki=(1+Kp/R)^2/4/Tp/Kp;//p.u.MW/Hz
+disp(Ki,"Critical value of Ki(p.u.MW/Hz)");