Skip to content

Model the inductive coupling of cables and leads

This guide switches on the inductive model of cables, PEN conductors and measurement leads, chooses the earth-return model, checks it against the classical per-metre formulas and adds the skin effect. Read it when a study has long conductors, or frequencies above 50 Hz, where the series impedance of the conductors matters.

Below 1 kHz the soil is quasi-static, but cables are not: a PEN conductor, a cable shield or a measurement lead has a series impedance \(R' + j\omega L'\) per metre (\(R'\) its resistance and \(L'\) its inductance per metre, \(\omega = 2\pi f\)) and couples magnetically to every other conductor.

Prerequisites: the basic workflow of tutorial T01 and conductors between electrodes as in tutorial T03.

1. Switch the inductive model on

Inductance is a property of a conductor with a cross section (a branch); the earth-return model is a property of the engine:

import math

import numpy as np

import groundfield as gf


def two_cables(gap, rho=100.0):
    # Cable A carries 1 A between its end rods; cable B, `gap` metres away, is passive.
    world = gf.create_world(soil=gf.HomogeneousSoil(rho=rho))
    for name, y in (("A", 0.0), ("B", gap)):
        gf.create_electrode(world, "rod", name=f"{name}_start", position=(0.0, y, 0.6), length=1.5)
        gf.create_electrode(world, "rod", name=f"{name}_end", position=(100.0, y, 0.6), length=1.5)
        gf.create_conductor(
            world,
            name=f"cable_{name}",
            start=f"{name}_start",
            end=f"{name}_end",
            conductor_type="pen",
            resistivity=2.82e-8,  # aluminium, Ohm m
            cross_section=50e-6,  # m^2
            coupling_to_soil="isolated",  # insulated: a branch without leakage
            inductance_model="neumann",  # self and mutual inductance (Neumann integrals)
            discretize_segment_length=5.0,  # sub-branches of 5 m
        )
    gf.create_source(world, attached_to="A_start", return_to="A_end", magnitude=1.0)
    return world


frequencies = [50.0, 250.0, 1000.0]
engine = gf.create_engine(segment_length=0.5, frequencies=frequencies, sommerfeld_assembly="tabulated")
induced = {}
for gap in (0.5, 5.0, 50.0):
    result = engine.solve(two_cables(gap))
    potentials = result.electrode_potentials
    induced[gap] = np.array([potentials["B_start"][k] - potentials["B_end"][k] for k in range(len(frequencies))])
    print(f"gap {gap:4.1f} m: |U_B| = {np.round(np.abs(induced[gap]), 4)} V per A at {frequencies} Hz")

What you get: the voltage induced along the passive cable B per ampere in cable A. It is almost purely imaginary (about +90° against the current in cable A), grows with frequency and falls with the distance between the cables; the hidden check asserts all three.

2. Choose the earth-return model

The earth-return model is the engine option earth_inductive_model:

Model Earth Use it for
"sommerfeld" (default) half-space or layered earth, real geometry every quantitative study
"carson_series" homogeneous earth, long parallel wires long parallel cables in homogeneous soil
"perfect_mirror" a perfect magnetic mirror a fast diagnostic baseline only
  • "sommerfeld" evaluates the Sommerfeld/Pollaczek integral of the conducting half-space or of the layered earth over the real segment geometry; conductors in or above the surface plane are handled.
  • "carson_series" applies Carson's (1926) per-metre correction for infinitely long parallel wires over homogeneous earth, on the anti-parallel image. It is tiled per metre of overlap for near-parallel horizontal pairs (\(\lvert\cos\varphi\rvert > 0.99\), \(\varphi\) the angle between the two wires: an inclination below 8.1°), across the surface through the field transmitted into the soil. Every other pair and every inclined segment gets the Sommerfeld correction of the same earth, so the result steps at 8.1°. Do not use it for layered soil, nor for networks of short cables: on generated LV networks at 1 kHz it gives a reactance X 9 … 15 % above "sommerfeld".
  • "perfect_mirror" treats the earth as a perfect magnetic mirror, independent of frequency. With conductors on both sides of the soil surface the solve warns: its additive image has no basis for such pairs.

