Article 690 of the NEC mandates that #8 AWG or #6 AWG are the smallest wires that can be used with grid tied solar panels and inverter systems, and for solar panel output circuits, #10 or #12 AWG are allowed. A ground rod is also recommended if the installation area is prone to.