Understanding the Role of Diesel Engines in Locomotives