Are steam locomotives more powerful than diesel?
Dieselisation
Dieselisation took place largely because of the tremendous reduction in operating costs it allowed. Steam locomotives require large pools of labour to clean, load, maintain and run. They also require extensive service, coaling and watering facilities. This was their biggest inferior measure as compared to the diesel locomotive in the number of ton-miles or passenger traffic miles either could run. Diesels could and did have a significantly higher initial price per unit-horsepower delivered. However, their far greater range between fueling stops, the absence of water stops, and the much higher unit availability between inspection repair and maintenance stops, were far better than steam. Diesels simply required significantly less time and labour to operate and maintain. Diesel power was also more scalable to power requirements, owing to the control systems that allowed multiple units to be controlled by one operator. "Double header" steam power required a crew for each locomotive. Initially, diesel locomotives were less powerful than the typical steam locomotives. Between the late 1930s and the late 1950s the power available with diesel locomotive engines roughly doubled, although the most powerful steam locomotives ever built still exceeded the power of the most powerful diesel locomotives from the late Twentieth Century.
Locomotive
The steam locomotive remained by far the most common type of locomotive until after World War II. 
Steam locomotives are less efficient than modern diesel and electric locomotives, and a significantly larger workforce is required to operate and service them. British Rail figures showed that the cost of crewing and fuelling a steam locomotive was about two and a half times larger than the cost of supporting an equivalent diesel locomotive, and the daily mileage they could run was lower.. Between about 1950 and 1970, the majority of steam locomotives were retired from commercial service and replaced with electric and diesel-electric locomotives. While North America transitioned from steam during the 1950s, and continental Europe by the 1970s, in other parts of the world, the transition happened later. Steam was a familiar technology that used widely-available fuels and in low-wage economies did not suffer as wide a cost disparity. It continued to be used in many countries until the end of the 20th century. By the end of the 20th century, almost the only steam power remaining in regular use around the world was on heritage railways.