(See update below)
For a railway museum layout we have an automated model train loop of track. When someone walks in to the display they trip the motion detector that turns on the power; this turns the lights on - on the layout and turns on a MRC power pack. The power pack is set with the momentum switch on, so when it turns on the DC volts slowly increase to the set speed. The Lionel small Switcher engine is wired direct to the track for DC volts (no reverse board) the train starts running slowly. The problem is when the power cuts off this stops the engine abruptly. I was wondering if a large capacitor or BCR was installed in the engine if this would allow it to slow down and stop instead? What size capacitor would work?