blob: aa5e76aa5b16aa0e878e9ec7de5cb1cf0441c07a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Engineering and Chemical Thermodynamics
//Example 2.4
//Page no :55
clear ; clc
//From steam table specific enthalpy at state1 and state2 are
h_cap_1 = 3373.6 ; //[kJ/kg]
h_cap_2 = 2675.5 ; //[kJ/kg]
m_dot1 = 10; //[kg/s],As we are dealing with steady state
m_dot2 = 10; //[kg/s]
//Neglecting heat dissipation compared to shaft work we have
// m_dot1*h_cap_1 - m_dot2*h_cap_2 + Ws_dot = 0
Ws_dot = m_dot1 * (h_cap_2 - h_cap_1) ; //[kW]
disp(" Example: 2.4 Page no : 55") ;
printf('\n Power generated = %g kW',Ws_dot);
|