IIRC, The relief valve discharge pipe should be 15 feet or less with a
maximum of 4 elbows. That would be 3/4" pipe or tubing. More elbows
or more pipe would require larger pipe, like 1". Under NO
circumstances should the pipe run uphill for even a short distance. It
should terminate outside between 6" and 18" above finish grade.