The usual practice is for the civil engineers,working with the motive power people, to
furnish the dispatchers a chart which predicts
how much tonnage a particular class of engine can
handle over the district in question.
Using this tonnage chart against the tonnage he has to move, the dispatcher will send a message to the roundhouse to fire an engine in the class that will haul the tonnage in question.
Yes, it does involve the grades and curves. I'm sure that between Chama and Cumbres the ruling grade would be the 4% between Coxo and Windy Point.