Diesel locomotive
Diesel locomotives offer significant operating advantages over steam locomotives. They can safely be operated by one person, making them ideal for switching/shunting duties in yards (although for safety reasons many main-line diesel locomotives continue to have 2-man crews: an engineer and a conductor/switchman) and the operating environment is much more attractive, being quieter, fully weatherproof and without the dirt and heat that is an inevitable part of operating a steam locomotive. Diesel locomotives can be worked in multiple with a single crew controlling multiple locomotives in a single train — something not practical with steam locomotives. This brought greater efficiencies to the operator, as individual locomotives could be relatively low-powered for use as a single unit on light duties but marshaled together to provide the power needed on a heavy train. With steam traction a single very powerful and expensive locomotive was required for the heaviest trains or the operator resorted to double heading with multiple locomotives and crews, a method which was also expensive and brought with it its own operating difficulties.
Dieselisation
Dieselization got a boost in the early 1930s from three factors: the development by General Motors and its Winton Engine Corporation subsidiary of diesel engines with vastly improved power-to-weight ratios and output flexibility; the desire of railways to find more cost-efficient locomotion for passenger service at the height of the Great Depression; and design innovations in rail equipment that reduced weight, making the contemporary diesel engines, which were low-powered by today's standards, viable for mainline passenger service. The mid-1930s saw the introduction of lightweight diesel-powered streamlined trainsets such as the Burlington Route's "Zephyrs" and Union Pacific's M-1000x "City" trains, which were diesel's first assault against the dominance of steam in mainline passenger service. During the second half of the decade, diesel locomotives with sufficient power for full-size passenger trains were developed and put into regular production. Improved GM diesel engines in 1938 increased power and reliability. Dieselization of passenger service gained momentum as the decade drew to a close and the first model of mainline diesel freight locomotive was on the market in 1940. Dieselization was especially attractive to western railroads, for whom the watering requirements of steam locomotives were a problem in vast stretches of the western interior. Coal-country railroads were generally reluctant to embrace diesel, a competitor to one of their main hauling markets, well into the 1940s.