ADR-0012: Concrete encasement of foundation electrodes¶
| Status | Accepted — amended 2026.11 (review pass 10: one mechanism, the shell coefficient; user decisions Q20: braces encased, Q21: concrete_model deprecated, Q38: one owner per side, concrete_model without effect); see the amendment at the end of this document |
| Date | 2026-05-15 |
| Deciders | Project maintainers |
| Scope | groundfield.generators.electrode_specs.FoundationElectrodeSpec |
(new optional fields); groundfield.generators.grounding |
|
(materialisation); groundfield.generators.tn_network |
|
(PEN service-drop wiring); groundfield.conductors |
|
| (one new optional field for the lumped path); | |
groundfield.geometry.electrodes.StripElectrode (one new |
|
| optional field for the distributed path); the | |
| image / image_2layer / image_nlayer assembly path | |
| (per-segment diagonal augmentation). |
Context¶
A foundation electrode according to DIN 18014 is bonded inside the building's Streifenfundament — a buried strip of reinforced concrete. The conductor never touches the surrounding soil directly; every Ampere it injects into earth has to traverse the concrete shell first. Concrete is a markedly different conducting medium from typical soil:
| State | \(\rho_c\) in Ω·m | Typical situation |
|---|---|---|
| Wet / fresh | 30–80 | first months after pouring |
| Earth-moist (90 % RH) | 80–200 | typical residential basement |
| Cycling humidity | 200–2 000 | unheated cellar |
| Dry, unused | 5 000–50 000 | mothballed building |
For typical Ortsnetz soils (\(\rho_s = 30\ldots500\,\Omega\,\text{m}\)), the concrete shell can be of the same order of magnitude as the soil or several decades higher. The classical groundfield model assumes the conductor sits directly in soil, which is the right model for ring electrodes at substations, driven rods (Tiefenerder) and strip electrodes (Banderder) buried in trenches, but wrong for the foundation electrodes generated by ADR-0011's OSM-driven path. For the worst-case (dry concrete) the omission underestimates the foundation's spreading impedance by a factor 10–100 ×.
The user request: model the concrete encasement without going to 3-D FEM. Two extensibility axes are required:
- Closed-form approximation — useful as the default for parameter studies and Monte-Carlo runs.
- Distributed-impedance variant — needed when the surface potential near the foundation (touch / step voltage) has to be right, or when the foundation has a non-uniform concrete resistivity along its length.
Decision¶
Physical model — cylindrical Sunde shell¶
Each segment of the foundation wire is treated as a thin cylindrical region:
- wire of radius \(r_a\) (typ. 5 mm) carries the current,
- concrete shell of inner radius \(r_a\) and outer radius \(r_b = r_a + t\) (typ. \(t = 50\,\text{mm}\ldots200\,\text{mm}\)) with resistivity \(\rho_c\),
- soil (\(\rho_s\), possibly layered) outside \(r_b\).
The current flows radially through the shell, then enters the soil. The two contributions add in series along the radial coordinate:
The second term is computed as before, only with the effective wire radius \(r_b\) instead of \(r_a\). Substituting \(r_a \to r_b\) in the classical Sunde / Tagg series shifts the spreading resistance by at most a few percent (the series has \(\ln(2L/r)\), and going from 5 mm to 50 mm changes the logarithm by 20–25 %), so the dominant new contribution is \(R'_\text{shell}\).
This decomposition is exact in the cylindrically-symmetric limit (infinite straight wire). For a finite-length electrode and a non-uniformly distributed leakage current along the wire, the decomposition is no longer rigorous but remains a very good approximation as long as the soil's transverse diffusion length exceeds the foundation's extent — which it does in the quasi-static regime (\(f \le 1\,\text{kHz}\), foundation \(\lesssim 30\,\text{m}\) across).
Why not a planar concrete layer¶
A naïve "concrete as a third soil layer in image_nlayer" would treat the concrete as a horizontal slab at the foundation depth extending across the entire \((x, y)\) plane. That is wrong: concrete sits only around the wire, not under the rest of the neighbourhood. The cylindrical-shell model is the physically correct localisation. We name this distinction in the docstrings and refuse the planar interpretation outright.
Two implementation variants¶
Variant 1 — lumped series resistance (concrete_model="lumped")¶
The total shell resistance of one foundation electrode of perimeter \(L_\text{perim}\) is
R_shell_total is injected as a lumped series resistance on the
PEN service drop between the KVS (or substation) and the
foundation's anchor electrode. The service-drop bond is the
electrical wire that links the rest of the network to this
foundation; adding the shell resistance there is topologically
equivalent to inserting it in series between the conductor and the
soil, because the bond is the only galvanic path the foundation has
to the rest of the network.
The solver itself runs unchanged. The MoM matrix is unaffected. The cluster impedance, surface potential at the substation and the contour plot are all automatically corrected because the PEN backbone carries the extra series resistance natively (it was already designed to support distributed conductor impedance, see ADR-0003).
Cost: one new optional float on Conductor
(lumped_series_resistance_ohm) plus a small change in
TnNetworkGenerator._build_pen_backbone that reads the recorded
shell resistance and forwards it as the bond's series impedance.
Variant 2 — distributed shell impedance (concrete_model="distributed")¶
The shell resistance is applied per segment of the foundation's strip electrodes. The MoM diagonal entry for segment \(i\) of length \(\Delta s_i\) gets
(In a matrix equation \(\Phi = G\cdot I\) the diagonal augmentation \(\Delta G_{ii} = R_\text{shell,segment\,i}/\Delta s_i\) adds the shell's voltage drop \(V_i = I_i\,R_\text{shell,segment\,i}\) on top of the spreading kernel.) The off-diagonal entries are unchanged because the shell does not couple separate segments — each shell is a local cylindrical region around its own segment.
This variant is exact in the cylindrical-symmetric limit per
segment and correctly captures non-uniform current distribution
along the foundation. The price is one new optional field on
StripElectrode (internal_impedance_per_m) and a diagonal
augmentation hook in each layered backend that mirrors the
existing Sommerfeld-correction pattern.
Choice between V1 and V2 — and discriminator¶
Default concrete_model="lumped" because:
- The current distribution along the typical Fundamenterder ring is close to uniform for the low-frequency range (\(f \le 1\,\text{kHz}\)), so V1's approximation error vs. V2 is below the soil-resistivity uncertainty.
- V1 is zero solver-side risk: the existing distributed-conductor path already handles arbitrary bond impedances correctly across all backends.
concrete_model="distributed" is opt-in for:
- studies where the foundation's internal current distribution matters (e.g. inhomogeneous concrete drying patterns modelled by a per-segment \(\rho_c\)),
- validation that V1 is sufficient for a given study.
The two variants share the same concrete_rho_ohm_m and
concrete_thickness_m API. Cross-validation V1 ≈ V2 (within 2 %)
for uniform \(\rho_c\) is the V2 acceptance criterion.
API additions¶
FoundationElectrodeSpec (only):
concrete_rho_ohm_m: float | AnyDistribution | None = None
"""Resistivity of the concrete encasement.
None: wire sits directly in soil (historic behaviour, applies to
all other electrode kinds since they sit in trenches, not in
concrete)."""
concrete_thickness_m: float | AnyDistribution = 0.05
"""Radial shell thickness in m; only honoured when
``concrete_rho_ohm_m is not None``. Default 50 mm matches a
typical 30 cm wide Streifenfundament with the conductor on the
axis."""
concrete_model: Literal["lumped", "distributed"] = "lumped"
"""How the shell resistance enters the linear system."""
Conductor (one new optional field, additive):
lumped_series_resistance_ohm: float | None = None
"""Optional override for the conductor's total series impedance.
When None: the resistance is derived from ``resistivity`` and
``effective_cross_section`` as before. When set: replaces the
geometric formula entirely. Used by the V1 concrete-shell path to
inject ``R_shell_total`` on the PEN service drop without faking a
geometric cross section. The ``series_resistance`` property is the
single point of consumption; backends already query it through
that property and therefore pick up the override transparently."""
StripElectrode (one new optional field, additive):
internal_impedance_per_m: complex | None = None
"""Per-metre radial internal impedance, in Ω/m. None means no
shell (historic). When set, the MoM/image diagonal for every
segment of this strip is augmented by
``internal_impedance_per_m * segment_length``. Used by the V2
concrete-shell path. Complex-valued so that future moisture or
high-frequency models with a capacitive shell can plug in the same
field."""
Other electrode kinds (RodElectrode, RingElectrode,
MeshElectrode, GridMeshElectrode) do not get the field
because they correspond to electrodes that sit in trenches or
concrete-less driven holes — by domain convention a non-foundation
electrode is direct-in-soil.
Stochastic concrete moisture¶
concrete_rho_ohm_m: float | AnyDistribution | None lets the
moisture state be sampled per realisation. A recommended default
distribution for Monte-Carlo studies (matches the four empirical
bands in the introduction):
concrete_rho_ohm_m=Discrete(
values=[50.0, 150.0, 500.0, 2000.0],
weights=[0.25, 0.40, 0.25, 0.10], # weighted toward earth-moist
)
presence_prob continues to gate the existence of the foundation;
concrete_rho_ohm_m gates only the resistivity when the
foundation is present.
Validation programme¶
tests/test_concrete_encasement.py:
- Closed-form lumped check — for a single straight strip of length \(L = 40\,\text{m}\) at depth 0.8 m in homogeneous soil, the difference \(Z_\text{with concrete} - Z_\text{without concrete}\) matches \(R_\text{shell,total}\) from the analytical formula to within \(10^{-9}\) (the lumped path is exact by construction).
- V1 ↔ V2 cross-validation — same world, same uniform \(\rho_c\), V1 and V2 produce cluster impedances that agree within 2 % for a foundation of perimeter 40 m at depth 0.8 m; for longer perimeters (e.g. 200 m for an industrial site) the tolerance widens to 5 %.
- Insulating concrete limit — for \(\rho_c \to \infty\)
(e.g. \(10^{12}\,\Omega\,\text{m}\)), the foundation becomes
electrically isolated; cluster impedance of the substation
converges to the value with
presence_prob = 0on every foundation (within 1 ‰ of the all-isolated reference). - Vanishing concrete limit — for \(\rho_c = 0\) or \(t = 0\), the with-concrete result reproduces the without-concrete result bit-exact.
- Discriminator — setting
concrete_rho_ohm_mon any non-foundation electrode is silently a no-op (the field doesn't exist on those primitives). Setting it onFoundationElectrodeSpecand choosingstyle="ring"withorientation_deg != 0(the rotated-strip path) andstyle="mesh"(the GridMeshElectrode path) both produce the same lumped correction for a square footprint to within 1 ‰. - JSON round-trip — a config with stochastic
concrete_rho_ohm_m=Discrete(...)round-trips throughmodel_dump_json/model_validate_jsonand reproduces the same draws under a fixed seed. - Stochastic-moisture sweep — a 1 000-sample Monte Carlo over
concrete_rho_ohm_m=Discrete(values=[50, 150, 500, 2000])reproduces the analytical mean of \(R_\text{shell,total}\) to within 1 % statistical noise.
Consequences¶
Positive¶
- Foundation electrodes generated from the OSM path (ADR-0011)
now reflect their real
Streifenfundamentenvironment, closing one of the largest physical gaps in the generator pipeline. - The dry-concrete worst case becomes computable without leaving the 1-kHz quasi-static regime.
- Stochastic moisture maps cleanly onto the existing
Distributionframework — Monte Carlo overconcrete_rho_ohm_mis one line of config. - The lumped path adds zero solver risk: existing distributed- conductor machinery already handles arbitrary bond impedances.
Negative¶
- The distributed path touches the diagonal-augmentation hooks of every layered backend (image, image_2layer, image_nlayer, optionally mom_sommerfeld). Each backend gets one new conditional branch; the test programme covers the cross-engine agreement.
- The shell-thickness
tbecomes a new modelling decision the user has to make. We document the typical range (50–200 mm) and default to 50 mm so a "I just set \(\rho_c\) and want it to work" experience exists. StripElectrodeandConductoreach gain one optional field; JSON files written before this ADR continue to round-trip but carryNonedefaults.
Neutral¶
- The Sunde-shell decomposition is well-known textbook physics (Sunde 1968 §4.4, Tagg 1964 ch. 7). Implementing it does not expand groundfield's modelling envelope, only fills a gap.
- ADR-0007 (cross-layer electrodes) is orthogonal: a foundation at 0.8 m with a 5 cm shell stays entirely inside a typical \(h_1 \ge 1\,\text{m}\) upper layer, so the cross-layer machinery is not exercised by the concrete shell itself.
References¶
- Sunde, E. D. (1968). Earth Conduction Effects in Transmission Systems, Dover. §4.4 — wire in concrete in conducting earth (the closed-form cylindrical-shell formula used here).
- Tagg, G. F. (1964). Earth Resistances, George Newnes. Ch. 7 — foundation earth electrodes, contact-resistance contribution.
- DIN 18014:2023-06. Fundamenterder — Planung, Ausführung und Dokumentation. DIN, Berlin. Defines the geometric envelope (depth, perimeter, conductor cross section) the Sunde shell wraps.
- Banton, O. et al. (2017). Electrical resistivity of concrete: a function of moisture content and ageing. Cement and Concrete Research 95, 60–69. Empirical basis for the four-state moisture bands recommended above.
- ADR-0003 — distributed conductor model. The V1 path reuses the per-conductor distributed framework introduced there.
- ADR-0011 — OSM building footprints. This ADR completes the OSM-driven generator pipeline by giving the generated foundations the right electrical boundary condition.
Amendment 2026.11 — one mechanism: the shell coefficient on the wires (review pass 10)¶
Findings 10.12, 10.13 and 10.14.
The two variants of this ADR reached the solver on different roads, and
only one of them did. Variant 1 (lumped) recorded the total shell
resistance in World.concrete_shell_corrections, which only
TnNetworkGenerator turned into a series resistance on the PEN service
drop; Engine.solve of any other world, solve_mutual_matrix,
solve_mutual_field and the layout builder ignored it but kept the
inflated wire radius \(r_b\). For the AP1 catalogue, whose foundation matrix
comes from solve_mutual_matrix, the concrete therefore lowered the
foundation impedance at low soil resistivity instead of raising it
(10.12). Spreading a site's lumped resistance over rods and braces
mis-assigned their current (10.13), and the layout builder dropped the
shell (10.14).
Decision:
- One representation. Every electrode kind has the field
concrete_shell_coefficient_ohm_m, \(C = \frac{\rho_c}{2\pi}\ln\frac{r_b}{r_a}\) in Ω·m. The image family andsolve_mutual_*add \(C/\Delta s\) to the diagonal of every segment — variant 2 of this ADR, now for every electrode kind. Under the uniform current of an owner of length \(L\) this is exactly the lumped series resistance \(C/L\) of variant 1, so the two variants coincide by construction and the 2 % acceptance criterion is met exactly (tests/test_concrete_shell_coefficient.py,tests/test_concrete_one_mechanism.py). - Generators. Both
concrete_modelsettings put \(C\) and the radius \(r_b\) on every wire of an encased foundation, the cross-braces of a mesh foundation included (user decision Q20, below); rods stay bare; no shell resistance on PEN drops; substation and cabinet electrodes get \(C\) when their specification is encased.concrete_modelhas no effect: every rectangle without cross-braces is one owner per side (user decision Q38, below); the field is deprecated (user decision Q21, below). - Registry deprecated.
World.concrete_shell_correctionsis read by no solver and warns at solve (removal no earlier than 2027.5). - Conversion helpers in
groundfield.geometry.electrodes:concrete_shell_coefficient,shell_coefficient_from_resistance,shell_resistance_from_coefficient. - Capability. Backends outside the image family reject electrodes
with a shell (
BackendCapabilityError). Since the release scope of 2026-11-14momandmom_sommerfeldadd the same term per segment to their point-matching systems, \(C/\Delta s\) on the diagonal and the shell drop on the segment potential; with one owner per segment the image family solves the same system (agreement \(7\cdot10^{-16}\)), and an encased ring rises by exactly \(C/(2\pi r)\) in every soil.femis the backend left that rejects shells (concrete shells).
The API additions and Variant 1 sections above describe the mechanism of 0.15.0 and are superseded by this amendment.
User decision Q20 (2026.11): the cross-braces are encased¶
A foundation earth electrode per DIN 18014 lies in the concrete together
with its connections. The first version of this amendment, on the 2026.11
development line and never released, kept the cross-braces of a mesh
foundation bare (\(r_a\), no \(C\)), like the rods (finding 10.13); in 0.15.0
they had the radius \(r_b\) but no \(C\) (and with "lumped" no wire had
\(C\)). Since the user decision Q20 every wire of an encased foundation
carries \(r_b\) and \(C\), and the lumped shell resistance of the foundation
is \(C\) over its whole encased length. Bare braces were a bare electrode
inside the concrete: the foundation could not exceed the spreading
resistance of its braces alone, however dry the concrete. For the
generators' default house mesh (10 m, 2 × 2 cells, 0.8 m, \(r_a\) = 5 mm,
\(t\) = 5 cm) in 100 Ω·m encasing the braces changes \(Z\) by +1.5 / +47 /
+307 % at \(\rho_c\) = 150 / 1 000 / 5 000 Ω·m against the bare braces of the
development line. Against 0.15.0, default engine of each version, the same
house moves by +6.6 / +68 / +399 % ("distributed") and +23 / +157 /
+782 % ("lumped", whose shell Engine.solve did not read in 0.15.0).
Engine.solve and a hand assembly of the wires from solve_mutual_matrix
agree to 4e-16; the assembly uses the same kernel and owner model, so it
checks the generator's wiring of \(r_b\) and \(C\), not the numbers. An
independent thin-wire boundary-element solution (audit D2B) reproduces the
numbers to 0.02 percentage points for the same owner model; with one
current per segment (the moment-method reference) the change is +49.2 /
+318.5 % with the line kernel and +49.6 / +321.2 % with mom (audit
W2B-06) instead of +46.9 / +307 % at 1 000 / 5 000 Ω·m, a model
uncertainty of the owner model that lies in the bare-brace reference
(1.6 / 2.8 % high there, 1.5 / 2.7 % with the point kernel against mom;
at most 0.6 % for encased meshes)
(tests/test_concrete_one_mechanism.py; tables on the
concrete-shell page).
Ring and building-outline foundations, among them the AP1 catalogue, do
not change by the brace rule.
User decision Q21 (2026.11): concrete_model is deprecated¶
Since item 2 the field no longer selected a shell model; it only chose one
owner ("lumped", one grid mesh) or one per side ("distributed") for an
axis-aligned rectangle without cross-braces (style="ring", or "mesh"
with n_x = n_y = 1), and user decision Q38 (below) took that choice away
as well. The field is deprecated like the flat sommerfeld_* fields of the
engine: "distributed" keeps loading and emits a DeprecationWarning at
the user's line; the default "lumped" — also in the configuration JSON
and pickles of 0.15.0 — is accepted silently; a model_copy validates an
update of the field like the constructor (another value raises, audit
D2B-04; only that field, so a subclass with fields of its own copies as
before, audit R2B-05) and warns only when it sets the deprecated value,
also through copy.replace on Python ≥ 3.13 (audit R2B-06), so the copies
made by the generators do not repeat the warning. Assigning the attribute
and unpickling do not validate and do not warn. Removal no earlier than
2027.5 (tests/test_foundation_owners.py).
User decision Q38 (2026.11): one owner per side, already in 2026.11.0¶
Every rectangle without cross-braces (style="ring", or "mesh" with
n_x = n_y = 1) is one strip per side, bonded to the local \(-y\) side, at
every orientation and for both values of concrete_model, which therefore
has no effect; the warning of "distributed" says so. Up to the decision
the default "lumped" made an axis-aligned one — also one at a multiple of
90°, which was built as the axis-aligned rectangle with swapped sides — a
single GridMeshElectrode (rectangles at other angles were one strip per
side for both values; audit D3B-04). Rationale: of the two owner models,
one per side is the closer one to one current per segment (at the largest
decreases of the scope 0.23 … 0.90 % high against 0.55 … 2.16 % for one
owner; over the whole scope at most 1.4 % high, 150 m × 3 m bare in 30 /
200 Ω·m, against up to 2.2 % — 2.16 % for 16 m × 1 m in a 0.2 m shell of
30 Ω·m over 1 000 / 30 Ω·m at 0.25 m segments, audits D3B-01, R4B-05), it
does not depend on the
orientation, and it is what rotated rectangles and, wire by wire, meshes
already were. Polygon outlines (one closed polyline), meshes with
cross-braces and RingElectrodeSpec circles are unchanged.
Size of the change for an axis-aligned rectangle built with the default
value. The input impedance per side is never higher than with one owner:
the bonded owners carry the split of the current among the sides that
dissipates least (the owner matrix is symmetric and positive definite),
and the single owner's split is one of those they can take; for a square
nothing changes. Over the 39 soils of the AP1 grid, for a 5 mm wire at
0.8 m, bare or in concrete of 30 to 1 000 Ω·m up to 0.2 m thick, it is
lower by less than 1 % up to aspect ratio 4 (short side at least 1 m,
sides up to 80 m) and 2 % up to aspect ratio 50 (short side at least 1 m,
sides up to 150 m); bare or with the default 5 cm shell by less than 0.4 %
and 1 %. The largest decreases found are −0.686 / −1.529 % and −0.320 /
−0.907 % (4 m × 1 m and 16 m × 1 m in 0.2 m of wet concrete over
1 000 / 30 Ω·m; 80 m × 20 m and 150 m × 7.75 m in 30 / 200 Ω·m): the
scan of audit R2B-01 (13 524 owner matrices, every value of \(\rho_c\)),
re-run for the decision, with no positive value beyond round-off, and
Engine.solve and the owner algebra agree. The same numbers bounded the
difference between the two values of the field before the decision, as
one owner over one per side minus one: the first version of decision Q21
quoted 0.16 % and 0.67 %, measured on six rings; the second 0.7 % and
1.6 %, the maxima of a coarser scan, without a shortest side for aspect
ratio 4 (2 m × 0.5 m changes by −1.01 %). The largest values belong to the
0.2 m shell, whose outer radius of 0.205 m is not thin against the default
0.5 m segments (ratio 2.4, below the thin-wire limit of 5): there an
independent solution that averages the potential over the wire surface
gives −0.594 / −1.447 % instead of −0.686 / −1.529 % (the same at 0.25,
0.125 and 0.083 m segments), and the comparison of each model with one
current per segment on the
concrete-shell page
is not converged.
Consequences: the AP1 station (4 m × 4 m ring with three rods) changes by
−0.0009 … −0.0026 % over the 39 AP1 soils, its houses (building outlines)
not at all; the golden case mutual_foundations_lumped_concrete equals
mutual_foundations_distributed_concrete (its passive foundation carries
equalising currents: \(Z_G\) 5.2e-4; the field at its edges +5.5 / −4.7 %
— +5.9 / −5.1 % with the golden engine's 2 m segments and the point
kernel, a segmentation effect (audit R4B-13) —, 1.6 % of the largest value
of the case's field, the golden harness's norm-wise measure, audit
D3B-02). The
electrode named after the foundation is the \(-y\) side, so its current and
grounding_impedance refer to that side (as for rotated rectangles and
meshes); cluster quantities (cluster_impedance, input_impedance,
solve_mutual_matrix, the touch-voltage helpers, which take the whole
foundation) keep their meaning. Its connection point, where conductors
attached by name start, moves from the centre of the rectangle to the
corner at the start of the \(-y\) side; the generators' cables and service
drops end at the point of the foundation nearest to each conductor
instead (user decision Q41, ADR-0009 amendment 2026.11), so that corner is
no longer where they meet the house. fem reduces the four strips as a
cluster of four electrodes (see the
fem page). Tests:
tests/test_foundation_owners.py (# user decision Q38).