A diesel generator is two control loops on one shaft. The governor holds the speed with fuel; the AVR holds the volts with field current. One glance at the frequency meter tells you which of the two is sick, and sends the job to the right half, electrical or mechanical.