On grid inverter thru MPPT and battery vs direct PV connection