summaryrefslogtreecommitdiff
path: root/83/CH7/EX7.2/example_7_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '83/CH7/EX7.2/example_7_2.sce')
-rwxr-xr-x83/CH7/EX7.2/example_7_2.sce15
1 files changed, 15 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