Have people tried using capacitors or batteries to accumulate electricity when the power lines are working? Is it too expensive/dangerous to help cover the outages?
On an energy storage density basis, liquid fuels and a generator beat batteries by a long shot.
So if you want a dependable electrical system, you'll have a generator. You might still include batteries and some form of power regulation to get you through spikes and/or brownouts, but that's just a few miliseconds to minutes, not hours. A generator and large diesel tank can run you for days.