The issue of power factor improvement and harmonic compensation is well known in electrical engineering. A major area of research in electrical engineering is to make a system wherein the current absorbed from the electrical utility is almost purely sinusoidal and is in phase with the voltage. The need for this is the losses incurred at the transmission otherwise and also the unnecessary...