Dieselisation
Weighing against the cost of, and inertia against, replacing the large investment that railroads had in existing steam power were the dramatic increases in flexibility and efficiency with diesel. The fastest and most powerful steam locomotives were faster and more powerful than diesels; however, their range of efficient operation was severely limited. Diesels pro-rate their fuel usage to the length of trains, which a steam engine cannot do. Multiple-unit diesel power is scalable to power requirements with one locomotive crew; steam power is not. A high speed Hudson steam locomotive is good for only one situation, high speeds on level grades. The diesel locomotive can be operated by a single person, with no need of a fireman to run the boiler (two person cab crews may be required for other reasons). Also, diesels use much less fuel and no manpower when idling, something locomotives often do. Diesels can be parked running for days unattended, whereas steam engines must be constantly tended to if not completely shut down. Bringing a steam engine boiler up to operating temperature is often regarded as both an art and science, requiring much training and experience. A diesel is much simpler to start and shut down.
Diesel locomotive
The maintenance and operational costs of steam locomotives were much higher than diesels. Annual maintenance costs for steam locomotives accounted for 25% of the initial purchase price. Spare parts were cast from wooden masters for specific locomotives. The sheer number of unique steam locomotives meant that there was no feasible way for spare-part inventories to be maintained. With diesel locomotives spare parts could be mass-produced and held in stock ready for use and many parts and sub-assemblies could be standardized across an operator's fleet using different models of locomotive from the same builder. Modern diesel locomotives are designed to allow the power assemblies to be replaced, which greatly reduces the time that a locomotive is out of revenue-generating service when it requires maintenance.