summaryrefslogtreecommitdiff
path: root/3733/CH32/EX32.8/Ex32_8.sce
blob: 5e8ef2fb476da1ad3971bc7d432fdb2f21ecb4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Example 32_8
clc;funcprot(0);
//Given data
L_12=500;// Load in kW
L_3=200;// Load in kW
CV=40000;//Calorific value in kJ/kg
Fc=0.25;// Fuel consumption in kg/kWh
CF=4000;// Cost of fuel in rupees
Cf=50;// Plant capacity factor in %
d=30;// Number of days 

//Calculation
P_c=(2*L_12)+L_3;// Plant capacity in kW
t=d*24;// Time in hours during the month
E=(Cf/100)*P_c*t;// Energy generated during the month in kWh/month
Fc_p=(Fc*E);//Fuel cost per month in kg
Fc_p=(Fc_p)/1000;// tonnes
FC=CF*Fc_p;// rupees/month
Ce=FC/E;// Cost of energy in Rs./kWhr
O=E*3600;// Output
I=Fc_p*1000*CV;// Input
n_o=(O/I)*100;// Over all efficiency
printf('\nThe over all efficiency of the plant=%0.0f percentage',n_o);