blob: bc29b9e308e0d1f21049136a5d8c4016c1253302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
clear
//Input data
ng=0.97//Efficiency of electric generator
nt=0.95//Efficiency of turbine
nb=0.92//Efficiency of boiler
nc=0.42//Efficiency of cycle
no=0.33//Efficiency of overall plant
//Calculations
na=(no/(ng*nt*nb*nc))//Efficiency of auxiliaries
n=(1-na)*100//Percentage of total electricity generated which is consumed in running the auxiliaries
//Output
printf('Percentage of total electricity generated which is consumed in running the auxiliaries is %3.2f percent',n)
|