Serious question -- isn't the lifetime of solar panels (or ancillary equipment) significantly less than 30 years? A quick Google looks like 15 years ish? I have never owned a home (or lived in one with solar), so I'm not sure of the actual typical mileage.
The panels on my house are warrantied for 25 years, and expected to last years beyond that. There are no moving parts, not much to degrade, so the useful life is quite long. Though I expect in 30 years the newer panels will be more efficient and super cheap.