Functions of smart substation