The companies will work together on technology that could eventually give a real-time virtualization of the grid as it integrates renewables and distributed resources.