I am an electrical engineer, and formerly worked at Enphase, a solar inverter company. Our inverter was bi-directional, and used in our storage product (a competitor to Tesla's power wall). One side hooked to AC, one side hooked to DC, and you could command the control circuitry to push power...