I see numbers about the lifespan of solar panels in units of years, but that got me wondering: Is the lifespan of a solar panel dependent on actual power generation, or just a finite number from the year of manufacturing?
For example, if the solar panel was said to last 20 years, if I purchased it new but kept it disconnected in a climate controlled pitch black room for 15 years, would I then get only 5 years of power generation from that point on, or would I get the full 20 years of power generation from that point on?