I think a recent study showed 6 out of 11 panels or something maintained 80% of its original capacity after 30 years. As long as technological disruption does not deem replacement as a no brainer economically, I am sure quite a few panels may produce energy for 30 to 40 years.