I have everything ready for battery, but no battery. I've put a significant amount of labor, investment, and thought into this. I am a retired electrician/contractor, I should know everything about code, not so especially with so many changes to NEC PV articles. I involved our state (Mi) electrical inspector, and I am under rules of NEC 2017. With the inspector looking over my shoulder he oaked me making my own HV battery assembly. I found a source for a UPS management system. Quite impressive, provides individual cell management, class T current limiting, main breaker, information protocol, plus more. Got a communication rack that locks and shields all open electrical. Also I got an ok on Megarevo UL labeling. I plan on using 280 AH prismatic cells, total of 120 cells in all. 60 groups of 2 cells paralleled. A rather large battery and cost somewhere around $15000. Here's the picture.