Solar inverter system with innovative multiport power converter with 3 bidirectional ports (2 DC and 1 AC) to easily interconnect power sources (grid, PV and batteries) and loads (AC or DC). Using a single multiport module offers much easier systems integration, control and ongoing maintenance by simplifying system level hardware and software design.