A PV-DSTATCOM With Adaptive DC-Link Voltage for Grid Integration and PQ Enhancement