How Microsoft Technology is Enabling an Autonomous Grid