In an ambitious plan to tap solar energy, the Delhi division of the Northern Railway is all set to use trains to generate solar power by the year-end.