summaryrefslogtreecommitdiff
path: root/527/CH3/EX3.16/3_16exam.sce
blob: e3788c40b304922509362696df1ab66972e42c82 (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
//Engineering and Chemical Thermodynamics
// Example 3.16
//Page no:144

clear ; clc ;
//Given
P_1 = 120 * 10^3 ; //[N]
P_2 = 900 * 10^3 ; //[N]
h_4 = 25.486 ; //[kJ/mol], From table
h_1 = h_4 ;
h_2 = 39.295 ; //[kJ/mol], From table
S_2 = 177.89 ;  //[kJ/molK], From table
S_3 = S_2 ;  //[kJ/mol]
h_3 = 43.578 ; //[kJ/mol] , Enthalpy corresponding to S3 value which     equales to S2
Q_dot_c_des = 10 ; //[kW]

q_c = h_2 - h_1 ;
Q_dot_c = h_2 - h_1 ;
W_dot_c = h_3 - h_2 ;

COP = Q_dot_c / W_dot_c ;
n_dot = Q_dot_c_des / q_c ;
disp(" Example: 3.16   Page no : 144") ;
printf("\n     COP of the refrigerator is = %.2f \n\n     Mass flow rate needed = %.3f mol/s",COP,n_dot)