Transformer and Generator protection