MODELING OF NUMERICAL DIFFERENTIAL RELAY