summaryrefslogtreecommitdiff
path: root/3733/CH34/EX34.15/Ex34_15.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3733/CH34/EX34.15/Ex34_15.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3733/CH34/EX34.15/Ex34_15.sce')
-rw-r--r--3733/CH34/EX34.15/Ex34_15.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3733/CH34/EX34.15/Ex34_15.sce b/3733/CH34/EX34.15/Ex34_15.sce
new file mode 100644
index 000000000..016c78f5c
--- /dev/null
+++ b/3733/CH34/EX34.15/Ex34_15.sce
@@ -0,0 +1,22 @@
+// Example 34_15
+clc;funcprot(0);
+//Given data
+CP=120*1000;// Capacity of the plant in kW
+Cc=12000;//Capital cost in per kW installed in rupees
+Swrm=600000;// Salaries,wages,repairs and maintainence per year in rupees
+MD=80;// MW
+F_l=40/100;// Load factor
+Fc=400;// Fuel cost per tonne in rupees
+F_c=1.2;// kg/kW-hr
+
+//Calculation
+Ci=CP*Cc;// Capital investment in rupees
+ID=(10/100)*Ci;// Interest and Depriciation in rupees
+L_a=MD*10^6*F_l;//Average Load in MW
+L_a=L_a/1000;// kW
+E_t=L_a*8760;// kW-hr
+F_c=F_c*E_t;// Fuel consumption in kg
+Fc=(Fc/1000)*F_c;// Fuel cost in rupees
+TAC=ID+Fc+Swrm;
+C_g=TAC/E_t;//The cost of generation in rupees per kWh.
+printf('\nThe cost of generation=Rs.%0.3f kWh',C_g);