Replacement of main switchboard, generator and associated equipment