Adaptive distance relay during voltage collapse