The City of Chicago has committed to buying electricity from a 593-MW solar farm owned by Swift Current Energy under a long-term deal supporting its goal to cut greenhouse gas emissions by 62% by 2040.