Supply of a generator inverter