Of course the panels keep producing, but even adding up all the “free” energy from the panels, the payoff is about 10 years.
And that 10 years of intermittent energy production is just about the usable lifetime of the panels....if you are lucky.