block diagram of thermal power generation