Configuring the service equipment is critically important to remove ground loops when installing solar panels and generators. Having only one neutral-to-ground connection at the main service disconnect is required. Water bonds and other references to earth or the neighbor's electrical system will corrupt the grounding system.