Unlocking flexibility for renewable energy transition