Achieving energy transition goals through flexible power supply