Buildings equipped with solar panels