Yes, the engine drives a generator, not an AC one but DC then the current gets chopped up into AC. Take a look at these rpm and HP figures taken off the top of my head GE ac4400@throttle position:
8+.......4400HP...1050 RPM
8........4100 HP...950 RPM
7........3450HP....950 RPM
6........2750HP....850 RPM
5........2050hp....650 RPM
4........1350 hp...650 RPM
3........900 HP....550 RPM
2........550HP.....450 RPM
1........350HP.....450 RPM
To begin a train moving, advance to the 1st throttle position that moves the train. Tractive effort is a product of HP and speed. For example 2 4400HP locomotives will move a 18,000 ton train with no slack in throttle 3 or 4. To maintain 36 MPH on level track will take aproximatly 5000-6000 HP. Too much tractive effort will break the draft gear, so you can't get too ambitious or in a hurry
.