diff options
Diffstat (limited to '3733/CH35/EX35.3')
-rw-r--r-- | 3733/CH35/EX35.3/Ex35_3.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3733/CH35/EX35.3/Ex35_3.sce b/3733/CH35/EX35.3/Ex35_3.sce new file mode 100644 index 000000000..ab2d88b13 --- /dev/null +++ b/3733/CH35/EX35.3/Ex35_3.sce @@ -0,0 +1,25 @@ +// Example 35_3
+clc;funcprot(0);
+//Given data
+// C_1=840000+840 kW+0.116 kWh
+// C_2=500000+440 kW+0.2985 kWh
+A_1=840;
+A_2=440;
+B_1=0.116;
+B_2=0.2985;
+MD=64000;// kW
+t=8760;// hours
+
+// Calculation
+L=(A_1-A_2)/(B_2-B_1);// Time in hours
+P_p=(MD/t)*L;// kW
+P_b=MD-P_p;// kW
+E_b=((1/2)*(L+t)*(P_b));// The kWh generated by base load plant
+E_p=((1/2)*L*P_p);// The kWh generated by peak load plant
+E_t=E_b+E_p;// // Total energy generated in kWh
+C_1=840000+(A_1*P_b)+(B_1*E_b);// rupees
+C_2=500000+(A_2*P_p)+(B_2*E_p);// rupees
+C=C_1+C_2;// Total cost in rupees
+Gc=C/E_t;// Generating cost in rupees
+printf('\nGenerating cost=Rs.%0.2f/kWh',Gc);
+// The answer vary due to round off error
|