Currently, the use of FACTS devices for voltage regulation and optimal control of electric power system modes is widely used. Controlled FACTS devices, based on power electronics, allow obtaining the desired characteristic of not only power transmission, but also a dedicated part of the electrical system. The paper presents the results of a study of the operating modes of a real distribution network, taking into account the installation of a static thyristor compensator (STC), in order to increase its operating reliability. The efficiency of distribution networks in and the area of existence of modes significantly depend on the installation location and the law of power control of compensating devices. To solve this problem, a systems approach based on graph theory methods is proposed. The conditions for stabilizing nodal voltages to reduce total active power losses in the electrical network are studied. The ranges of change in the required powers with the corresponding STC control laws are determined to ensure a minimum of total power loss in the network