OPTIMAL INTEGRATION OF PV GENERATORS AND D STATCOMS