The amount of electronic equipment is increasing in created smart grids. This equipment introduces distortions into the electrical network, due to which the voltages at the network nodes, and hence the currents, become nonsinusoidal. The paper is devoted to the analysis of the effect of capacitor banks on the electrical network with nonsinusoidal mode parameters due to the resonant circuits they create with the electrical network at harmonic frequencies, as well as the influence of nonsinusoidal network modes on capacitor banks. The paper presents an overview of scientific publications on the problem of harmonic resonances in nonsinusoidal network modes, as well as the values of power quality indices that were measured in the study of the effect of the capacitor bank on the network mode. With the help of the “Harmonics” software package, the reduction in the service life of the capacitor bank in the nonsinusoidal mode, the frequency characteristics of admittance, conductance, susceptance of the network node with the capacitor bank, and the resonant powers of the capacitor bank at harmonic frequencies were calculated.