A grid-tied inverter is only designed to operate when there is a voltage and frequency reference, the grid is usually this reference. These types of solar inverters are not designed to operate using batteries and cannot charge them with solar power, which is why they are not compatible with off-grid homes. For off-grid installations, you will need an inverter charger or hybrid inverter.