summaryrefslogtreecommitdiff
path: root/3733/CH5/EX5.1/Ex5_1.sce
blob: 4bdd94b72c981a2145b964138741278e89fc7c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 5_1
clc;clear;funcprot(0);
// Given data
P=100;// Plant capacity in Mw
CV=25600;// Calorific value in kJ/kg
n_th=30;// The thermal efficiency of the plant in %
n_eg=92;// Electrical generation efficiency in %

// Calculation
// Mechanical energy available=W*CV*(n_th/100) in kJ/hr
// Electrical energy available=W*CV*(n_th/100)*(n_eg/100) in kJ/hr
q_e=P*10^3*3600;// Heat equivalent in kJ/hr
W=(q_e/(CV*(n_th/100)*(n_eg/100)));// The coal required per hour in kg/hr
W=(W/1000);// The coal required per hour in tons/hr
printf('\nThe coal required per hour,W=%0.2f tons/hr',W);