add generator avr mode to openpa psse API