it depends where you live and what are your local rules for selling energy back to the network. I bought a house year ago, put 10kW on the roof and i'm very happy i did. With current prices / rules, investment will pay itself back in 3 - 4 years tops. After that, my energy bill will be lower then my trash removal.