Investigations on doubly fed induction generator based microgrid using renewable energy resources