Future tasks in a future flexible energy system