diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /416/CH14/EX14.6/example14_6pp.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '416/CH14/EX14.6/example14_6pp.sce')
-rwxr-xr-x | 416/CH14/EX14.6/example14_6pp.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/416/CH14/EX14.6/example14_6pp.sce b/416/CH14/EX14.6/example14_6pp.sce new file mode 100755 index 000000000..a37d0b65d --- /dev/null +++ b/416/CH14/EX14.6/example14_6pp.sce @@ -0,0 +1,17 @@ +clc
+clear
+disp('example 14.6')
+rc=10000 //rated capacity
+r=2 //regulation in all units
+li=0.02 //load increase
+f=50 //frequency
+d=rc/(2*f) //d=partial derevative with respect to frequency
+dd=d/rc
+b=dd+1/r
+m=li*rc/2
+mpu=m/rc
+df=-mpu/b
+dff=-mpu/dd
+cf=abs(df*d)
+inc=-(df/r)*10^4
+printf("the contribution of frequency drop to meet increase in load %.3fMW \nincrease in generation cost Rs%.2f",cf,inc)
\ No newline at end of file |