In order to minimize losses in the distribution network, integrating non-conventional energy sources such as wind, tidal, solar, and so on, into grid has been proposed many papers a viable solution. Using electronic power equipment control nonlinear loads impacts quality of power. The unified conditioner (UPQC) is FACTS device with back-to-back converters that are coupled together DC-link capac...