How Diesel-Hydraulic Locomotives Work Diesel-hydraulic locomotives work on a different principle. The diesel engine is still there, but the electric motors are not present. Instead, attached to the ...