DISTRIBUTED GENERATION FOR MICROGRID TECHNOLOGY