Understanding How Generators Work Single-Phase Power Systems