Design and simulation of heavy haul locomotives and trains