These details are specific for the owner running the rail system. Some allow sand application and up 2.5% grades, some have short trains of under five cars for small switch back radius. Cog rail or trams are the norm in the Alps for specific mountain passes. Tunnels are best.