The partnership is expected to meet the electricity consumption needs of over 1,200 McDonald’s restaurants.