I strongly prefer a hard top, but I have a soft top. My shelter would need to be raised to accommodate a hard top, and I would need to build one. My soft top folds back when not in use, out of the way, allowing use of the flybridge in a breeze without being in a wind tunnel. A hard top would retain the tunnel effect at all times.
My soft top came to me with the boat in 1994. Last year, since the stitching was failing and there were places I thought I could see through the sunbrella, at 27 years, I replaced the sunbrella. I expect the replacement will last as long. My usage case is up to 6 months deployed and moored outside, the rest of the year, sheltered, folded away.
Solar panels are elsewhere, see my photos here:
https://www.trawlerforum.com/forums/s31/my-new-solar-system-44588.html
I could satisfy my desire for a hardtop, but I can't justify the expense. The soft top just works so well and isn't costing anything to retain. Replacing the sunbrella was part of a colour change, costing in total about $1000, including all of the canvas on the boat: Bimini, Tonneau, side and rear panels below the upper rails, dinghy cover, 3 hatch covers, leftover sunbrella for later projects. All DIY, using our Reliable industrial sewing machine.