Compressed air energy storage programming