As I understand it, the government used to pay you a good sum each year to have them, as well as the savings that you'd get on your bills. You could either foot the bill yourself and receive the subsidy, or companies fitted the panels free, and took the government subsidy. I believe the best time has passed now though as the subsidy has halved recently.