Main Article Content
Microgrids are applied not only for generating power, but also producing a sinusoidal voltage to supply linear and nonlinear loads. In this paper, a current control method for selective harmonic compensation is planned for shunt active power filters. In the active power filters, using voltage source converters, that are capable of dual-use technology to improve the quality of the selected compensation can also be dealt with. Using this system, an improved individual harmonic and total harmonic distortion with these requirements are modified. Simulation results illustrate the efficiency of the proposed method for microgrid compensating current harmonic to an acceptable level.