Personal anecdote - my house has two sets of solar panels on the roof - the first was installed in 2017, the second was just installed last month. In 2017 my 6kw system cost $24,000 before any incentives (by SolarCity). In 2020 my 7.8kw system cost $15,000 before any incentives (by Tesla). Of that $15k, $4.3k was for the panels themselves, $2k for the inverter, $1k for mounting hardware, and $8k for installation. It'…
Solar panels might be fine in some distant places where you're forced to use diesel generators. Diesel is not cheap. But where electrical grid is already in place, I just don't see it working.