The solar farm at Aldershot, part of a scheme has been developed by the charity 10:10 Climate Action and Imperial College London.
Photograph: Stephen Barney

The world’s first solar farm to power a railway line directly is due to plug into the track near Aldershot, paving the way for solar-powered trains.

From Friday, about 100 solar panels at the trackside site will supply renewable electricity to power the signalling and lights on Network Rail’s Wessex route.

The 30kW pilot scheme could pave the way for a larger project capable of directly powering the trains that use this route from next year.

The solar breakthrough comes as Network Rail plans to spend billions of pounds electrifying rail lines to avoid running trains on diesel. This could help reduce air pollution, greenhouse gas emissions and costs.

Solar panels are already used to power the operations of train stations, including Blackfriars in central London. But the Aldershot project is the first time a solar array will bypass the electricity grid to plug directly into a railway’s “traction” system.

Network Rail hopes to use the scheme, developed by the charity 10:10 Climate Action and Imperial College London, to solar-charge its rail lines across the country.

Stuart Kistruck, a director for Network Rail’s Wessex route, said: “We have ambitions to roll this technology out further across the network should this demonstrator project prove successful, so we can deliver a greener, better railway for our passengers and the wider public.”

The research team behind the project, called Riding Sunbeams, estimates that solar could power 20% of the Merseyrail network in Liverpool, as well as 15% of commuter routes in Kent, Sussex and Wessex.

There is also scope for solar trams in Edinburgh, Glasgow, Nottingham, London and Manchester, according to the team.

Innovate UK awarded the project funding from the Department of Transport after it proved that connecting solar power directly to rail, tube and tram networks could help meet a significant share of their electricity needs.

Murray said the railways will be able to cut their running costs and benefit local communities while playing a part in tackling the climate crisis. “Matchmaking the UK’s biggest electricity user, the railways, with the nation’s favourite energy source, solar power, looks like the start of the perfect relationship.”

Murray added that the same model could be used across the world, particularly in sunny countries in South America, and India.

India is already home to 250 trains powered by solar panels attached directly to the roof of the train, but it plans to develop its own trackside solar farms because the weight of the panels means their trains need more energy than usual.

Indian Railways, the country’s single largest energy consumer, said last month it hoped to become the world’s first 100% “green” railway network in 10 years’ time by installing 30GW of solar generation capacity on some of its 51,000 hectares of vacant land.