generator protection detailed calculations ansd settings