Simulation and validation of a new digital distance relay