We're paying ~$19.5k for solar panels + installation. After the tax credit, that's $13,650 in cost. We spend ~$960/yr on electricity right now. The solar installation will cover all those needs, plus pay us $711/yr. So we're saving $1,671/yr. Pay off is thus ~8 years. The panels are good for 25 years. That's $28k in savings by the time the warranty runs out. They'll probably last longer.
The batteries are a different matter. I believe net meter makes them irrelevant, so the equation stays the same for most "sane" people. For me, I want to be off-grid, so I'm happy to pay a premium for batteries. That said, SGIP makes them roughly free if we get lucky. We'll see what happens.
That's much cheaper, than this article. Where is this?
I'd double check my math, because economic law says that's unlikely.