Scientists Create AI That Can Optimize Global Energy Grids