Impacts of distributed generation on Smart Grid