ENERGY OPTIMIZATION IN ISLANDED MICROGRIDS WITH PV AND HYBRID STORAGE