I haven't actually tried this myself because I like to ride the throttle on my grades, but there could be some "gotcha's". When the locomotive hits the top of the grade, it is still pulling the rest of the train up the hill. If you drop the voltage at the crest, there may not be enough power for pulling the rest of the train up. Also, this helps in one direction only, but you could use a double pole, double throw switch to exchange the power between the uphill and downhill sections when you reverse direction.