summaryrefslogtreecommitdiff
path: root/3733/CH34/EX34.24/Ex34_24.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.24/Ex34_24.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.24/Ex34_24.sce')
-rw-r--r--3733/CH34/EX34.24/Ex34_24.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/3733/CH34/EX34.24/Ex34_24.sce b/3733/CH34/EX34.24/Ex34_24.sce
new file mode 100644
index 000000000..de9341003
--- /dev/null
+++ b/3733/CH34/EX34.24/Ex34_24.sce
@@ -0,0 +1,34 @@
+// Example 34_24
+clc;funcprot(0);
+//Given data
+P=25;// MW
+CC=12000;// Rs/kW
+CC_ps=15*10^6;// Capital cost of primary and secondary distribution in rupees
+Mc=80*10^4;// Plant maintainence cost in Rs./year
+Mc_ps=2*10^6;// Maintainence cost of primary and secondary equipments in Rs./year
+Sw=6*10^6;// Salaries and wages in Rs./year
+Cc=80*10^3;// Consumption of coal in tonnes/year
+cc=800;// Cost of coal Rs./tonne
+Di=12*10^6;// Rs./year
+E_l=10/100;// Energy loss in transmission
+F_d=1.5;// Diversity factor
+F_l=80/100;// Load factor
+MD=14;// MW
+
+//Calculation
+L_a=MD*10^3*F_l;// kW
+E_g=L_a*8760;// kW-hr
+CC=P*10^3*CC;// Rs.
+IiD=(10/100)*CC;// Interest,insurance,depriciation charges of plant in rupees
+IiD_ps=(80/100)*CC;// Interest,insurance,depriciation charges of primary and secondary equipments in rupees
+Tfc=IiD+IiD_ps+Di;// Total fixed cost in rupees
+MD_i=MD*10^3*F_d;
+FC=Tfc/MD_i;// Fixed cost per kW in rupees
+Fc=Cc*cc;// Rs./year
+Tvc=Mc+Mc_ps+Sw+Fc;// Total variable charges in rupees
+E_t=E_g*(1-E_l);// Energy generated in kW-hr
+Cec=Tvc/E_t;// Charges for energy consumption in Rs./kW-hr
+Tc=Tfc+Tvc;// Total charges in rupees
+Ac=Tc/E_t;// Average cost of supply in Rs./kWh
+printf('\nAverage cost of supply=Rs.%0.2f/kWh',Ac);
+// The answer provided in the textbook is wrong