summaryrefslogtreecommitdiff
path: root/2015/CH8/EX8.8/8_8.sce
blob: 2c5913aa52b01f57b2735ca1622694ede94c6585 (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
30
31
clc
//initialisation of variables
h2=1472.6 //kj/kg
s2=4.898 //kj/kgk
sf1=0.510 //kj/kgk
sfg1=5.504 //kj/kgk
hf1=126.2 //kj/kg
hfg1=1304.3 //kj/kg
h4=362.1 //under 38 degrees in kj/kg
h2=1472.6 //kj/kg
h3=362.1 //under 38 degrees in kj/kg
t1=261 //temp in k
t2=311 //temp in k
//CALCULATIONS
x1=(s2-sf1)/sfg1
h1=hf1+(x1*hfg1)
re=h1-h4
w=h2-h1
cop=re/w
hr=h2-h3
ca=(2*re*50)/(3600*3.5164)
pom=100*w/3600
ccop=t1/(t2-t1)
rff=cop/ccop
//RESULTS
printf('coefficient of performance is %2f',cop)
printf('\nheat rejected in the condenser is%2fkj/kg',hr)
printf('\nrefrigerating effect is%2fkj/kg',re)
printf('\ncapacity of motor is%2frons of refrigeration',ca)
printf('\npower of motor is %2fkw',pom)
printf('\nrefrigerating befficiency is %2f',rff)