With "sommerfeld" the correction is assembled from shared tables (sommerfeld_assembly="tabulated", the default; the examples on this page spell it out): it agrees with the per-pair assembly ("exact") to far below the model accuracy and is much faster on networks with many inductive segments (see Speed up large studies).

3. Check a model against the per-metre formulas

For a long straight cable the series impedance per metre approaches the conductor–earth loop impedance of an infinite line, given by Pollaczek's integral (groundfield.references.pollaczek) and, for a line on the surface, by Carson's formula (groundfield.references.earth_return). The comparison needs lines much longer than the skin depth of the earth, \(\delta = \sqrt{2\rho/(\omega\mu_0)}\) (about 160 m at 1 kHz in 100 Ω·m), and the end effects of the finite line must cancel: we take the difference of an 800 m and a 1600 m line. The line carries no leakage, so its series impedance is \((\varphi_\mathrm{start} - \varphi_\mathrm{end}) / I_\mathrm{end}\).

from groundfield.references.pollaczek import loop_impedance_conductor_earth

RHO, F = 100.0, 1000.0


def line_impedance(length):
    world = gf.create_world(soil=gf.HomogeneousSoil(rho=RHO))
    gf.create_electrode(world, "ring", name="start", center=(0.0, 0.0, 0.8), radius=2.0)
    gf.create_electrode(world, "rod", name="end", position=(length, 0.0, 0.5), length=3.0)
    gf.create_conductor(
        world,
        name="line",
        start="start",
        end="end",
        cross_section=95e-6,
        coupling_to_soil="isolated",
        inductance_model="neumann",
        discretize_segment_length=50.0,
    )
    gf.create_source(world, attached_to="start", magnitude=1.0)
    result = gf.create_engine(segment_length=2.0, frequencies=[F], sommerfeld_assembly="tabulated").solve(world)
    p = result.electrode_potentials
    return (p["start"][0] - p["end"][0]) / result.electrode_currents["end"][0], world.conductors[0]


(z_800, line), (z_1600, _) = line_impedance(800.0), line_impedance(1600.0)
z_per_m = (z_1600 - z_800) / 800.0
reference = loop_impedance_conductor_earth(
    RHO,
    RHO,
    10.0,  # homogeneous earth: equal layers, thickness irrelevant
    F,
    depth=0.5 * (line.start[2] + line.end[2]),
    gmr=line.wire_radius * math.exp(-0.25),  # geometric mean radius of a solid wire
    r_internal=line.resistivity / line.cross_section,
)
print(f"groundfield: z' = {z_per_m * 1e3:.5f} Ohm/km")
print(f"Pollaczek:   z' = {reference * 1e3:.5f} Ohm/km")
print(f"X' {z_per_m.imag / reference.imag - 1:+.1e}, R' {z_per_m.real / reference.real - 1:+.1e}")

What you get: the per-metre impedance of the line and Pollaczek's value with their relative deviations. The reactance agrees closely (the hidden check asserts within 0.5 %); the earth-return resistance converges more slowly with the line length (within 2 %), because the current in the earth spreads over the skin depth beyond the ends of the line.

4. Add the skin effect

By default a conductor uses its DC resistance and the DC internal inductance. resistance_model="skin" uses the exact solution for a solid round conductor instead (Bessel functions), so the resistance rises and the internal inductance falls with frequency. For a check, at low frequency the classical expansion \(R_\mathrm{ac}/R_\mathrm{dc} \approx 1 + \frac{1}{48}(r/\delta_c)^4\) with the skin depth of the conductor \(\delta_c = \sqrt{2\rho_c/(\omega\mu_0)}\) must hold:

