A comparison of generator excitation systems