Critical issues and future prospects of the secondary substation in smart grid context