Text this: A new algorithm for automating power supply of an AC traction network with a sectioning points on switches