The difference between a solar system and a fire is a few fuses in the right places and wire that is thick enough. This is the lesson people skip because it is not exciting, and it is the one inspectors and insurers care about most. The principles are few and they are firm: a lithium bank needs overcurrent protection with enough DC interrupt capacity for the short-circuit current it can deliver (Class T is the common high-interrupt choice; other fuse types can be acceptable when their continuous-current, DC voltage, and interrupt ratings are right and the battery maker permits them), a fuse on every string once there are three in parallel, wire sized for the current plus margin, and one grounding point.
The planner now draws the one-line diagram from your numbers, with the fuse ratings and gauges on it. Print it, take it to whoever will inspect or insure the place, and keep two of every fuse on the shelf.

