The specific energy consumption of a train depends on which of the following ?

The specific energy consumption of a train depends on which of the following ?

A. Acceleration and retardation
B. Gradient
C. Distance covered
D. All of the above