From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 647/CH8/EX8.8/Example8_8.sce | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 647/CH8/EX8.8/Example8_8.sce (limited to '647/CH8/EX8.8/Example8_8.sce') diff --git a/647/CH8/EX8.8/Example8_8.sce b/647/CH8/EX8.8/Example8_8.sce new file mode 100755 index 000000000..da9b430b3 --- /dev/null +++ b/647/CH8/EX8.8/Example8_8.sce @@ -0,0 +1,41 @@ +clear; +clc; + +// Example: 8.8 +// Page: 305 + +printf("Example: 8.8 - Page: 305\n\n"); + +// Solution + +//*****Data******// +Ql = 5;// [tons] +Tl = -10 + 273;// [K] +Th = 35 + 273;// [K] +eta = 0.85; +H1 = 183.2;// [Enthalpy of saturated vapour at 263 K, kJ/kg] +H2 = 208.3;// [Enthalpy of superheated vapour, kJ/kg] +H3 = 69.5;// [Enthalpy of saturated vapour at 308 K, kJ/kg] +H4 = H3;// [kJ/kg] +//***************// + +// Solution (a) +// Mass flow rate: +Ql = Ql*3.516;// [kW] +mdot = Ql/(H1 - H4);// [kW] +printf("Mass flow rate of the refrigerant is %.4f kg/s\n",mdot); + +// Solution (b) +W = H2 - H1;// [kJ/kg] +Wnet = W*mdot/eta;// [kW] +printf("Power consumption in the compression is %.2f kW\n",Wnet); + +// Solution (c) +Qh = Ql + Wnet;// [kW] +printf("The amount of heat rejected in the condenser is %.2f kW\n",Qh); + +// Solution (d) +COP_VapourCompression = (H1 - H4)/(H2 - H1); +COP_Carnot = Tl/(Th - Tl); +COP_relative = COP_VapourCompression/COP_Carnot; +printf("Relative COP is %.2f\n",COP_relative); \ No newline at end of file -- cgit