Automation of traction power substation