Text this: Analysis on the optimal location of distributed generation in power system network