Text this: Investigations and power quality improvement of optimally located large scale RES integrated with conventional distribution system with custom power devices