world = gf.create_world(soil=gf.HomogeneousSoil(rho=100.0))
gf.create_electrode(world, "rod", name="a", position=(0.0, 0.0, 0.6), length=2.0)
gf.create_electrode(world, "rod", name="b", position=(200.0, 0.0, 0.6), length=2.0)
pen = gf.create_conductor(
    world,
    name="pen",
    start="a",
    end="b",
    conductor_type="pen",
    resistivity=2.82e-8,
    cross_section=150e-6,
    coupling_to_soil="isolated",
    inductance_model="neumann",
    resistance_model="skin",
    discretize_segment_length=10.0,
)
r_dc = pen.resistivity / pen.cross_section
radius = math.sqrt(pen.cross_section / math.pi)
for f in (50.0, 550.0, 1000.0):
    ratio = pen.internal_impedance_per_length(f).real / r_dc
    delta_c = math.sqrt(2.0 * pen.resistivity / (2.0 * math.pi * f * 4e-7 * math.pi))
    print(f"{f:6.0f} Hz: R_ac/R_dc = {ratio:.5f} (low-frequency expansion {1 + (radius / delta_c) ** 4 / 48:.5f})")

The solver adds the difference to the DC convention to every branch of the conductor, so engine.solve(world) now sees a frequency-dependent resistance. At 50 Hz the effect is negligible for typical PEN cross sections; it matters for harmonics up to 1 kHz.

Things to know

  • A conductor without inductance_model is purely resistive.
  • Two conductors closer than the sum of their radii — cables in one trench drawn on one axis, a service drop along its main — couple as wires touching side by side.
  • A concentric cable is a core drawn on the axis of a thicker conductor with conductor_type="cable_shield": the core couples to the shield as a filament inside a tube, at the shield radius, and the shield carries no internal inductance of a solid wire. A 100 m coax with 5 mm core and 15 mm shield has a loop inductance of 26.97 µH, whatever sub-pieces discretize_segment_length cuts the two conductors into, also with the core drawn off or across the shield's axis. Two cables or leads that touch at a small angle, or wires leaving one junction, add up to the lumped pair the same way, also under "carson_series", whose correction of a tilted pair is integrated along the overlap. Without the marker two conductors on one axis are two separate cables touching each other; gf.diagnose(world) reports such pairs (category overlap, see Read and act on warnings).
  • A long conductor can stay lumped under "sommerfeld": its self term is integrated in one dimension along it, at a cost that grows at most linearly with the length (one lumped 2 km conductor at 50 Hz and 1 kHz: 1.1 s; 100 km: 10.6 s, within 0.25 GB). The spectral quadrature resolves the most distant points of a conductor up to \(2^{17}\cdot 2\pi\,(z + z')/30\), about 27 km per metre of \(z + z'\) (16 nodes per Bessel period up to 2.4 km, 8 beyond, at any frequency): 38 km for a conductor at 0.7 m, 33 km for one from a rod head at 0.5 m to a junction at 0.7 m. A longer conductor warns (SommerfeldResolutionWarning) and its result is not converged — the 100 km conductor above is solved in 10.6 s but warns.
  • For hand formulas of a cable or a line over layered soil (the complex-depth formulas of Dubanton and Deri), gf.penetration_depth(soil, frequencies) gives the equivalent complex depth and resistivity of any layer stack (Soil).
  • The leads of a measurement (tutorial T07) couple like cables; lay the probe lead at an angle to the feed lead.
  • Conductors that cross or lie in the soil surface are solved with "sommerfeld"; with the other two models their image is singular and the solve raises.
Background and audit trail
  • The coupling of touching conductors and of concentric cables follows user decisions Q32 and Q33.
  • The correction of "carson_series" for a tilted pair is integrated along the overlap since audit W1R3-07.
  • The resolution limit of long lumped conductors under "sommerfeld" (SommerfeldResolutionWarning) was documented in audit W3B-10.
  • sommerfeld_assembly="tabulated" is the default since 2026.11.

See also