Smart substations: the cornerstone of a smart grid