Text this: Algorithm and Program for Calculation and Analysis of Modes and Losses of Electric Energy in Electricity Distribution Networks of 6–20 kV