IEEE generator protection