Interconnected energy storage systems