Text this: Control method for seamless switching in hydrogen energy and pantograph-catenary parallel power supply system