Automatic Optimization and Control of Power Factor, Reactive Power and Reduction of THD for Linear and Nonlinear Load by Using Arduino UNO | IEEE Conference Publication | IEEE Xplore