Efficiency comparison of DC and AC distribution systems for distributed generation