THERMODYNAMIC AND ADVANCED EXERGY ANALYSIS OF A