The Municipal Corporation of Gurgaon (MCG) has made rooftop solar panels mandatory to partly meet the shortage of power in the city.