The Future of Energy is Algorithmic