I have a similar issue. I have 5 x 5.32 Kwh batteries. I started out with 4 and the system ran perfectly, but when I added two more, it started to exhibit similar (albeit not as extreme) behavior. Removing either of the two new batteries and running 5 batteries works perfectly, but running 6 for some reason results in random restarts and that spikey SOC graph.