This paper presents a new method to solve the networkreconfiguration problem in the presence of distributed generation(DG) with an objective of minimizing real power loss andimproving voltage profile in distribution system. A meta heuristicHarmony Search