Using artificial intelligence to advance energy technologies