summaryrefslogtreecommitdiff
path: root/611/CH5/EX5.20/Chap5_Ex20_R1.sce
blob: 436190fbac9355512d373e6b31be530465b0423d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.

//Chapter-5,Example 20,Page 187
//Title: Power consumed by the pump
//================================================================================================================
clear 
clc

//INPUT
Ti=30;//temperature of saturated liquid water in degree celsius
m=500;//mass flow rate of water being pumped in kg/s
P2=3;//preesure maintained in the boiler in MPa
n_p=0.75;//isentropic efficiency of the pump (no unit)

//CALCULATION
//For saturated liquid water at Ti
vf=0.0010043;//specific volume in m^3/kg
P1=4.241;//pressure in kPa

//Assuming that the liquid is incompressible, the power input required for an isentropic pump is calculated as:
Ws_m=(vf*((P2*10^6)-(P1*10^3)))*10^-3;//power input required by the isentropic pump in kJ/kg
Ws_act_m=Ws_m/n_p;//power input required by an actual pump in kJ/kg 
P=((Ws_act_m*10^3)*m)*10^-6;//calculation of the total power consumed by the pump in MW

//OUTPUT
mprintf("\n The power consumed by the pump = %d MW\n",P);


//===============================================END OF PROGRAM===================================================