DC-coupled solar battery system diagramiagram

electricity flows from solar panels to battery; then inverted (from DC to AC) as it flows to your home or out to the grid.