synchronous generator working principle and applications part one pdf