  The demand for Electrical energy is increasing day by day as it can be easily
converted to another form of energy. All consumers expect Electrical energy
with high power quality. Most of the commercial and industrial loads are
inductive in nature and need power electronic circuits/ controllers to get
smooth control of the equipment. This, in turn, leads to the injection of
harmonics into the system, hence the power quality is affected. The above
problem needs to be addressed and eliminated. In this paper, a shunt active
power filter is used to mitigate the harmonics. Id-Iq control is used to
analyse the performance of the filter and is simulated using MATLAB software.
The MPPT controller is used to improving the power quality of the system.
