Linking local microgrids to wholesale markets will enable consumers to buy and sell surplus energy from neighbors or faraway strangers, the firms say.