I have just done my reckoning for the year and the solar panels after 9 years have paid back the cost of purchase. They cost £6000 and at the end of this year have paid back £6150.
Lots of caveats in here though. I figure that if the £6000 had earned 2% it would now be worth over £7000 but of course interest rates have been down and are now up again. I have not adjusted it annually.
I costed in the benefit due to reduced electricity/gas bills compared to the cost of these in 2014. Except for the last two years my bills have been £2-300 lower than 2014. Caveat: consumption may be different.
Caveat: the last two years the cost of electricity and gas has been much higher and therefore my costs have been greater than 2014, so I have not offset them in my calculations. It wouldn't have been easy as the rates have fluctuated in the last couple of years.