Residential solar isn't particularly green. The environmental cost for the layout of the electrical grid has been in place for a while. Adding solar panels that might last 20 years is a new environmental cost in its own right. Adding a battery makes it even worse. You pay up front for the panels, and then pretend inflation is your friend as you "save money" because electric rates down the road go up... but so would have $20,000 you spent on the panels. And this is ignoring the issue that energy is generally more efficient at larger scales, as per the OP. So unless your home was built to gain the maximum benefit of solar (with the right placement and motors to rotate the panels across the day (even less green to add that), you are getting solar that is less efficient.