For most Tucson homes, a 30W solar attic fan wins. It moves about 1,550 CFM during the hottest hours of the day, while a ridge vent relies on natural convection that slows to a crawl once the attic reaches 140 to 180 degrees. In our installs the fan typically drops attic temperature 10 to 25 degrees, a result a ridge vent by itself rarely matches in a desert summer.
That said, the two are not really competitors. A ridge vent is passive exhaust. A solar fan is active exhaust. Both depend on the same thing, intake air at the eaves, and both can be on the same roof. The question is which one is worth adding if you are starting from a typical Tucson attic with a few roof vents and marginal soffit intake. Below is how they compare, and where each one makes sense.