blob: 4cf0221d083f0d6a56d01595b234b3b14badb750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
clc
//Example 7.4 POWER PRODUCED BY A TURBINE
//Energy equation, V1=V2=0,(p1/gamma)+hp=(p2/gamma)+ht+hL
hp=0;
hL=1.5; //head loss[m]
p1=0;
p2=0;
z1=61; //[m]
z2=0; //[m]
Gamma=9810; //specific weight[N/m^3]
ht=(p1-p2)/Gamma+(z1-z2)-hL //turbine head[m]
Q=14.1; //rate of flow[m^3/s]
Pi=Gamma*Q*ht/10^6 //power input[MW]
eta=0.87; //efficiency
Po=eta*Pi //power output[MW]
printf("\nThe rate of power generation is %.2f MW.\n",Po)
|