Even when switchyard locomotives are not moving trains, their diesel engines are usually kept running. This is done to charge batteries, warm engine fluids and meet other operational needs. This can amount to several thousand hours of idling per locomotive each year.