The Alternator in One Line: Two Loops, Three Machines and a Box
An engine turns a brushless alternator, and two separate controllers decide what comes out. The governor sets speed, so frequency and kW. The AVR sets excitation, so voltage and kVAR. Hold those two loops apart and most generator troubleshooting sorts itself.