The most challenging part of a solar system is the communication between the batteries and the inverter.

High quality battery management systems are just emerging now.