Using Microgrids in India to prevent grid collapses