Nilgiri Mountain Railway X class
The X class is a metre gauge 0-8-2RT rack and pinion compound locomotive used by the Nilgiri Mountain Railway in the Nilgiri Hills of southern India. They are used on the 28-kilometre-long (17 mi) section between Coonoor and Mettupalayam, where the line reachees a gradient of 8%. The railway uses the Abt system on these steep sections. The locomotives have two high-pressure and two low-pressure cylinders, located outside the locomotive's frames. The low-pressure cylinders drive the rack gears, and are positioned above the two main high-pressure cylinders which drive the main wheels.
Nilgiri Mountain Railway locomotive No.37385, preserved at the Delhi Railway Museum
Locomotive No.37395 at Coonoor Shed, February 2005
A rack railway is a steep grade railway with a toothed rack rail, usually between the running rails. The trains are fitted with one or more cog wheels or pinions that mesh with this rack rail. This allows the trains to operate on steep grades above 10%, which is the maximum for friction-based rail. Most rack railways are mountain railways, although a few are transit railways or tramways built to overcome a steep gradient in an urban environment.
Locomotive 7 of the Vitznau-Rigi-Bahn, one of the last operational locomotives with a vertical boiler
The Pikes Peak Cog Railway is the highest rack railway in the world, at 14,115 ft (4,302 m).
The Pilatus Railway is the steepest rack railway in the world, with a maximum gradient of 48% and an average gradient of 35%.
The Mount Washington Cog Railway is the oldest mountain-climbing rack railway in the world, opening in 1868.