DESIGN AND OPERATION OF MODULAR MICROGRIDS