Text this: Optimal allocation and fault analysis studies of DG