On Grid and Off Grid Pure Sine Wave Hybrid Solar Inverter