diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3733/CH34/EX34.19 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.19')
-rw-r--r-- | 3733/CH34/EX34.19/Ex34_19.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/3733/CH34/EX34.19/Ex34_19.sce b/3733/CH34/EX34.19/Ex34_19.sce new file mode 100644 index 000000000..b2802901f --- /dev/null +++ b/3733/CH34/EX34.19/Ex34_19.sce @@ -0,0 +1,35 @@ +// Example 34_19
+clc;funcprot(0);
+//Given data
+//(i)A private diesel generating plant
+MD=900;// kW
+F_l=30;// Load factor in %
+Cc=90*10^5;// Capital cost in rupees
+Cf=800;// Fuel cost in Rs./ton
+Fc=0.3;//Fuel consumption in kg/kWh-generated
+Mc=2.5;// Cost of maintainence in paise/kWh-generated
+Oc=0.3;// Cost of lubricating oil,water,store,etc in paise/kWh-generated
+W=180000;// Wages in Rs./year
+ID_1=10;//Interest and decpreciation in % per year
+//(ii)Public supply
+MD_pub=1500;// Maximum demand per year in Rs./kW
+Mc_pub=80;// paise/kWh
+
+//Calculation
+//(i)Private plant
+ID=ID_1*Cc;//Interest and decpreciation in rupees
+Nu=MD*(F_l/100)*8760;//Number of units required per year in kWh/year
+Fr=(F_l/100)*(Nu);// Fuel required in kg/year
+CF=Fr*(Mc_pub/100);// Fuel cost in Rs./year
+Cmo=((0.3+2.5)/100)*Nu;//Cost of maintainence,oil and water in Rs./year
+Tc=ID+CF+Cmo+W;// Total cost of running the plant per year in rupees
+Ec_1=(Tc/Nu);//The energy cost in Rs./kWh
+//(ii)Public supply
+Tc=(MD_pub*MD)+((Mc_pub/100)*Nu);// Total cost in Rs./year
+Ec_2=Tc/Nu;// Energy cost in Rs./kWh
+if(Ec_1>Ec_2)
+ printf('\nThe public supply set is preferable as its cost is less than diesel set.');
+else
+ printf('\nThe private supply set is preferable as its cost is less than diesel set.');
+end
+// The answer provided in the textbook is wrong
|