Distributed generator