Trains in Switzerland Are Now Running Over Solar Panels in a First-of-Its-Kind Test
(www.zmescience.com)
There is usually a current present in the rails already
Either traction current, signalling current for track circuits, or both
Depending on the way the signalling system has been engineered