This assignment delves into the implementation and analysis of a Unified Power Quality Conditioner (UPQC) connected to a 3-phase, 4-wire distribution system. The UPQC utilizes a dual control strategy to perform both series and parallel power line conditioning. The project focuses on suppressing harmonic currents, compensating reactive power, and improving overall power quality. It involves the development of linear sensitivity methods for AC load flow analysis in bilateral and simultaneous transactions.