A British solar power company is working on technology that could enable railways all over the world to be powered by renewable energy, with South Wales seen as a likely testbed for the equipment.
https://eandt.theiet.org/content/articles/2020/05/rail-solar-project-seen-as-stepping-stone-for-renewables/#:~:text=Plugging%20directly%20into%20that%20enables,through%20the%20railway%20approval%20process.