WHAT ARE MICROGRIDS TYPES AND FUNCTIONALITY EXPLAINED