These would be local regs. Not NEC. Around here it's 3 feet to a meter, 10 feet to an OCPD. That's if the regulator vents to the atmosphere. If it's just a meter, and no vent to atmosphere, it's usually 3'. All these distances can be obtained from your power company's "blue book", or whatever they call it there.