summaryrefslogtreecommitdiff
path: root/83/CH7/EX7.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /83/CH7/EX7.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 '83/CH7/EX7.2')
-rwxr-xr-x83/CH7/EX7.2/example_7_2.sce15
-rwxr-xr-x83/CH7/EX7.2/result_example_7_2.txt9
2 files changed, 24 insertions, 0 deletions
diff --git a/83/CH7/EX7.2/example_7_2.sce b/83/CH7/EX7.2/example_7_2.sce
new file mode 100755
index 000000000..50258fe64
--- /dev/null
+++ b/83/CH7/EX7.2/example_7_2.sce
@@ -0,0 +1,15 @@
+//Chapter 7
+//Example 7.2
+//page 248
+//To find the saving in fuel cost by optimal scheduling
+clear;clc;
+
+//Example reveals that for optimal load sharing units 1&2 has to take up 50MW and 80MW respectively
+//If each unit supplies 65MW,increase in cost for units 1&2 are
+
+Increase1=integrate('0.2*Pg1+40','Pg1',50,65);
+Increase2=integrate('0.25*Pg2+30','Pg2',80,65);
+printf('\nIncrease in cost for unit 1 is = %0.1f Rs/hr',Increase1);
+printf('\n\nIncrease in cost for unit 2 is = %0.3f Rs/hr',Increase2);
+printf('\n\nNet saving caused by optimum scheduling is = %0.3f Rs/hr',Increase1+Increase2);
+printf('\n\nTotal yearly saving assuming continuous operation= Rs %d',(Increase1+Increase2)*24*365); \ No newline at end of file
diff --git a/83/CH7/EX7.2/result_example_7_2.txt b/83/CH7/EX7.2/result_example_7_2.txt
new file mode 100755
index 000000000..61d8801ca
--- /dev/null
+++ b/83/CH7/EX7.2/result_example_7_2.txt
@@ -0,0 +1,9 @@
+
+
+Increase in cost for unit 1 is = 772.5 Rs/hr
+
+Increase in cost for unit 2 is = -721.875 Rs/hr
+
+Net saving caused by optimum scheduling is = 50.625 Rs/hr
+
+Total yearly saving assuming continuous operation= Rs 443474