In a decentralized energy grid system, each and every household or building is equipped with its own battery too. If the electricity network is damaged, any section of the city that has power generation and energy sharing capability, as well as storage capability, can keep operating while restoration works are carried out, preventing the need for blackouts.