The paper examines the existing structure of electrical networks in Latvia, its configuration and impact on the environment. The system of a decentralized power supply with a scattered generation structure and their impact on the electrical network were discussed below. Problems related to distributed generation growth and the problem solutions were defined. Various smart network management and communication options are discussed. In the practical part of the work, network monitoring is performed, because of which the current and voltage THD level in the network under different conditions was analyzed. Based on the theoretical and practical part of the work, a list of recommendations for further network analysis and improvement of electricity quality has been developed for JSC "Sadales tikls".