HOW A MICROGRID ENERGY STORAGE SYSTEM WORKS