Text this: Development of numerical distance relay algorithm using EMTP