microgrid and energy storage system assessment