blob: c128bd3f3361742793bc84283bc516e1ed985221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
clear
//INPUT DATA
COP=4;//COP
WD=20;//workdone of cycle in kW
//CALCULATIONS
x=1+(1/COP);//Ratio of temperatures
Re=COP*WD;//Refrigeration effect in kW
Re1=Re*60;//Refrigeration effect in kJ/min
Re2=Re1/210;//Refrigeration effect in TR
Hd=Re+WD;//Heat delivered in kW
COP1=Hd/WD;//COP of heat pump
//OUTPUT
printf('(i)Temperature ratio is %3.2f \n (ii)maximum refrigeration effect is %3.2f TR \n (iii)COP of heat pump is %3.2f',x,Re2,COP1)
|