Effects of the connection of DG on protection systems in distribution networks