Abstract: This paper introduces an algorithm for implementing distance protection of lines with polygonal and circular characteristics using the Java programming language. The analysis assesses the ...