Lightweight energy management of islanded operated microgrids for prosumer communities