SAN MARINO ENERGY STORAGE FOR MICROGRIDS