Design and Operation Optimization of a Hybrid Railway Power Substation,