I am sort-of new to this railfan thing, so please excuse my ignorance, but I have a question. When it is said that a locomotive has "4000 Horsepower", is that the HP of the diesel prime-mover, the HP that the alternator that is driven by the diesel engine puts out (converted from watts, or kilowatts), or is it the HP that the electric traction motors produce. Or is it possibly some sort of combination there-of? Thanks in advance for any answers.
Simple question, no simple answer!
The power ratings used for diesel-electric locomtives in North America are input to traction generator. For most other purposes, I gather internal combustion engines are rated by brake horse power, but some of the power goes to run assorted auxiliaries (radiator fans, the compressor for air brakes, ...): a locomotive with what other people would call a 2600 hp engine might deliver only 2400 hp to the main generator for traction purposes, and so be called a 2400 hp locomotive.
(Outside of North America, diesel electric locomotives are rated by bhp. Thus the "2400 hp" Alcos of ca. 1960 had the same engine as top-of-the-line Alco export locomotives advertised as 2600 hp, and the engine of a 3000 hp domestic EMD SD40 is the same as in a "3300 hp" export GT26C.)
Now for transmission losses: generators and traction motors are efficient, but (remember: ENTROPY INCREASES!) not perfect. Horsepower "at the rail" tended to be about 82% of the rated horsepower of the locomotive for the first several decades of American dieselaization. (I have been told that modern AC locomotives are somewhat better.)
Example: in 1979, "Trains" published a 4-part article on the basics of diesel locomotive technology, which Kalmbach subsequently reprinted as a pamphlet, "The Diesel from D to L," by Vernon L. Smith (sometime mechanical officer for the Belt Railway of Chicago). As an example, he discussed the GP38-2. The engine of this "2000 hp" locomotive "put[s] out about 2225 hp to cover auxiliary and traction requirements." The generator (note that this is an AC/DC locomotive with an AC generator and rectifiers to provide DC to the traction motors) efficiency is 94 to 95%, and the traction motor efficiency ("including cabling losses and gear losses at full speed") is 86%, so the horsepower at the rails is 1634.