Text this: Selection of circuit and technical solutions for improvement the quality of electricity in adaptive networks with traction AC power