DC attenuation calculator for buried steel pipelines with one or more transformer-rectifier (TR) units. Computes pipe constants (r, g, alpha, RG), single-TR protection distance, and the combined pipe-to-soil potential profile across the pipeline using electrically-long-line superposition. Includes an equation solver for the standard CP attenuation textbook equations and a field-test parameter solver. For preliminary screening only.
| TR | Location (m) | Direction | Source limit (V) | Total current (A) | Current/dir (A) | Actual shift (V) | Actual source potential (V) |
|---|
| Start (m) | End (m) | Length (m) |
|---|
Solve for the distance one TR can protect on each side using the same pipeline constants from the profile section above.
Solve any of the standard CP attenuation textbook equations for any of its variables. Distance variables (x, y) and the attenuation constant alpha are solved using a hyperbolic root-finder where necessary.
Determine alpha, RG, r and g from a field test on an isolated pipeline section: inject Is at the source end, measure Es at the source end and E at the receiving end of a known length.
STEEL PIPELINE DC ATTENUATION (CP design textbook approach)
Pipe constants (per metre):
ID = OD - 2 * wall [cm]
A = pi * (OD^2 - ID^2) / 4 [cm^2]
r = rho_steel * L / A [ohm/m]
As = pi * d * L [m^2]
g = g' * As * (rho_ref / rho_soil) [S/m]
alpha = sqrt(r * g) [1/m]
RG = sqrt(r / g) [ohm]
Attenuation equations (long-line DC form):
Eq.1 E = Er*cosh(alpha*x) + RG*Ir*sinh(alpha*x)
Eq.2 I = Ir*cosh(alpha*x) + (Er/RG)*sinh(alpha*x)
Eq.3 E = Es*cosh(alpha*y) - RG*Is*sinh(alpha*y)
Eq.4 I = Is*cosh(alpha*y) - (Es/RG)*sinh(alpha*y)
Eq.5 Rso = RG * coth(alpha*x)
Eq.6 RG = sqrt(Rso * Rss)
Multi-TR superposition:
Each TR's actual source shift = min(source shift limit, I/dir * RG)
E_i(x) = actual_source_shift_i * exp(-alpha * |x - location_i|)
V_pipe(x) = V_natural - sum_i E_i(x)
Protected wherever V_pipe(x) <= minimum protected potential.
Assumptions / limitations:
- DC, steady-state superposition.
- Uniform pipe geometry, coating g', and soil resistivity along the section.
- Each TR's contribution attenuates exponentially in its allowed direction.
- Source-potential limit is applied per TR; in overlap regions the combined
pipe potential can be more negative than any single TR limit.
- For preliminary screening only - confirm with field tests and a rigorous
distributed model where required (e.g. SES CDEGS, RES2DMOD, etc).