I would highly recommend https://diysolarforum.com/ and Will Prowse on YouTube. Thats how I made my solar/battery system. And it passed city inspection.