Compression of the air is powered by a motor that uses off-peak electricity from the grid. During peak hours, the compressed air from the cavern is extracted and preheated in the recuperator. Once heated, the air is mixed with oil or gas, which is burned in the combustor. The hot gas is expanded in the turbine to generate electricity.