During production operations at factories, harmonics are a major problem in terms of power quality. In factory power systems, the harmonic currents generated by the motion control systems…