You must ground direct-current systems, but where? The answer depends upon whether the source is off-premises or on-premises. Note that the connection in question is to the earth [see the definition in NEC Art. 100], not a metallic path (bonding).
Grounding Direct Current Systems, Part 2
Where do you ground direct current systems?