Design of compressed air energy storage system