ROLE OF LITHIUM ION BATTERIES IN MICROGRID SYSTEM