SMS: Optimal control of wind energy systems: towards a global approach