While the efficiency of power plant generation and diesel locomotive generation are roughly the same in the nominal regime, diesel motors decrease in efficiency in non-nominal regimes at low power  while if an electric power plant needs to generate less power it will shut down its least efficient generators, thereby increasing efficiency.
[