Each residence will have 2 battery banks that would be used to provide for the electricity. With this design, the residence will always have electricity without any power outages affecting the residence. Even if power was to cut for 3 seconds, it could damage expensive items such as desktop PCs, printers, and other electronics. Also, appliances can also be damage. The same will be for any surges, spikes, or other electrical hazards.
The way it would work is the solar panels feeds electricity to the battery banks. Once the banks are filled, then electricity is sent to the grid. If I give more than I take, then I will get a credit, and not a bill. This will allow the battery bank to provide the electricity. This electricity will be conditioned to not have surges, and spikes. And since the bank is the provider of the electricity, there will be no power outage – even when there is a grid failure. And during the day, the battery bank will get filled up again – therefore repeating the cycle all over again.
If the grid is still down at night time, and for some reason, the battery banks drops below 25%, then a gas generator will kick in, and convert BTUs into kWh. This will assure that I will always have electricity even if at a premium with the gas generator.