Electro-diesel locomotives