Urban microgrids with rooftop solar (RTS) PV and battery energy storage systems (BESS) can help power distribution companies (discoms) meet the accelerating electricity demand in cities. These may be a more convenient alternative to usual methods of procuring additional generation capacity and building new grid infrastructure.