A Survey on Control of Electric Power Distributed Generation Systems for Microgrid Applications