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.16/Ex34_16.sce | |
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.16/Ex34_16.sce')
-rw-r--r-- | 3733/CH34/EX34.16/Ex34_16.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3733/CH34/EX34.16/Ex34_16.sce b/3733/CH34/EX34.16/Ex34_16.sce new file mode 100644 index 000000000..9dfc487f1 --- /dev/null +++ b/3733/CH34/EX34.16/Ex34_16.sce @@ -0,0 +1,32 @@ +// Example 34_16
+clc;funcprot(0);
+//Given data
+CC_kw=15000;// Capital cost/kW installed
+TP=2200;// Total power of the diesel power plant in kW
+AOC=600000;//Annual operating costs in rupees
+FC=100000;// Fixed cost in rupees
+VC=200000;// Variable cost in rupees
+AMC=FC+VC;// Annual maintainence costs in rupees
+Cf=0.8;// Cost of fuel per kg in rupees
+Clo=40;// Cost of lubricating oil per kg in rupees
+CV=40000;// kJ/kg
+cf=0.5;// Consumption of fuel in kg/kWh
+clo=1/400;// Consumption of lubricant oil in kg/kWh
+MD=1600;// Maximum demand in kW
+F_l=45/100;//Load factor
+
+//Calculation
+CC=ceil (TP*CC_kw);// Capital costof the plant in rupees/ year;
+I=ceil(CC*(15/100));// Interest on capital
+AE=ceil(MD*F_l*8760);// Annual energy generated in kWh/year
+F_c=ceil(cf*AE);// kg/year
+Fc=ceil(F_c*Cf);// Cost of fuel in rupees per year
+Lc=ceil(clo*AE);// Lubrication consumption in kg /year
+CLO=ceil(Clo*Lc);//Cost of lubricant oil Rs/year
+TFC=ceil(I+FC);// Total fixed cost in kg/year
+TRC=ceil(Fc+Lc+VC+AOC);// Total running cost in Rs/year
+Tc=ceil(TFC+TRC);// Total cost in Rs/year
+Gc=(Tc/AE);// Generation cost in Rs/kWh.
+printf('\nThe annual energy generated=%0.1e kWh/year \nThe cost of generation=Rs.%0.2f/kWh',AE,Gc);
+// The answer provided in the textbook is wrong
+
|