Pātuhitia tēnei: Optimal control of wind energy systems: towards a global approach