Prince Charles visited the offices of the Beatrice Offshore wind farm to officially open the project.