Integration Of Renewable Distributed Energy Resources Into Microgrids