Application of multi-agent techniques to the optimal configuration of electric distribution systems including dispersed generation MASTER ’ S THESIS to obtain the degree