Re: wire capacity
The distance of the run is never a factor in determining a cable's ampacity. It may, however, become a factor in providing sufficient voltage at the end of the run. Sometimes, you will need to use a larger wire for the same current, in order to limit voltage drop. But 30 feet is generally not a long enough run to worry about voltage drop.