Artificial intelligence lights up solar energy