A solar inverter is an important piece of equipment in any solar rooftop system. It converts direct current (DC) generated by the solar panel into alternating current (AC). Solar inverters are also used to charge the solar batteries in the case of an off-grid solar rooftop system. Solar inverters are mainly divided into (1) ON-GRID Solar Inverters (2) OFF-GRID Solar Inverters. Solar inverters are also divided into PWM (Pulse with modulation) and MPPT.