Most freight trains in the US are already halfway to electrification. They deploy an electric drive that runs off a diesel generator. Diesel-electric locomotives first appeared in the 1920s and soon gained currency as a labor-saving, cost-cutting technology improvement over steam-driven trains.