Electrical power runs almost every machinery in the world. As clean unadulterated food is important for the healthy lifestyle of human beings, machines need clean power for longevity and uninterrupted operations. Therefore, high-quality power is absolutely required for the successful operation of the factories and the buildings. IEEE 1159 standard defines the international standard for clean power by limiting the maximum limits allowed for over/under voltage/current conditions, Sag/Swell, poor grounding/earthing, level of different current and voltage harmonics, etc. Power distribution companies maintain this standard while feeding to the transformers at the input to the factories and the buildings. However, power distribution inside the factory or the building may not comply with IEEE 1159 standards since within the factories/buildings power quality degrades due to uneven tapping of single-phase load from 3-phase lines, DC loads like LEDs, UPS, Mobile/Laptop charges, etc. Poor quality is not only responsible for immature death/downtime of the machines/controllers, it also threatens basic fire safety issues since power surges or imbalance may lead to the burning of the wires. In addition, harmonic contents of the power are normally wasted and thus contribute to energy inefficiencies.