Solar panel on rooftop of a building