How to design and configure code-compliant solar grounding