summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.2
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.2
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.2')
-rwxr-xr-x2441/CH5/EX5.2/Ex5_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2441/CH5/EX5.2/Ex5_2.sce b/2441/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..6dd02222b
--- /dev/null
+++ b/2441/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,15 @@
+//Example 5.2
+clc;clear;close;
+format('v',6);
+P=100;//MVA
+f=50;//Hz
+H=5;//kW-sec/kVA(Constant)
+delP=50;//MW(Increased Load)
+td=0.5;//s(Time delay)
+P=P/1000;//kVA
+KE=P*H;//kW-sec
+delP=delP/1000;//kW(Increased Load)
+KE_loss=delP*td;//kW-s
+f_new=sqrt((KE-KE_loss)/KE)*f;//Hz
+f_dev=(f-f_new)/f*100;//%(Frequency deviation)
+disp(f_dev,"Frequency deviation(%)");