Electromagnetic compatibility studies within smart grid automated substation