The project is part of a broader push to modernise one of the world’s largest rail networks while reducing carbon emissions.