summaryrefslogtreecommitdiff
path: root/409/CH27/EX27.3/Example27_3.sce
blob: b639cb0be38a90dd94c2ae7ab46f27d1a7cd41bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear ;
clc;
// Example 27.3
printf('Example 27.3\n\n');
//page no. 845
// Solution 

// Given 
p_plant = 20 ;// Power generated by plant-[MW]
h = 25 ;// Height of water level - [m]
V = 100 ;// Flow rate of water -[cubic metre/s]
d_water = 1000 ;// Density of water - [ 1000 kg / cubic metre]
g = 9.807 ;// Acceleration due to gravity-[m/square second]

M_flow = V*d_water ;// Mass flow rate of water -[kg/s]
del_PE = M_flow*g*h ;// Potential energy change of water per second -[W]
eff = (p_plant*10^6) /(del_PE) ;// Efficiency of plant 

printf(' Efficiency of plant is %.2f .\n',eff) ;