Provision of maintenance and repair of the electrical network and generator