Compatibility of solar hybrid inverters with batteries