basics of thermal power plants