Generator on ground connected to power supply