Changelog¶
All notable changes to groundfield are documented in this file. The format
is based on Keep a Changelog.
These are concise release notes. The full narrative of every review and audit
pass (findings, measurements, decisions) is kept verbatim in the
audit history; work that is planned but not scheduled is on
the roadmap. Up to 0.15.0 both stood in this file; they moved in
2026.11.0, and the release notes of 0.1.0 to 0.15.0 were condensed. The
complete text as published is in the history of this file (for example at the
tag v0.15.0).
Versioning. From 2026.11.0 on, the project uses
Calendar Versioning with the scheme YYYY.MM.MICRO in
its PEP 440 form: the month has no leading
zero and there is no hyphen, MICRO counts the earlier releases of the same
month, and tags carry a v prefix. 2026.11.0 is the first release of
November 2026, 2026.11.1 the second one, 2027.1.0 the first release of
January 2027. Releases up to 0.15.0 followed
Semantic Versioning.
Deprecation policy. A calendar version carries no compatibility promise; compatibility follows this policy instead:
- A deprecated name, parameter or behaviour keeps working and emits a
DeprecationWarningthat names its replacement and the earliest release in which it may be removed. - It is removed no earlier than two releases and six months after the
release that announced the deprecation (announced in
2026.11.0: removed in2027.5.0at the earliest). - Every deprecation is listed under Deprecated in the release that announces it, every removal under Removed in the release that performs it.
Categories. Each release lists its changes under Added, Changed,
Deprecated, Removed, Fixed and Security. An entry marked ⚠
changes numerical results; from 2026.11.0 on, every release that moves numbers
opens with a Numbers that change block (what moves, by how much, for whom,
and how to get the old numbers back), and every Fixed entry names the test
that fails on the previous release. Finding identifiers (F01–F57 of review
pass 9, 10.01–10.95 of review pass 10) refer to the audit history.
Contributing. Add your entry under the matching category of the
[Unreleased] block; python scripts/release.py calver turns that block into
the section ## [YYYY.M.MICRO] - YYYY-MM-DD of the new release.
Releases that changed numbers¶
Results computed with an older version can differ from the current ones. This table lists every release that moved numbers on purpose; the release notes give the details.
| Release | What moved | Size of the change, or of the error it removed | Who is affected |
|---|---|---|---|
| 2026.11.0 | default line-source kernel, return currents and measurement loop, electrodes through and at a layer interface, concrete shells, floating passive clusters, solve_mutual_matrix (galerkin off-diagonal), touch voltages and the permissible touch voltage beyond 10 s, rho-f fits and exports, carson_series and other inductive kernels, the tabulated Sommerfeld assembly, fem, generator geometry and PEN routing |
from round-off to a complete change of simulated measurement readings (see Numbers that change below) | nearly every study: AP1 catalogue, touch-voltage assessments, rho-f exports, inductive and measurement studies |
| 0.15.0 | fem, layered mom_sommerfeld, coupling.layered_green, the image family for unequal segment lengths, references.pollaczek, two references.dwight1936 formulas, rho_f_standard with dead frequencies |
fem errors up to −79 % removed; image family up to +12 %; mom_sommerfeld kernels of the wrong sign removed |
layered and fem studies, mixed-length geometries, reference comparisons |
| 0.14.1 | exported groundinsight formulas of vector fits | 28 % at 16.7 Hz in the test case | BusTypes exported from fits with a negative imaginary residue |
| 0.13.0 | default earth_inductive_model (sommerfeld), two-layer inductive kernel, grids discretised with a half-integer number of segments per span |
grid resistance was 1.97× to 2.89× too high; layer attribution of the reactance | inductive studies, grid electrodes |
| 0.11.0 | multiport matrices with unequal segment lengths, layer-2 field points, sommerfeld and carson_series inductive results, the series truncation criterion, vector fits with complex residues |
layer-2 potential errors of +7 % and +25 % removed; Carson integrals were −36 % and +67 % off | layered studies, inductive studies, rho-f fits |
| 0.5.0 | order of FieldResult.frequencies for a non-increasing frequency list |
order only | sweeps over unsorted frequency lists |
Unreleased¶
2026.11.0 - 2026-11-20¶
The first calendar-versioned release. It implements review pass 10 against 0.15.0 (findings 10.01–10.95; audit history, pass 10) and closes the pass-9 findings F01, F02 and F32 that 0.15.0 left open. The release notes the work streams wrote, with every measurement and test, are reproduced on the pass-10 page, which also lists the author's decisions on the questions the release preparation left open. Many results move on purpose: read Numbers that change first.
Numbers that change¶
⚠ Every change of this release that moves a result computed with 0.15.0. Sizes are relative to 0.15.0; golden names the stored reference cases that moved (the golden harness against the 0.15.0 baseline, before this release replaced it by its own: 261 of 453 stored quantities in 32 of 48 cases moved, each declared with its finding, 10 are no longer produced and 120 are new (generated mesh foundations are one electrode per wire); 4 cases are bit-identical and 12 differ by round-off, below 1e-9). Where a switch reproduces 0.15.0, it is named.
| Finding | What moves | Size | Who is affected |
|---|---|---|---|
| 10.28, 10.33 | the exact line-source kernel is the default of image and image_2layer (also through the deprecated alias cim), of FieldResult.potential and of solve_mutual_* |
3 m rod +0.60 % (surface potential up to +1.9 %), two-layer ring +1.23 %, ring r = 2 m through cim +0.85 %, two rods joined by a bare conductor with 5 m segments: currents 10.9 %, cluster impedance 8.4 % (golden defaults_rod_hom, defaults_two_layer_ring_auto, defaults_mixed_cluster_inductive) |
every image-family study, the AP1 catalogue (Z_G, potentials); Engine(kernel="point") reproduces 0.15.0 |
| 10.15, F02 | an electrode through the layer interface has one current per layer in image_2layer and solve_mutual_* |
a 12 m rod through h₁ = 5 m was +566 % (1000/30 Ω·m), +148 % and +123 % off; now +0.11 … +0.31 % (point kernel) and +0.7 … +1.3 % (line kernel) from mom (golden img2_rod_crosslayer −46.5 %, mutual_three_rods_crosslayer) |
rods through h₁; not the AP1 station rods (4 m from 0.6 m depth, h₁ ≥ 5 m) |
| 10.12–10.14, F08 | one concrete-shell mechanism, also in solve_mutual_*, the layout builder and station and cabinet foundations |
AP1-like site (ρ_c = 100 Ω·m, 5 cm): house Z_G diagonal +42 / +19 / +2.8 % and network input impedance +13.6 / +8.8 / +2.2 % at ρ₁ = 30 / 100 / 1000 Ω·m; generated mesh foundations: see the Q20 row (golden mutual_foundations_lumped_concrete +42.2 %) |
every world with concrete_rho_ohm_m, including AP1 runs with concrete shells |
| 10.26, 10.29, 10.34 | solve_mutual_matrix: length-weighted diagonal over all members and layers, the other clusters float, and the reciprocal galerkin off-diagonal for every call (probe points are ignored with ProbePointsIgnoredWarning unless offdiag="probe"; user decision Q15) |
AP1-like site: house diagonal up to 0.10 %, station 0.000 %; the probe off-diagonal missed the input impedance of the joined network by −0.15 … −0.88 % (single entries up to 41 %), galerkin reproduces it to 7e-13; AP1 catalogue path |Z_ons| at 50 Hz −0.05 … +0.29 % up to 20 % penetration, up to +2.67 % at 40 %; rods split at h₁ were −3.8 / −9.1 % off (golden mutual_foundations_distributed_concrete R 1.6 %, Z_G of four mutual cases 7.7e-4 … 8.8e-4) |
AP1 mutual matrices Z_G; offdiag="probe" reproduces the 0.15.0 off-diagonal |
| 10.25 | potential and solve_mutual_* sum the image series with the engine's controls (was 100 terms) |
K = −0.94 with image_max_terms=2000: potential 100 m from a ring 0.8 % |
high-contrast two-layer studies with a raised term cap |
| 10.16, 10.17, F01/F30 | Source.return_to is honoured; measurement leads end on junction nodes at the instrument |
auxiliary rod 20 m away: the probe at 61.8 % now reads the remote impedance to −1.6e-3 (0.15.0: −9.9 %); with leads the old reading was 2.8e-4 Ω instead of 1.58 Ω (golden gen_tn_measurement_overhead_leads: auxiliary rod −1 A instead of +0.024 A, network potentials −1.8 %) |
simulated fall-of-potential measurements (AP1 Phase B), every world with return_to |
| 10.29 | passive clusters float (zero net current, one potential, equalising currents) in every backend | a passive electrode in mom: −59 % … +1.5 %; a bonded passive pair in the image family: one potential instead of two (golden floating_bonded_pair_two_layer 60.5 %, cond_coupled_leads_open_circuit 42.5 %) |
probes, auxiliary electrodes, unbonded neighbours with several electrodes, passive leads |
| 10.38 | PEN cable joints of the layout builder are leakage-free junctions | substation potential +0.07 … +0.33 % (full foundation penetration), +3.5 % at 5 % penetration (golden gen_layout_builder) |
layout-builder worlds |
| 10.54, 10.39 | layout foundations follow the footprint; rotated mesh foundations split at their crossings | substation impedance 0 / +0.45 / +5.31 % in three test streets; mesh foundations +1.0 … +1.2 % (−9.5 % where the clamp fired) | layout and OSM worlds; foundation_outline="spec" reproduces 0.15.0 |
| 10.53 | reproducible draws; masks of footprints without OSM id keyed by outline | reordering the footprints moved Z by 2.8 % before | sample_world, masks of footprints without osm_id |
| 10.55 | MeasurementLeadConfig.depth_m and PenConfig.depth_m are honoured |
coupled imaginary part of the probe +37 % (overhead) and +21 % (buried) at 1 kHz; inductive PEN at 1 kHz X 0.736 → 0.167 Ω; bare PEN −1.4 % (golden gen_tn_default ≤ 3.5e-7) |
generator worlds with leads or inductive PEN |
| 10.21, F13 | touch voltage 1 m from the nearest wire of the footprint; the envelope follows that offset curve and samples no interior unless asked (interior="meshes" for open-air grids; user decision Q3) |
20 m × 20 m grid (100 A, 100 Ω·m): 9.92 → 61.3 V at +x (default line kernel; 60.0 V with the point kernel, 61.6 V with mom; 69.6 V with one current over the whole grid before user decision Q30), envelope 9.92 → 111.4 V (98.7 V with one current per wire line, user decision Q30); star 275 → 818 V; 10 m ring envelope 139.4 V unchanged (182.6 V in its centre with interior="meshes"); rotated foundation 214.4 / 93.9 V → 161.5 V (golden img_mixed_cluster_hom: strip ×3.2, star ×2.1) |
touch-voltage assessments of grids, meshes, stars, strips, polylines, rings and rotated foundations; rods unchanged; anchor="connection_point" reproduces 0.15.0 |
| 10.42 | the permissible touch voltage beyond 10 s is the 80 V of the note to Figure 8 of EN 50522 (user decision Q4) | permissible_touch_voltage_en50522(t_f > 10 s) 85 → 80 V (−5.9 %); math.inf (fault not cleared) raised, now 80 V; prospective value with 1000 Ω shoes on 100 Ω·m 142.5 → 137.5 V |
assessments with fault durations above 10 s, resonant-earthed networks |
| 10.18, 10.19 | sweep, convergence_study and the rho-f helpers use the input impedance |
the cluster impedance of a station was 1.26 / 1.79 / 3.09 × the input impedance with 1 / 3 / 8 houses on a PEN; a ring with two bonded rods was fitted 17 % too high | sweeps of TN worlds and BusTypes exported with the rho-f helpers; the AP1 catalogue computes its own driving-point impedance |
| 10.27 | the standard rho-f form gains a constant term k0 and relative weights |
worst pointwise error 15–27 % (ring) and 43 % (AP1-like station) → 0.8–3.3 % and 6.2 % (golden fit_rho_f_standard_sweep) |
rho-f formulas exported to groundinsight, AP1 exports included; k0=False, weights="uniform" reproduces 0.15.0 |
| 10.73, 10.01 | exported formulas are partial fractions with float coefficients; parsed formulas hold their numbers as floats and are evaluated without lambdify |
at most half a unit in the last printed digit; evaluated formulas at most 4.1e-16 (exporter output) and 3.3e-15 (hand-written) | text diffs of BusType files, hand-written formulas |
| 10.20, F32 | carson_series on the anti-parallel image; a pair across the surface couples through the field transmitted into the soil; oblique, inclined and vertical segments (beyond 8.1°) get the Sommerfeld correction |
the earth-return reactance of a 1 km PEN was 2.04 × (50 Hz) and 2.19 × (1 kHz) Carson's; 30-house network |Z| −16.4 % at 1 kHz (0.15.0's world; −18.9 % with the release's generator changes) (golden cond_galvanic_neumann_carson_series 0.60 %); an overhead lead 1 m above a PEN at 0.7 m: mutual reactance was 35.9 % low (1 kHz, 100 Ω·m); a probe lead turning 8.1° against the feed lead changed the reading 17.6-fold |
carson_series studies, measurement leads over buried conductors |
| 10.46 | exact touching segment pairs, exact removal of the additive image, Carson's small-a series; wires closer than the sum of their radii are touching wires; close non-parallel pairs are integrated semi-analytically | Im Z +6.0 % for a conductor inclined by 30° and +18.4 % for a steep riser (default sommerfeld, point kernel), Re Z unchanged; at most 3.2e-6 in the golden cases; two coincident 50 m leads 1.87 H → 82 µH of mutual inductance; near-parallel pairs 1 cm apart were +200 … +250 %; a core inside a cable shield couples at the shield radius (loop inductance was +36 %; since user decision Q32 only with the cable_shield marker); the generator's in-line fall-of-potential reading Im Z_meas 0.063 → 0.054 Ω (50 Hz, sommerfeld) |
inductive studies with inclined, vertical or closely spaced conductors, simulated measurements with leads (AP1 Phase B) |
| 10.35, 10.36, F52 | Sommerfeld kernel for three or more layers and below h₁; λ grid of distant pairs | a three-layer earth with ρ₂ = ρ₃ was +17 … +25 % in X′; pair entries 200 m and 400 m apart were −24 % and +274 % off (golden at most 2.1e-5) | sommerfeld on MultiLayerSoil, deep conductors, large networks |
| 10.24 | inductance of lumped and single-segment Neumann conductors; leakage of a one-piece galvanic conductor; the sommerfeld correction of a segment longer than a quarter skin depth is integrated piecewise |
300 m PEN at 1 kHz 0.0564 + 0j Ω → 0.2096 + 3.7840j Ω (equal to its 10 m chain); two rods joined by a bare one-piece conductor 22.74 → 5.54 Ω; a lumped 3 km conductor at 1 kHz (100 Ω·m) had +13.4 % earth-return resistance against its refined chain, now ≤ 1e-4; distributed conductors with pieces longer than 40 m (1 kHz, 100 Ω·m) move by 1e-4 and more | service drops shorter than the PEN segment length, lumped leads, long lumped or coarsely divided conductors under sommerfeld |
| 10.45 | references.pollaczek uses the exact buried amplitude and the K₀ head |
R′ at 1 kHz +0.15 % (1 m) and +1.0 % (3 m) in homogeneous soil, up to +1.4 % for a conductor in the upper layer and +3.5 % below the interface; X′ at most −0.09 % | callers of the Pollaczek references |
| 10.30, 10.48 | cim reads the length-weighted potential; equal adjacent layers are merged in every backend |
a rod split unevenly at h₁ = 2 m −3.9 % in cim; a rod through an equal-resistivity interface +0.07 % (mom family), +0.42 % (cim); TwoLayerSoil(ρ, ρ, h) in image_2layer was 3.8e-4 (point kernel) and 3.3e-7 (line kernel) from homogeneous soil, now equal bit for bit |
cim and declared equal layers; not AP1 |
| 10.49, 10.23 | fem truncation keeps its radial resolution; electrodes below the hemisphere's layer raise, and so do a more conductive layer that no electrode touches within the hemisphere or, unshielded, the electrodes' horizontal half-extent (user decision Q23), strips and rings deeper than their formulas reach and electrodes out of the soil |
layered fem +0.16 … +1.64 % (golden fem_rod_two_layer_deep); the silent +633 … +3138 % cases, the −97 … +30 % conductive-layer cases (a warning before) and the silent +369 … +6120 % deep strips now raise; generated rectangles without cross-braces, four strips since user decision Q38, read −24 … −52 % against their former one-grid form (the AP1 station −16 … −49 %) (10 m square ring in 100 Ω·m: −32 % against the image family, +21 % before), three layered ones that the grid form refused are solved with the warning (−42 … −58 %), a 20 m × 1 m ring at 0.8 m now raises |
every layered fem result |
| 10.75 | mom and mom_sommerfeld honour return_to and junctions |
the return current flows through the return electrode instead of remote earth | mom family worlds with two-terminal sources |
| 10.32, 10.28 | every interface cut is kept, however short the part beyond it, and the diagonal of a piece at the interface is evaluated at the wire radius, so a rod tip or head next to the interface is in contact with the layer it reaches and a wire lying at the interface is continuous across it | a 4.5 m rod (a = 8 mm) in 1000/30 Ω·m with its tip 12 mm into the lower layer: 193.3 → 137.4 Ω (−29 %), within −1.2 % of a solid-rod reference; a ring (r = 3 m) at h₁ = 5 m: 9.56 Ω (0.15.0, point kernel) → 4.18 Ω, continuous across h₁ (the point form raises there); a rod end within one wire radius of h₁ warns (InterfaceContactWarning, the thin-wire model has no end face); with kernel="point" and mom rod tips up to about 0.1 m past h₁ move as well (+0.4 % at 50 mm, +0.05 % at 100 mm, h₁ = 5 m) (golden: none) |
rods whose tip or head lies within 16 mm of an interface (0.1 m with the point form), horizontal wires at an interface; not AP1 |
| 10.12, 10.39 | generated mesh foundations are one current owner per wire line at every orientation, bare or encased | bare axis-aligned mesh foundations −1.2 % (10 m, 2 × 2) to −2.5 % (30 m, 4 × 4), now +1.1 % against mom with the default line kernel (+0.3 … +0.5 % with the point kernel); generated networks −0.7 … −0.8 % in every node potential and up to 4.7 % in surface potentials; largest touch voltage over the default house mesh −3.6 % (golden gen_tn_default, gen_layout_builder, gen_tn_measurement_overhead_leads) |
generator and layout-builder worlds with mesh foundations; not AP1 (lumped polygon foundations) |
| 10.12–10.14, 10.39, 10.28 (user decision Q20) | encased mesh foundations: every wire, cross-braces included, carries r_b and the shell coefficient C (in 0.15.0 every wire had r_b, but "lumped" put C on no wire and kept the shell in a registry that only the TN service drops read, "distributed" put C on the perimeter only) |
default house mesh (10 m, 2 × 2, 0.8 m, r_a = 5 mm, t = 5 cm) in 100 Ω·m at ρ_c = 50 / 100 / 150 / 1000 / 5000 Ω·m, default engine of each version: +7.0 / +15 / +23 / +157 / +782 % against 0.15.0 "lumped", +2.2 / +4.2 / +6.6 / +68 / +399 % against "distributed" (point kernel on both: +6.2 … +781 % and +1.5 … +398 %); in 30 over 100 Ω·m (h₁ = 5 m) up to +1701 % and +1045 %; four such houses on the default TN network (100 Ω·m): −3.8 / −5.2 / −6.5 / −14 / −11 % ("lumped", whose shell sat on the service drop) and −0.3 / +1.0 / +2.5 / +35 / +121 % ("distributed"), of which −1.7 % without any shell (10.38, 10.28); the rule for the braces alone, against the 0.15.0 "distributed" model (braces with r_b, no C): +5.9 / +66 / +393 % at 150 / 1000 / 5000 Ω·m (against the bare braces of the development line, never released: +1.5 / +47 / +307 %) (golden: none) |
generated mesh foundations with concrete_rho_ohm_m set; not worlds without a shell, not ring and building-outline foundations (AP1: see the 10.12–10.14 row) |
| 10.39 (user decision Q38) | an axis-aligned rectangular foundation without cross-braces (style="ring", or "mesh" with n_x = n_y = 1) with the default concrete_model is one current owner per side instead of one grid mesh, connected at the corner of its −y side instead of its centre (the generators' conductors at its nearest point since user decision Q41) |
input impedance of a foundation on its own never higher, unchanged for a square; largest decreases over the AP1 soils (5 mm wire at 0.8 m, short side ≥ 1 m, aspect ratio ≤ 4 / ≤ 50): −0.32 / −0.91 % bare or with the default 5 cm shell (80 m × 20 m with 5 cm of 30 Ω·m concrete / 150 m × 7.75 m bare, both in 30 over 200 Ω·m), −0.69 / −1.53 % in up to 0.2 m of wet concrete (4 m × 1 m / 16 m × 1 m in 0.2 m of 30 Ω·m concrete over 1000 / 30 Ω·m), −0.09 / −0.33 % bare in homogeneous soil; AP1 station −0.0009 … −0.0026 %; TN networks with 1 / 2 / 5 / 30 / 100 ring-foundation houses +0.023 / +0.007 / +0.024 / −0.038 / −0.039 % (with Q41 +0.012 / −0.005 / +0.012 / −0.044 / −0.044 %); touch-voltage envelope of 20 m × 5 m and 40 m × 10 m rings −0.4 … −4.3 % (the centre +0.5 … +6.9 %); fem see the 10.49 row (golden mutual_foundations_lumped_concrete: Z_G 5.2e-4, R 1.6 %, now equal to the distributed case) |
generated style="ring" foundations and meshes with n_x = n_y = 1 at multiples of 90° with the default value, OMBR foundations of axis-aligned footprints with these specs (not the layout builder's default braced mesh), the AP1 station; not building outlines (the AP1 houses), braced meshes or rectangles at other angles |
| 10.38 (user decision Q41) | conductors the generators route to a foundation end at its nearest point (closest pair of cable and foundation for service drops; the foundation's point nearest to the next node for cables leaving a site); a building that a cable of its feeding path crosses (radial: any trunk; star: the main that crosses it, whose cabinet then feeds it) is joined to it without a drop; no drop runs along a cable farther than 1 cm (one minimum section; "along" as defined in the known limitations) | seed 1, 100 Ω·m, default grid; default resistive PEN at 50 Hz: star −0.005 … −0.12 % (10 / 30 / 50 / 100 / 150 / 200 mesh houses −0.008 / −0.006 / −0.117 / −0.006 / −0.055 / −0.005 %, 1 … 200 ring houses −0.005 … −0.012 %), radial −0.03 … +0.13 %; Neumann PEN at 1 kHz (carson_series and sommerfeld, the default; isolated and galvanic): star Re −0.43 … +1.6 %, Im −3.1 … +16.3 %, |Z| −0.71 … +3.3 % (the 10-house network, 5 of its 10 houses on the main: X +14.2 % carson_series, +16.3 % sommerfeld, bare PEN at 50 Hz +2.0 %; without it Im −3.1 … +3.5 %), radial Re −0.47 … +8.4 %, Im −8.6 … +37.7 %, |Z| −0.67 … +9.0 % (default 30 houses, isolated, sommerfeld: Im +10.4 %); against drops to the centre as in 0.15.0, Im at 1 kHz: 12 m × 8 m ring houses (audit D3A) +5.7 … +14.0 %, default 10 m ring houses star +1.2 … +2.1 % (the 30-house network; the networks of 1 … 5 houses have no drop, all on the main: +0.6 … +10.4 % from the joint and the Q38 owner), radial −10.8 … −1.1 %; a layout of building outlines with an AP1-like station −0.026 … −0.147 % at 50 Hz, drops 215.9 → 140.6 m; golden gen_tn_default ≤ 2.9e-4, gen_layout_builder ≤ 1.1e-3, gen_tn_measurement_overhead_leads ≤ 1.6e-4 (the probe reading 4.3e-3) |
TnNetworkGenerator and layout-builder worlds with foundations; not sites without a foundation, not worlds built by hand (the AP1 catalogue attaches its drops by name and does not change) (default-grid values measured before user decisions Q22, Q35 and Q43, see the next rows) |
| fw1sol open point (projected coordinates) | worlds with a horizontal coordinate beyond 10 km are solved in an exactly shifted local frame; segment and piece counts allow the round-off of the coordinates' magnitude | point kernel, mom, mom_sommerfeld: up to 2.8e-4 (Z), 4.5e-4 (touch voltage) → 3e-11; line kernel up to 1.5e-6 → ≤ 5e-11 with the continuous switch of wave 3 (user decision D2); distributed conductors whose length is a whole number of pieces up to round-off get no extra piece at any position (a 60 m / 10 m counterpoise near the origin in a quarter of all directions 7 → 6 pieces: Z −0.30 % image, −2.54 % mom; audit W2B-03) |
worlds at projected (UTM) coordinates (AP2 worlds in UTM); distributed conductors near the origin whose length is a multiple of discretize_segment_length; not the AP1 catalogue, no golden case |
| 10.22 (Q30) | grids built by hand: one owner per wire line | −1.2 % (10 m 2 × 2) … −4.0 % (40 m 8 × 8) … −5.5 % (100 m 20 × 20) in 100 Ω·m, −1.2 … −2.0 % in 1000/100/5, −1.7 … −4.8 % in 5 cm of wet concrete; against one current per segment +1.6 … +4.9 % → +0.36 … +0.70 %; 20 m grid corner: touch +20 % → +6.4 %, step −21 % → −7.6 % (from above the corner −28 % → −11 %), mesh voltage +22 % → +8.6 % (against mom); touch-voltage envelope of the 10.21 note 111.44 → 98.72 V; the references example 2.39 → 2.31 Ω |
GridMeshElectrode / MeshElectrode worlds (not generated foundations) |
| 10.22 (Q30, Q44) | polylines one owner per straight run, stars per arm | rectangle outlines −0.000 … −0.31 % bare, −0.62 % in wet concrete (16 m × 1 m), L-shape −0.13 / −0.19 %; T06 outlines alone ≤ −0.004 %; T06 layout with the AP1 station −0.03 … −0.40 % (one current per segment: +0.14 … +0.51 % → +0.07 … +0.12 % above it); stars alone 0, in a cluster member currents up to 3.4 % | building outlines (the AP1 houses), hand-built polylines, stars next to other electrodes |
| 10.46 (Q32) | unmarked conductors of different radii on one axis touch | coax pair 31.97 → 43.47 µH loop | worlds with conductors drawn on one axis without the marker |
| 10.46 (Q33) | shield without internal inductance | −50 nH/m per cable_shield conductor; coax 31.97 → 26.97 µH; buried_lead() two-pole −2.5 % in X |
cable_shield conductors with inductance_model |
| Q22 / Q35, Q43 (10.38) | cabinets per building group at the far end of their houses, radial substation slots tap the trunk; mains and drops meet rings and strips at their nearest point; layout cables reach a site where the polyline enters it | default grids (10 … 150 houses, 100 Ω·m): resistive PEN at 50 Hz star +0.12 … +0.85 %, radial −0.01 … +0.49 % (Q43 alone −0.05 … −0.13 %); isolated Neumann PEN (n ≤ 50, carson_series and sommerfeld): 50 Hz |Z| −0.03 … +0.97 %, Im −9.9 … +82 %; 1 kHz star Re −6.0 … +5.6 %, Im −9.1 … +70 %, |Z| −1.4 … +13.1 %, radial Re −0.5 … +8.3 %, Im −9.6 … +96 %, |Z| −1.2 … +15.4 % (default star 30 houses X +64 / +55 %: the houses share their main instead of parallel drops; Q43 alone Im −4 … −11 %); 100 ring houses +0.88 %; T06 layout −0.026 % (100 Ω·m), T07 Z_meas +1.51 %; the AP1-like layout (foundation station) unchanged; golden gen_tn_default ≤ 1.4e-2 (cabinet rod current −63 %), gen_tn_measurement_overhead_leads ≤ 1.9e-2 |
TnNetworkGenerator worlds (cabinet positions and feeding with the default placement=None; radial substation slots; every default substation ring); layout worlds with ring / strip sites or router corners inside a site; not a given cabinet placement apart from Q43, not foundation stations |
| W1B-01, W1B-02 (10.38) | cabinet of a wide group (farther than max_far_end_gap_m = 20 m from its houses on the centroid ray) on the ray through its far-end building; clearance over every electrode |
default star grids of 100 … 200 houses and AP1 mixes with a wide group (100 Ω·m): resistive PEN 50 Hz −0.03 … +0.49 % (star 100 −0.031 %, 150 +0.089 %, 200 +0.072 %, 10 houses + 1 small +0.489 %; image 2 m and 1 m agree to 0.001 %); isolated Neumann PEN of the wide mixes at 1 kHz |Z| +0.3 … +1.9 %; star 100 at 1 kHz X +1.2 / −3.5 %, |Z| +2.0 / −1.8 % (carson_series / sommerfeld; the two models disagree in sign here); 100 ring houses −0.023 %; drops 10 houses + 1 small 527 → 312 m, star 150 2 653 → 2 989 m; the 10 / 30 / 50-house grids, radial networks and golden cases unchanged |
TnNetworkGenerator star worlds with placement=None that have a wide group, or rods at a group's far end; not a given placement |
| W1B-03, W1B-04 (10.38) | layout cables joined to every substation / cabinet they pass; legs that leave and come back keep their taps | layouts with a cable through a passed cabinet −0.16 … −0.45 % (50 Hz, 1 m / 0.5 m); R6A's families: 32 of 200 cabinet, 10 of 120 random layouts change (drops −7.4 … +2.0 m); T06 and the AP1-like layout unchanged | LvNetworkLayout worlds whose cables pass through the closed electrodes of a site other than at their ends |
| 10.46 (Q32/Q33), audit W1A-02 | pieces of conductors lying beside each other | coax in pieces +0.09 … +9.6 % (back to the lumped value); drops routed back along the PEN main: X(1 kHz) +3.9e-4, Zin 1.3e-5 (golden cond_drops_along_pen_main_perfect_mirror) |
worlds with a core inside a marked shield, or cables / drops drawn on one axis, with discretize_segment_length |
| 10.22 (Q30), audit W1A-01 | owners at projected coordinates | generated mesh foundations at UTM coordinates +0.09 … +0.64 % (back to the local value) | worlds built at absolute UTM coordinates |
| 10.46 (Q32/Q33), audits W1R2-01, W1R3-01, W1R3-02 | pieces of conductors lying beside each other that are not parallel | tilted coax in pieces +0.004 … +8.0 % (back to the lumped value); a core crossing the shield's axis −8.6e-5 … −3.0e-5 → lumped; shield pieces of mixed length up to +1.6e-3; wires leaving a junction in fine pieces +0.098 / +0.75 % at 3° in 0.1 / 0.02 m pieces (W1R2-01, measured in W1R3-05), +0.15 % at 8.2° and +0.11 % at 10° in 0.02 m pieces (W1R3-02); drops routed back along a split main +6.8e-5 … +1.65e-3 (W1R2-01, W1R3-05); overhead measurement leads: probe junction potential 6.5e-5 … 1.1e-4, U_HS ≤ 1.05e-6 | worlds with a core drawn off its shield's axis, touching cables / leads drawn at an angle, or wires leaving one junction at an angle, with discretize_segment_length (the generator's overhead leads); generated networks otherwise bit-identical |
| 10.22 (Q30), audit W1R2-05 | straight runs at projected coordinates | arc-like polylines at UTM coordinates with vertices less than 0.46 µm off their neighbours' chord (audit W1R3-04), e.g. a 2° arc electrode +1.27 % → +5.5e-4 against the local origin | worlds at absolute UTM coordinates |
D2, W2B-01/-02, 10.28 (wave 3, stream w3xl) |
line kernel: blended near/far switch, far form with the radius term, far images with the quadrupole term, cross-layer correction in line form | homogeneous: ≤ 7.8e-7 (golden), the 12 m strip of W2B 1e-7 … 1e-6; two layers: house grids 3e-6 … 1.8e-4, wires near the interface up to 6.2e-4 (audit W3A-04), surface potentials near the interface up to 0.9 %; cross-layer: rods ≤ 4e-4, the AP1 station −4e-5 (40 %); golden line_*, defaults_rod_hom, defaults_mixed_cluster_inductive, defaults_two_layer_ring_auto up to 6.0e-4 |
every line-kernel result (the default of the image family); not kernel="point", not the mom family |
W3A-02 (wave 3, stream fw3xl) |
image pairs at the transverse distance, no radius term on far images, symmetric image corrections | rings and wires within 1 cm … 0.5 m of an interface up to −1.6 % (the ring 1 cm above 1000/30); 0.4 … 0.7 m above −1.2e-6 … −4.7e-6; ≥ 1 m above < 2e-7; homogeneous soil and kernel="point" unchanged; golden line_img2_ring_rods_within_layer 3.2e-7, defaults_two_layer_ring_auto 9.4e-8, line_mutual_two_layer 1.7e-8, line_img2_rod_crosslayer 1.0e-8 |
line-kernel results in two-layer soil (the default) |
W3R2A-01, W3R2A-03 (wave 3, stream fw3r2a) |
image_far_field="point" on the cross-layer path keeps the near pairs of every image; the image blend near the interface over a/10 |
point form, long segments below the interface: the 75 m strip −58 % → −3e-7 against its exact value (37.5 m pieces), −1.0e-3 → −1.3e-6 (2.5 m); networks with long pieces −1.1 %; TN40 1000/30 (transformer rods below h₁) +2.3e-4; wires 0 < g < a/2 from the interface up to −18 % (the ring 1.75 mm above 1000/30, 7.319 → 5.985 Ω); the default form beyond a/2 and the series path unchanged | point-form results with a wire at or below h₁; line-kernel results with a wire within half a radius of the interface |
Q37, Q40 (wave 4, streams w4axi, w4fem3d) |
fem conforming (axisymmetric and 3-D) instead of the equivalent hemisphere |
every fem result: the stored 3 m rods −4.65 % / −4.57 %, the B2 rod / B3 ring −0.70 % / −0.35 %, a ring with a bonded central rod +20 %, a ring 1 cm above a conductive layer −67 %, a rod 2 cm into a conductive top layer +164 %; worlds refused before (strips, grids, meshes, the AP1 station, several clusters, galvanic conductors) are solved; golden fem_rod_hom, fem_rod_two_layer_deep |
anyone using fem as a check |
W4A-01, W4B-01 (wave 4, streams fw4axi, fw4fem3d) |
fem: the mesh block of a ring at an interface refined; the 3-D radius correction counts only the near parts of other wires |
rings within 1.05 radii of an interface up to 6.0e-3 (towards the reference; a ring 0.01 a from a 30 Ω·m layer under 1000 Ω·m +1.83e-3 → −2.7e-5); 3-D: rods and rings 0.5 … 0.8 m deep ≤ 3e-5, the AP1 station −0.9e-4 … −1.1e-4, a ring 6 cm deep −1.9e-3, two rings 10 cm apart −5.8e-3, the house mesh with bare braces −3.4e-4 / −5.8e-4 (brace effect +49.14 / +318.23 %), a galvanic chain −2.5e-4; no golden case | users of fem |
W4R2A-01, -02, W4R2B-01 … -03 (wave 4, round 2, streams fw4r2a, fw4r2b) |
fem: the ring block at an interface graded towards the contact points; 3-D: wires that run beside each other kept 1.5 source radii apart, the axis distance of oblique pieces, the own polyline whole only below a turn of 120° |
axisymmetric: rings within 1.05 radii of an interface towards the reference, by up to 1.6e-2 touching a 1000 times more conductive layer (within the earlier estimates below a contrast of 33); 3-D: coaxial rings 4.5 … 7.5 cm apart in a port entry +1.99e-2 … +4.35e-3 → −8e-5 … −1.25e-3, rings diagonal to each other 1.3 … 3.8 mm apart refused (+11 … +14 % before), a 20 m oblique strip +3.78e-4, small rings and folded arms −9e-6 … −2.0e-3; the AP1 station and the house mesh unchanged to 7 digits; no golden case | users of fem |
W4R3A-01 (wave 4, round 3, stream fw4r3a) |
fem (axisymmetric): mesh features within 1e-9 of max(1 m, x) are one line, the physical feature keeping its coordinate |
worlds with a ring axis or rod end picometres off an interface that read +35 … +44 %, −2.7 % or failed are now within 1.7e-6 of the world on the interface; features that close move by at most 1e-9 m (a ring touching a 1000 times more conductive layer changes by 2.6e-3 per nanometre); no golden case | studies placing electrodes at interfaces with computed depths |
W4R3B-01 … -04 (wave 4, round 3, stream fw4r3b) |
fem 3-D: wires end to end kept 5 R apart; wires that meet at 10° or more left alone, below 10° beside each other; the own chain blended in its accumulated turn; the touching distance with flat ends and a fading window |
stacked rods 1 cm apart R11 +1.57e-2 → refused (up to 8.8 cm for 8 mm rods), 10 cm R12 within its estimate at R 2 cm (−2.6e-3); a V of 10 … 30° refused → solved; meander tilt +4.65e-4 → −1.24e-4; spiral representations +2.08e-3 → +5.9e-5; a 2 m cross at the switch −7.5e-4 → −2.4e-5; rings r = 0.3 / 1 m −6.9e-6 / −4.4e-7; the AP1 station, the house mesh and bonded L / T bit-identical; no golden case | users of the 3-D fem |
| case study E03 (final documentation pass; author's decision of 2026-11-16) | touch_voltage_envelope also samples the corners of the footprint (corners=True) |
the largest touch voltage of a non-square footprint rises to within 0.001 % of dense sampling: the 60 m × 40 m grid of E03 627.6 → 710.4 V (+13 %, 300 over 50 Ω·m) and 351.8 → 486.4 V (+38 %, 50 over 300 Ω·m), the same grid without rods +17 … +43 % in three soils; square grids, rings and rods unchanged; the arrays gain 9 feet per hull corner; no golden case | touch-voltage assessments of rectangular grids, foundations and polylines; corners=False reproduces the earlier sampling |
| roadmap Vectorise the ADR-0007 path (wave 3) | spectral amplitudes in closed form | round-off: ≤ 2.5e-16 (golden), ≤ 4.3e-16 (station Z) | cross-layer worlds, two_layer_probe_matrix, every backend through layered_green |
Q34 (wave 3, stream w3perf) |
sommerfeld self terms and close pairs |
lumped 1 km PEN 4.9e-7; segments of 5–20 m 1e-9 … 2e-8; a lumped 2 km conductor 1e-4 of the earth-return part; golden cond_lumped_long_pen_sommerfeld, cond_isolated_pen_sommerfeld_two_layer, cond_overhead_lead_over_pen_carson_series, cond_galvanic_neumann_sommerfeld, defaults_mixed_cluster_inductive 8e-10 … 4.9e-7 |
every world with sommerfeld or the Sommerfeld fallback of carson_series |
audit W1R3-07 (wave 3, stream w3perf) |
carson_series: tilted pairs that come close tiled per stretch |
up to 5e-2 of X for a core crossing its shield at 4e-2 rad; generated networks up to 3e-7 (the 10-house star with sites 2.8e-7, the 80-house radial 3.4e-8; audit W3B-07) | worlds with tilted near-parallel pairs that touch or cross, under carson_series |
audit W3B-01 (stream fw3perf) |
sommerfeld λ grid with 256 log nodes |
self terms of 1 m … 0.01 δ segments 1e-5 … 3e-4 (6e-4 in 10 over 10 000 Ω·m), close pairs of 1 m up to 3e-4; solved impedances ≤ 9e-9 (a 200 m PEN in 1 m pieces), 2e-9 … 4e-9 (40-house star); golden cond_galvanic_neumann_sommerfeld, cond_isolated_pen_sommerfeld_two_layer, cond_lumped_long_pen_sommerfeld, cond_overhead_lead_over_pen_carson_series, defaults_mixed_cluster_inductive 4.8e-18 … 2.2e-11 |
every world with sommerfeld or the Sommerfeld fallback of carson_series |
D9 (stream fw3perf) |
service drops of one tap and direction in a row at the touching distance | inductive PEN, X at 1 kHz: radial 5 −2.33 / −2.70 % (carson_series / sommerfeld), radial 10 −2.31 / −2.82 %, star 10 −1.06 / −1.27 %, radial 80 / 200 ≤ 5e-4, radial 30 ≤ 1.1e-6; bare PEN |dZ| up to 8e-3; star 5 / 30 / 80 / 200 unchanged, stars of 40 … 180 houses with rows (the 60-house star X −1.0e-3 / −6.1e-4 at 50 Hz / 1 kHz, carson_series); the same moves under placement jitter since audit W3R2B-01; no golden case |
generated TN networks (star and radial) with drops of one tap and direction |
| 10.38 | the PEN cables of TnNetworkGenerator: every cabinet keeps its own cable, a service drop taps the cable that feeds its building at the point nearest to it instead of running from the cabinet back along the main |
golden networks: substation potential −2.1 %, substation leakage −3.1 … −4.8 %, house potentials −0.2 … +1.0 %, measurement network −1.1 %; input impedance of default-grid networks with ring foundations −6.4 / −1.2 / −0.3 % for 30 / 100 / 200 houses (star; with user decisions Q38 and Q41) (golden gen_tn_default, gen_tn_measurement_overhead_leads) |
TnNetworkGenerator worlds; not the layout builder |
| 10.60 | the Sommerfeld correction of inductive conductors is assembled from shared tables by default (sommerfeld_assembly="tabulated"; user decision Q16; "exact" is the per-pair rule of 0.15.0) |
1e-8 … 2.4e-6 (golden cond_lumped_long_pen_sommerfeld ≤ 2.4e-6); closer to refined references than the per-pair rule (2e-10 against 1.2e-8 on a TN network); a 30-house network 306 s → 12 s |
inductive conductors under sommerfeld with at least 64 sub-segment pairs per block |
| 10.32, 10.58, 10.61 | segment counts tolerant to round-off, series summation order, kernel tabulation | at most 6.9e-5 (point kernel), 7.3e-16 and 1.1e-9 | none in practice |
Security¶
- BusType formulas are parsed, never executed (10.01).
evaluate_specpassedimpedance_formulatosympy.sympify, so a crafted BusType file ran code or exhausted memory. An allow-list parser (groundfield.io._formula) builds the expression from the syntax tree, every node unevaluated, computes its numbers itself in bounded floating point and evaluates it with its own numeric function instead oflambdify, with bounds on length, nodes, depth, number size, work and the product of nested exponents (64); formulas are validated on load (EvaluateSpecError), and crafted documents raiseValueError(metadata nested deeper thanMAX_METADATA_DEPTH, fields of the wrong type), so every other entry point works on what the loader accepts (audit A3SG-04). (A first version still let SymPy expand symbolicexpand fractional powers of large powers: 67- to 75-character formulas ran longer than 60 s; second adversarial audit, A2G-01 to A2G-03.) Every formula the 0.15.0 exporter wrote still loads with the same value. The attack corpustests/data/formula_corpus.json(119 accepted, 122 rejected) is shared with groundinsight's guard. Tests:tests/test_formula_security.py. - Result files from untrusted sources (audit A1-01).
load_resultdecodes only the array types the encoder writes, checks shapes and sizes before allocating and bounds the nesting depth; a number beyond the float range raisesValueError(audit A2S-04). Tests:tests/test_result_metadata_codec.py. - Overpass requests (10.05). Validated parameters (no query injection
through
timeout_s), https only, a capped response (16 MiB by default), error payloads raise and are not cached, atomic cache files, every element checked before caching; payloads nested deeper than an Overpass result, ids beyond 64 bits and oversized integer coordinates raiseOverpassError(audit A2G-05). Tests:tests/test_overpass_ingest.py. - Wheel contents (10.02). The wheel installed
scripts/release.pyand thereleasecommand like groundinsight 0.3.0 does, so installing both overwrote one with the other; it now ships onlygroundfield. Test:tests/test_packaging.py::test_wheel_contents. - Supply chain (10.03, 10.04). Workflows with minimal permissions and
actions pinned to commit SHAs (Dependabot keeps them current), no persisted
credentials, tag names only through environment variables, the release gated
by the full CI; locked dependencies updated until
pip-auditreports no known advisory (last: tornado 6.6.1 for CVE-2026-126347, a dependency of the Jupyter tools in the dev and docs groups, not of the package). - Documentation site (10.08). MathJax 3.2.2 is vendored with the site and
pinned by checksums, and no Google Fonts are loaded: the site requests no
third-party resource. Test:
tests/test_docs_assets.py. - VTK export (10.10). A newline in
world.namecan no longer break the file header; coordinates are written asdouble. Tests:tests/test_io_vtk.py::test_world_name_cannot_break_the_header,tests/test_io_vtk.py::test_points_are_double_precision_at_utm_scale. - Release tool (10.09).
scripts/release.pyruns git in the repository root, validates everything (also against the remote) before it writes and restores the files if the commit fails. Tests:tests/test_release_script.py. - FIPS builds (10.07). The penetration-mask hash uses
md5(usedforsecurity=False); the digests and stored masks are unchanged. Test:tests/test_generator_reproducibility.py::test_mask_works_where_md5_is_blocked_for_security.
Added¶
Solver and kernels
- Exact line-source kernel (10.28, 10.33):
Engine(kernel="line" | "point")andcreate_engine(kernel=...); segments are uniform line currents in the reaction matrix, inFieldResult.potentialand insolve_mutual_*. Results recordmetadata["kernel"];PointSourcegains an optionaldirection. Test:tests/test_line_kernel.py. - Backend registry (10.74):
groundfield.solver.registry(register_backend,get_backend,available_backends,BackendCapabilities), a capability check before every solve (BackendCapabilityError,BackendCapabilityWarning), backend optionsEngine(options={...})withMomSommerfeldOptionsandFemOptions, andEngine.sommerfeld_assembly. Tests:tests/test_backend_registry.py,tests/test_engine_options.py. - Junction nodes (10.38):
create_junction(world, position=...), a leakage-free network node for conductor ends, source terminals and measurement instruments; potentials inmetadata["junction_potentials"]. Test:tests/test_junction_nodes.py. solve_mutual_matrix(..., offdiag="galerkin" | "probe")(10.34): reciprocal off-diagonal entries that reproduce a network solve of the joined clusters, the default of every call (user decision Q15);ProbePointsIgnoredWarningwhen probe points are passed withoutoffdiag="probe". Test:tests/test_mutual_matrix.py.- Per-engine resource limit (10.06; user decision Q17):
Engine(max_segments=...)andcreate_engine(max_segments=...)set the hard limit of leakage segments and nodal unknowns for one engine (defaultdiagnostics.HARD_LIMIT, 20 000), honoured by every segment backend,solve_mutual_*and the diagnostics, recorded inmetadata["max_segments"]. Test:tests/test_resource_limit.py. - Per-engine size notice (10.06; user decision Q31):
Engine(warn_segments=...)andcreate_engine(warn_segments=...)set the size at which a solve reports that it may take minutes (defaultdiagnostics.SOFT_LIMIT, 5 000, read at solve time), counted likemax_segments(leakage segments and nodal unknowns) and honoured by the solve's pre-flight warning,check_segment_resolutionanddiagnose()(report.context["warn_segments"]); kept by JSON, copies and the provenance. It is not checked againstmax_segments: a notice above the hard limit never appears. Tests:tests/test_resource_limit.py::test_warn_segments_is_a_validated_engine_fieldand four siblings. - Concrete shells on every electrode kind (10.12–10.14):
concrete_shell_coefficient_ohm_mon rods, rings and meshes, with the conversionsconcrete_shell_coefficient,shell_coefficient_from_resistanceandshell_resistance_from_coefficient. Test:tests/test_concrete_shell_coefficient.py. - Geometry queries (10.79): every electrode provides
segments,segment_count,wire_polylines,bounds,total_lengthandmin_feature_length. Test:tests/test_electrode_geometry.py. - Optional
fastextra: withnumbathe two-layer series and the far field of the line kernel run compiled, bit-identical to numpy.
Results, diagnostics and files
FieldResult.input_impedance(source)andFieldResult.sources(10.18): the driving-point impedance (φ_attached − φ_return) / I a measurement or a fault sees, and the sources as solved. Test:tests/test_input_impedance.py.- Metadata and provenance (10.74, 10.77, F22): every result carries a
metadata core (backend, kernel, versions, segment count, series controls,
solve time) and
metadata["provenance"]withworld_fingerprint. Test:tests/test_result_persistence.py. - Versioned result files (10.77, F23):
groundfield.io.save_resultandload_result(standard JSON, schema version, atomic write). Test:tests/test_result_persistence.py. FieldResult.to_dataframe()(10.69, 10.72) andread_csv_with_provenance(path)(10.73). Tests:tests/test_result_dataframe.py,tests/test_io_csv.py.diagnose(world, engine=None, result=None)(10.70) returns aDiagnosticsReport(thin wires, resolution, segment budget, close or crossing wires, inert settings, series truncation);World.check()(10.66) validates source terminals and conductor ends;check_segment_budgetandResourceLimitError(10.06);find_close_wires,find_close_conductors,segment_distance(10.44);expected_segments(...)["nodal_unknowns"], the size of the dense nodal system the guard checks (audit A2S-02);groundfield.solver.PointKernelInterfaceWarning(10.28);groundfield.solver.InterfaceContactWarningand thediagnose()categoryinterface_contact(a free rod end within one wire radius of an interface; a rod split at the interface is not reported; audit A3S-05);groundfield.world.RESERVED_NAME_PREFIXES. Tests:tests/test_diagnostics_report.py,tests/test_source_validation.py,tests/test_conductor_proximity.py,tests/test_cross_layer_point_form.py.
Coupling
- Skin effect, opt-in (10.37):
Conductor(resistance_model="skin")andcreate_conductor(resistance_model=...); exact solid-round internal impedance (solid_round_internal_impedance). Tests:tests/test_skin_effect.py,tests/test_inductive_solver_integration.py. - Earth-return builders (10.20, 10.46, 10.60):
image="none" | "additive" | "antiparallel"on the inductance and correction builders,touching="exact", per-segment internal inductance, multi-frequency buildersbuild_sommerfeld_correction_matrices/build_carson_correction_matrices, and the tabulated Sommerfeld assembly (Engine(sommerfeld_assembly= "tabulated" | "exact"), tabulated by default). Tests:tests/test_sommerfeld_accuracy.py,tests/test_sommerfeld_tabulated.py. LayeredEarth.interface_depthsandLayeredEarth.layer_of(depth).coupling.carson.carson_mixed_mutual_correction(10.20, audit A2C-1): the earth-return coupling of an overhead and a buried wire (Carson's J and the remainder of the buried wire's attenuation, Ametani et al. 2009). Test:tests/test_carson_validity_domain.py.
Safety, fits and export
- EN 50522:2022 (F51, 10.42, 10.52):
permissible_prospective_touch_voltage_en50522(Annex B.4) andtouch_voltage_spectrum(true RMS over a fault spectrum). Tests:tests/test_safety.py. - Touch-voltage options (10.21, 10.22):
touch_voltage(anchor=),touch_voltage_envelope(anchor=, interior=False | "meshes" | True, corners=True, return_points=),step_voltage(world=),UniformCurrentFieldWarning. Tests:tests/test_touch_voltage_footprint.py,tests/test_touch_voltage_envelope.py,tests/test_touch_voltage_envelope_corners.py. - Touch points (10.21; user decision Q3):
touch_voltage_at_part(result, world, position=, bonded_to=, distance=1.0, ...), the touch voltage of an accessible metal part above ground (a station door, a mast, a fence post, a service connection box) bonded to an electrode or a PEN junction, with the feet on the 1 m circle around it, optionally only in givendirectionsor outside given outlines (exclude); alsogf.safety.touch_voltage_at_part. How-to Assess touch voltages. Test:tests/test_touch_voltage_at_part.py. - Effective resistivity (10.84; user decisions Q6, Q36):
effective_resistivity(soil, *, preset="lv_network", w0=None, beta=None, h_ref=10.0), ρ_eff = ρ₁^(1−w)·ρ₂^w with w = w0·(h₁/h_ref)^(−β) limited to [0, 1], exact for homogeneous soil and equal layers, canonical stacks reduced, an error for three or more distinct layers; bit-identical to the AP1 / AP2 scripts inside their calibration range. The weights come from a preset per electrode class,groundfield.soil.EFFECTIVE_RESISTIVITY_PRESETS, with the values of the AP2 hand-over (2026-10-20, AP1 catalogue computed with groundfield 0.14.0):"lv_network"(0.13, 0.8; the default, the AP1 calibration over all LV networks),"station"(0.06, 1.3; the station electrode alone) and"lv_group_<g>_p<pp>"for the four LV network groups (perimeter equivalent n_U = Σ building perimeter / 40 m, thresholds 20 / 100 / 250) and 5 / 10 / 20 / 40 % foundation electrodes (q50 fit per group). An explicitw0orbetareplaces that weight only; an unknown name raisesValueErrornaming the closest presets. For the AP1 station in the 39 AP1 soils, R = c·ρ_eff misses the field solution by a median 1.8 % (over all 39 soils, the homogeneous ones at zero; 2.1 % over the 36 two-layer soils) and at most 15.7 % with"station", against 5.0 % / 35.9 % with"lv_network"and 11.9 % / 41.9 % over ρ₁; the hand-over's 1.7 % / 15.7 % appear to be this metric with the 0.14.0 point kernel at 1.5 m segments, which gives 1.71 % / 15.69 % (the hand-over does not name its metric). Tests:tests/test_effective_resistivity.py. - Impedance quantity (10.18, 10.19):
quantity="input" | "cluster" | "electrode"andsource=onsweep,convergence_studyand the rho-f helpers. Test:tests/test_impedance_quantity.py. - Passivity (10.40, 10.41):
check_passivityandPassivityReport; the BusType export checks passivity, records it inmetadata["passivity"]and raises withrequire_passive=True(NonPassiveFitWarning,NonPassiveFitError). Tests:tests/test_passivity.py,tests/test_io_groundinsight.py. - Fit quality (10.27, 10.41):
RhoFStandardFit.k0,.max_relative,.weights,.quantity,VectorFitResult.rms_relative,vector_fit(rms_tol=),RhoFStandardQualityWarning,VectorFitQualityWarning; BusType documents record the coefficients, the fit quality and the fitted quantity. Tests:tests/test_rho_f_standard.py,tests/test_vector_fitting.py. sweep(n_jobs=...)(10.64) runs a process pool, bit-identical to the serial sweep. Test:tests/test_sweep.py.- Plots (10.73):
component="real" | "imag" | "abs" | "phase"on the potential plots. Test:tests/test_plotting.py.
Engines and validation
- Engine benchmark suite (10.76):
tests/benchmarks(B1–B13) with analytic or independent reference values and one tolerance table per backend (pytest tests/benchmarks --run-benchmark). compare_engines(10.71, 10.76): an explicit tolerance table (EngineComparison.rows), complex impedances at every frequency,component_floor, and a note when two engines run the same computation. Tests:tests/test_compare_engines.py,tests/test_engine_aliases.py.mom_sommerfeld(10.47, 10.61): convergence and kernel-tabulation reports in the metadata. Test:tests/test_mom_sommerfeld.py.FemReductionWarning,ExperimentalBackendWarningandComplexImageFit.max_error(10.23, 10.49).
Generators
- Network plan (10.78):
NetworkPlanandmaterialise_plan;TnNetworkGenerator.plan()andLvNetworkLayout.plan(). Test:tests/test_network_plan.py. - Simulated earth tester (10.17):
measured_impedance(result, probe=None, source=None)(three-pole reading) with the terminalsmeas_Handmeas_S. Test:tests/test_measurement_loop.py. - Footprints (10.54):
foundation_outline="ombr" | "polygon" | "spec",exclude_building_tagswithNON_SERVICE_BUILDING_TAGS,rng=onbuild()andplan()(10.53);BuildingFootprint.mean_width_m()and.is_degenerate(),geo.mean_width,geo.MIN_OUTLINE_WIDTH_Mandgeo.MAX_PAYLOAD_DEPTH(audit A2G-05, A2G-06). Tests:tests/test_footprint_foundations.py,tests/test_overpass_ingest.py,tests/test_geo_footprint.py.
API
- Typed factories (10.68): one overload per electrode kind,
Literaloption types (ElectrodeKind,SourceKind,KernelKind, ...) and “did you mean …?” errors. Test:tests/test_api_factories.py. - Namespaces (10.72):
gf.plot,gf.safetyandgf.fit; the flat names keep working. Test:tests/test_package_namespace.py. groundfield.utils:suggest,did_you_mean,warn_deprecated,warn_inert,InertConfigurationWarning,REMOVAL_VERSION.- The package ships a
py.typedmarker (10.02). WireSegments.wires,.wire_index,.n_wires(the straight wire of every segment);geometry.primitives.COLLINEAR_ROUNDOFF_ULPS;build_inductance_matrix(conductors=...).Conductor.is_shield;build_inductance_matrix(shields=...).FieldResult.metadata["wire_owners"].- Impressed voltage sources (10.51). A
VoltageSourceholdsattached_toat \(U\) abovereturn_to(or remote earth) and is solved by every backend on the shared pipeline —image,image_2layer(also for electrodes through the layer interface),mom,mom_sommerfeld— with conductors, inductive coupling and several frequencies: one current unknown and one constraint row per source in the nodal system (modified nodal analysis). Several voltage and current sources superpose; 0 V is an ideal short. The result reports the solved current inSourceRecord.current(new fieldSourceRecord.voltage, new columnvoltage_vofto_dataframe("sources")),input_impedance()is \(U/I\), andsweep, the rho-f helpers,split_factorandtouch_voltage_spectrumaccept the source. New registry capabilityBackendCapabilities.voltage_sources. Validated against the 1 A current-source solve scaled by \(U/Z_\text{in}\) in every backend, two- and three-layer soil, the cross-layer path and inductive conductors at 0 / 50 / 1000 Hz (at most 1.4e-15 relative), againstsolve_mutual_matrixfor a two-terminal source, the hand-inverted transfer matrix for three sources, Dwight's rod (−0.012 %) and the hemispherical far field. Tests:tests/test_voltage_sources.py. - Internal impedance of a voltage source (user decision D1).
VoltageSource.internal_resistance_ohm(Ω) andinternal_inductance_h(H), both ≥ 0 and 0 by default (the ideal source, unchanged bit for bit), andVoltageSource.internal_impedance(f);create_source(..., internal_resistance_ohm=, internal_inductance_h=). \(Z_q = R + j\omega L\) is the diagonal entry of the source's constraint row, \(\varphi_a - \varphi_r + Z_q I = U\), in every backend that solves voltage sources (image,image_2layerwith the cross-layer path,mom,mom_sommerfeld), with conductors, inductive coupling and sweeps; a galvanic world whose source has an inductance is solved per frequency on the complex path in the image family (its owner-level system; ×1.00 … ×1.09) and with one factorisation of the segment system plus a V × V system per frequency inmom/mom_sommerfeld(audit W2R2-02). For R ≫ Z_E a current source is the better model: the potentials andinput_impedance()lose about log10(R/Z_E) digits (2.7e-6 at 1e12 Ω on a 36 Ω rod); R and L are 0 or at least 2.2e-308 (audit W2R2-10).SourceRecord.internal_resistance_ohm/internal_inductance_h/internal_impedance(f)and the columns ofto_dataframe("sources");input_impedance()of a voltage source is the impedance the source sees, \(U/I - Z_q\). Validated against the junction +lumped_series_resistance_ohmpattern (≤ 7.2e-16) and the 1 A solve with \(I = U/(Z_q + Z_\text{in})\) at 0 / 50 / 1000 Hz in every backend, three earth models and the cross-layer path (≤ 4.0e-15), the transfer matrix of three sources andsolve_mutual_matrix(≤ 3.4e-16). Tests:tests/test_voltage_source_impedance.py. - Worlds that mix projected and local coordinates are reported (user
decision D5, audit W2B-04).
diagnose()has the categorycoordinates: a warning when points lie both within 10 km of the origin and beyond 1000 km from it (electrodes at UTM coordinates and a node or electrode given near (0, 0)), naming both groups and the conductors between them; information for a world wider than 100 km that does not mix. Such a world is solved as given, its two groups some 33 000 km apart: a return rod given at local (80, 15) m for an outline at UTM coordinates raised Z_in by 0.43 %, a PEN cable to a cabinet at local coordinates became a 33 118 km conductor (7494 + j25396 Ω instead of 5.39 + j0.19 Ω at 50 Hz withcarson_series;sommerfelddid not finish), and nothing said so. Its solve (image family,mom,mom_sommerfeld,solve_mutual_*) now warns once with the newgroundfield.diagnostics.MixedCoordinatesWarningbefore anything is discretised; a world wholly in projected or wholly in local coordinates is never warned about at the solve, anddiagnose()reports one wider than 100 km as information (audit W2R2-06). Test:tests/test_mixed_coordinates.py. -
momandmom_sommerfeld(and the deprecated aliasbem) solve concrete-encased electrodes (concrete_shell_coefficient_ohm_m, ADR-0012). Each segment adds its radial shell resistanceC/Δsto the diagonal of the point-matching system, and the shell drop to its potential. With one owner per segment the image family solves the same system (agreement 7e-16); a ring rises by exactlyC/(2πr)in one, two and three layers (1e-14). Up to 2026.11 both raisedBackendCapabilityError; since wave 4femsolves shells as well (its axisymmetric model as a surface conductance, its 3-D model as a radial resistance per length).momis thereby the per-segment reference for encased foundations: against it the image family's point kernel lies +0.35 … +0.69 % high for grids in 5 cm of wet concrete and up to +18.8 % for stars. Test:tests/test_concrete_shells_mom_family.py. -
The line kernel's near/far switch is continuous (user decision D2, audits W2B-01/-02): pairs between six and 7.5 segment lengths blend the exact and the far value with a C¹ weight — direct pairs, surface and Tagg/Sunde images, the images of the cross-layer correction and field points (
SWITCH_FACTORingroundfield.solver._line_kernel). Results no longer depend on where a world stands beyond round-off: 1e-13 over local shifts, ≤ 5e-11 at UTM coordinates, as the point kernel (audit W3A-04) (tests/test_line_kernel_switch.py). - Far Tagg/Sunde images carry the quadrupole term of the segment average,
and the far form of segment pairs the radius term of the reduced kernel;
the term is tapered off between 60 and 120 segment lengths of the pair's
vertical distance and left out below 1e-9 of a unit point term (10.28;
tests/test_two_layer_far_images.py). - The layered correction of the cross-layer path is evaluated in line form
(its exact image expansion, ADR-0007 amendment;
tests/test_cross_layer_line_form.py). penetration_depth(soil, frequencies)andPenetrationDepth: the complex penetration depth \(p\) and equivalent resistivity \(j\omega\mu_0p^2\) of a soil with any number of layers, for the complex-depth (Dubanton / Deri) earth-return formulas of cables and overhead lines (PenetrationDepth.mutual_impedance). Exact for homogeneous soil; over the 39 AP1 soils, 50 Hz … 1 kHz, 0.1 … 1000 m within a median of 2.2 % of the exact layered earth return (at most 28 / 33 % overhead / buried; the formula's own error in homogeneous soil: median 2.4 %, at most 13 %; three and four layers up to 46 / 77 % at 1 km, 1 kHz, audit W3B-08).coupling.sommerfeld_inductance.per_metre_mutual_impedance: the exact layered earth-return impedance per metre of two infinite parallel wires (within 5e-8 of Carson and of the two-layer Pollaczek integral; against an independent integral within 6e-8 of the earth-return correction up to 300 m and 7e-7 at 1 km for buried pairs, audit W3B-08).- BusType documents record the effective-resistivity preset
(
rho_preset=...of the exporters,metadata["rho_preset"],BusTypeSpec.rho_preset);evaluate_spec(..., rho_preset=...)and the newbustype_from_spec(spec, rho_preset=...)emitRhoPresetMismatchWarningwhen the bus uses another preset (user decision Q39). -
diagnose()reports inductive conductors that lie beside each other closer than touching over more than ten touching distances and 5 % of the shorter one (categoryoverlap, warning). -
bustype_rho_preset(bus_type): the effective-resistivity preset recorded on a livegroundinsight.BusType, also one read back from the groundinsight database (audit W3B-06). -
PlannedBranch.axis_offset_m: horizontal offset of a branch from the line between its end points; the TN generator lays service drops in a row with it (user decision D9). Plans without it keep their geometry. -
Engine.image_far_field("quadrupole", the default, or"point"): the form of the far images of the line kernel in two-layer soil (the author's decision of 2026-11-15)."point"keeps the Tagg/Sunde images and the images of the cross-layer correction beyond the near-pair reach as point sources and leaves out their dense far-field term; the near image pairs (within 7.5 segment lengths, a segment's own images included) stay Galerkin integrals on both paths, and so do the continuous switch and the transverse distance of near image pairs — it is therefore not the result before wave 3 (within the upper layer up to 2.3e-4 from it). Networks move by 3e-6 … 4.3e-4 against the default (16 house grids 0.4 m above a 1000/10 Ω·m interface), a wire near the interface by 4e-4, surface potentials by up to 0.8 %; a 40-house network in 1000/30 Ω·m with h₁ = 1.5 m, whose transformer rods reach below h₁, solves in 0.49 of the default's time (0.91 of the solve before wave 3). Any other value raisesValueError, also insolve_image_2layer(far_field=...). Recorded inmetadata["series"]["far_field"]and used byFieldResult.potentialandsolve_mutual_*;create_engine(image_far_field=...). Test:tests/test_image_far_field_option.py. -
⚠
femis a conforming finite-element model (user decisions Q37, Q40; ADR-0016). The equivalent-hemisphere reduction is gone. Axisymmetric model (no new dependency): rods on one vertical axis and horizontal rings centred on it are solved as the solid bodies they are (cylinder with flat end faces, torus), in any number of horizontal layers, bare or with a concrete shell, each electrode one port; linear triangles on a graded tensor mesh conforming to every electrode surface and layer interface, an O-grid around the ring wire, the monopole Dirichlet-to-Neumann condition on a box 1000 lengths away, the port conductance matrix extrapolated from two nested levels; within about 1e-4 of independent references at 0.2 … 2 s per solve. Three-dimensional model for every other world (strips, polylines, stars, meshes, grids, rods and rings side by side, several clusters with their transfer resistances, galvanic distributed conductors with every leaking piece a port): smoothed line sources with an analytic radius correction in an isotropic tetrahedral mesh refined towards them, partially penalised immersed layer interfaces, conjugate gradients with an algebraic multigrid, two nested levels extrapolated; within 2e-3 of the axisymmetric model for rods and rings in one to three layers away from interfaces; wires that do not meet but run beside each other are kept at least 1.5 source radii apart by a smaller source radius, wires end to end at least 5, and refused closer than 3.3 radii of the thickest bare wire of the world, axis to axis (11 end to end); wires that meet at 10° or more are one conductor (audits W4B-01, W4B-02, W4R2B-03, W4R2A-01, W4R3B-01, W4R3B-02, W4R3B-05); the AP1 station in the corner soils of the AP1 grid lies betweenimage_2layer(+0.7 … +3.0 %) andmom(−0.4 … −0.9 %), at 1.5 … 3 minutes and 4.1 … 4.3 GB per solve. It needs the optional extrafem3d(scikit-fem, BSD-3; pyamg, MIT;pip install "groundfield[fem3d]", decision D6) and raisesImportErrornaming it otherwise. Both models run the network of the shared pipeline: concrete shells, junctions, two-terminal and voltage sources, lumped and distributed conductors, inductive branches and the skin effect at every frequency, and the coordinate check of decision D5.FemOptions:model("auto","axisymmetric","3d"),refinement,extrapolate,max_nodes,source_radius,growth,concrete_resistivity,max_nodes_3d,max_ports_3d(100: more ports are refused before meshing; raise it to solve such a world on purpose, audit W4B-08); metadatafem_port_resistance,fem_ports,fem_error_estimate(3-D model alsofem_error_estimate_transferfor the transfer entries, audit W4R2B-05),fem_mesh,fem_modeland more. Against the concrete resolved as a volume (Q40) a junction of encased wires acts like a few cm of wire, at most about \(2\,r_b\), sign not settled (not converged; audit W4B-05); the generators' house mesh changes by about 1 % or less, so no correction rule is applied. Tests:tests/test_fem.py,tests/test_fem_3d.py. -
PlannedBranch.axis_offset_normal_xy: the unit plan vector along whichaxis_offset_mmoves a branch; the TN generator records the common normal of a row of drops that are not exactly parallel (placement jitter; audit W3R2B-01). Plans without it keep their geometry. -
InterfaceContactWarning(and thediagnose()categoryinterface_contact) also for horizontal wires next to a contrasting layer interface (audits W4A-07, W4B-02, W4R2A-04, W4R3A-02): every electrode but a rod and the leaking pieces of galvanic distributed conductors, within the reach where the thin wire deviates from the solid wire by more than about 1 % in five ring geometries with the layer beyond on either side — 3.9 wire radii over a layer 33 times more conductive (+3.6 % at 2 radii, +8.6 % at 1.5, +89 % when the interface cuts the wire), 1.9 … 2.3 radii under a layer 10 … 1000 times more resistive, a wire the interface cuts from a contrast of 1.3, nothing below. Emitted by the image family,mom,mom_sommerfeld,solve_mutual_*and the 3-Dfem, which also warns for rod ends at an interface (audit W4R2A-03); the axisymmetricfemresolves the wire anddiagnose()with anfemengine reports nothing for a world it takes (audit W4R2A-05). No generated network and no world of the AP1 soils is reported. Test:tests/test_wire_interface_contact.py.
Changed¶
Versioning, packaging and tooling
- Calendar versioning and release tool (10.09):
python scripts/release.py calver [--date YYYY-MM-DD] [--dry-run]orset X.Y.Z; it updates the three version files and the changelog, commits and tags, and never pushes. - Package metadata (10.11): PEP 621
[project]table, SPDX licence, classifiers for Python 3.12–3.14,poetry-core>=2.2.0,<3.0.0. - Development standards (10.80, 10.94, 10.95): ruff format and lint (NumPy
docstring convention), mypy, pre-commit, CI for lint, types, tests on
Python 3.12–3.14 and a strict docs build on pull requests; tests are
organised by feature and carry a
findingmarker.
Solver
- ⚠ Default kernel (10.28):
Engine.kerneldefaults toNone, the backend's preferred kernel:"line"for the image family, also through the deprecated aliascim. A 16-house solve takes 2.7× (withnumba) or 5.7× (without) the time of the point kernel. - ⚠ Two-terminal sources (10.16, 10.75, F01/F30):
image,image_2layer,momandmom_sommerfeldinject +I atattached_toand −I atreturn_to;femstill returns the current through remote earth and warns. - ⚠ Floating passive clusters (10.29) in the image family, the
momfamily andsolve_mutual_*. - ⚠ Cross-layer electrodes (10.15, F02), slivers and segment counts (10.32),
post-solve series controls (10.25),
solve_mutual_matrixdiagonal (10.26): see Numbers that change. Cross-layer solves no longer report an image series they did not evaluate (10.50, F43). - ⚠ Concrete shells (10.12–10.14): the solver sees a shell only as the
per-length coefficient C;
concrete_model="lumped"and"distributed"put C on every encased wire, the cross-braces of a mesh foundation included (DIN 18014; user decision Q20). solve_mutual_matrix/solve_mutual_field(10.34): resolve and check the backend likeEngine.solve; a backend outside the image family raisesBackendCapabilityError.- Errors (10.74, audit A1-08): worlds a backend cannot represent raise
BackendCapabilityError(aValueErrorandNotImplementedError) before the solve, also from the backend functions; code that caughtTypeErrorfromimage_2layerormommust catchBackendCapabilityErrororValueError. - Engine validation (audit A1-02, A1-04):
Engine.model_copy(update=...)and attribute assignments are validated;create_engineforwards only the arguments it is given. mom,bem,mom_sommerfeld(10.31, 10.75): documented and reported (metadata["solver"] == "point_matching") as one point-matching scheme; they share one solve pipeline and the depth advisories of the image family.- ⚠
cim(10.30) reads the length-weighted node potential; ⚠ layer stacks (10.48) are merged to their canonical form in every backend (TwoLayerSoil(ρ, ρ, h)is homogeneous soil, audit A2S-07); ⚠fem(10.23, 10.49) is experimental, warns where its reduction does not model the world or ignores the skin model, and raises for electrodes below its hemisphere's layer, for clusters below a top layer that holds most of the hemisphere (audit A2E-2) and for driven polyline and star electrodes. - ⚠
femand more conductive layers (10.23; user decision Q23):femraisesBackendCapabilityErrorwhen a layer that no electrode of a cluster touches and that conducts better than every layer the electrodes touch lies above the hemisphere radius a_eq, or below the hemisphere but above the electrodes' horizontal half-extent with no more resistive layer in between. The hemisphere then puts the current into that layer, andfemmisplaces it: −97 … +30 % againstimage_2layer,momand an independent ring series, mostly far too low — rods, strips and rings below a more conductive top layer from 22 mm thickness, rings whose hemisphere reaches a more conductive lower layer (−92 % for a 10 m ring at 0.8 m over 1000/30 Ω·m at h₁ = 2 m), −78 … +1 % for rings and strips with the layer below the hemisphere but within the half-extent, +30 % for a ring within its wire radius below a more conductive top layer. The half-extent part was added by the coordinator after the audit of the decision streams (D2A-03: the error is continuous across a_eq, −67.9 % on both sides for the 10 m ring), for the author's review. Up to now these worlds only warned (FemReductionWarning). The rule is structural, independent of the size of the contrast (100/120 Ω·m raises as well, wherefemwas −7 … +5 % off), on the canonical layer stack: a horizontal wire touches the layers that hold its axis (an axis on an interface touches both, to 1e-9 m), a rod the layers its axis passes through (an end on an interface does not count, as in the thin-wire model of the integral engines: a rod head on a conductive top layer raises, −92.9 % before); only the rule of an electrode below its hemisphere also counts a wire within its radius of a layer. More resistive layers keep the warning (−3 … +48 % spanned, −17 … +16 % within the half-extent, +16 … +46 % for a conductive layer behind a more resistive one). The message names the cluster, the layer, the electrodes' ρ, a_eq, the measured range and only backends whose own checks accept the world (or the finersegment_lengthor largermax_segmentswith which they would). Tests:tests/test_fem.py::test_fem_rejects_a_more_conductive_layer_its_hemisphere_spans,::test_fem_rejects_a_more_conductive_layer_within_the_electrode_extent,::test_fem_a_resistive_layer_in_between_keeps_the_warning,::test_fem_partial_contact_with_a_more_conductive_layer_raises,::test_fem_a_rod_head_on_the_interface_does_not_touch_the_layer_above,::test_fem_names_only_a_backend_that_solves_the_worldand siblings. - ⚠
femwithin the range of its formulas and in the soil (10.23; audit of the decision streams): a driven strip deeper than half its length, a driven ring deeper than its diameter and any drivenMeshElectroderaiseBackendCapabilityError: Dwight's strip series diverges there (+369 % and +6120 % for a 1.88 m strip at 5 m and 9.8 m, silent before), the ring formula stays within −0.8 … +1.2 % of the exact thin ring down to one diameter and falls off beyond (−3.6 … −7.1 % at 2 D), and the mesh formula is +118 … +262 % at every depth. Electrodes and galvanic conductors at or above the soil surface, in the surface plane or reaching above it raiseValueErroras in every other backend (a ring 0.5 m in the air was solved like a ring 1 mm deep); a rod with its head at z = 0 stays valid, and a strip whose end depths differ by round-off is a horizontal wire. Tests:tests/test_fem.py::test_fem_rejects_an_electrode_deeper_than_its_formula_reaches,::test_fem_solves_a_ring_down_to_its_diameter,::test_fem_rejects_a_driven_mesh_electrode,::test_fem_rejects_an_electrode_above_the_surface_like_every_backend,::test_fem_refuses_a_galvanic_conductor_out_of_the_soil,::test_fem_round_off_in_a_strip_does_not_change_the_verdict. - A world without a current source (10.66, audit A2S-05) raises the same
ValueErrorin every backend and entry point (femsolved it to zeros). compare_engines(10.71) compares complex impedances at every frequency; comparisons that passed before may now fail.- Warnings (10.70): one warning per cause instead of per electrode;
pre-flight warnings point at the caller's line;
ShallowSegmentWarningfollows the kernel (audit F08).
Coupling
- ⚠ Inductive assembly (10.20, 10.46):
carson_serieson the anti-parallel image,sommerfeldon the image-free matrix, exact touching pairs by default (touching="quadrature"reproduces 0.15.0), Carson's P and Q with the a² term and the asymptote only above a = 15.carson_serieskeeps Carson's per-metre formula for near-parallel, near-horizontal pairs on one side of the surface; a pair across the surface has no anti-parallel baseline and couples through the transmitted field, and oblique, inclined and vertical segments get the Sommerfeld correction of a homogeneous earth (at the 8.1° boundary the result steps by the error of the per-metre model, 12 % for two 1 km leads at 1 kHz). Wires closer than the sum of their radii are evaluated as touching wires, close non-parallel pairs semi-analytically, andsommerfeldintegrates segments longer than a quarter skin depth piecewise (audit A2C-1, A2C-2). - ⚠
references.pollaczek(10.45) is exact for two layers, also for conductors below the first interface and pairs in different layers. - One earth-return assembly for all frequencies (10.60): bit-identical per frequency; a 30-house Carson network 16.4 s → 3.3 s.
- ⚠ Tabulated Sommerfeld assembly by default (10.60; user decision Q16):
one table of the spectral integral per pair of depth groups and frequency;
blocks of fewer than 64 sub-segment pairs keep the per-pair rule, which
stays available as
sommerfeld_assembly="exact". Test:tests/test_sommerfeld_assembly_default.py. perfect_mirroracross the soil surface (10.46; user decision Q27): a solve withearth_inductive_model="perfect_mirror"emits oneUserWarningwhen inductive conductor segments lie on both sides of the soil surface, naming the number of such pairs and the conductors and pointing to"sommerfeld": the additive mirror image has no physical basis for an overhead/buried pair (2.28 / 2.77 times the mutual reactance ofsommerfeldat 50 Hz / 1 kHz for a lead 1 m above a PEN 0.7 m deep). Numbers do not change. Tests:tests/test_inductive_solver_integration.py::test_perfect_mirror_warns_for_inductive_pairs_across_the_surfaceand siblings.
Safety, fits and export
- ⚠ Rho-f defaults (10.18, 10.19, 10.27): input impedance as the fitted
quantity; standard form with
k0and relative weights. - ⚠ Formulas (10.73): partial fractions with float coefficients rounded
once to
decimalssignificant digits; one renderer forfit_to_sympy,fit_to_sympy_standardand the exporter; exports take 0.04–0.14 s instead of 0.39–2.23 s. - ⚠ One passivity check (10.40): the export and
check_passivitycheck 0 Hz to twice the highest fitted frequency; fits that passed may now fail. - ⚠ Parsed formulas (10.01):
parse_impedance_formulareturns an unevaluated expression whose numbers are 17-digit floats (log(2)is0.69314718055994529); compare parsed expressions by value. Nested powers whose exponents multiply to more than 64 (((f**8)**8)**2,(f*10**40)**2: write1e40),loginsideexpand fractional powers of large exact numbers are rejected;evaluate_specgives the principal branch wherelambdifygavenan. groundfield's exporters write none of these. - ⚠
rhoof a BusType in layered soil (10.84; user decision Q6) is the effective resistivityeffective_resistivity(soil), thespecific_earth_resistancean AP2 bus carries: pass it asrho_at_fitof a vector fit and fit standard forms over ρ_eff samples. Documents recordmetadata["rho_definition"] = "effective_resistivity". A compact electrode in the upper layer follows ρ₁ more closely than the network calibration of ρ_eff (station of the IO example: standard form within 13.4 / 8.3 / 3.6 % over ρ_eff, 3.9 / 1.9 / 0.6 % over ρ₁ for h₁ = 5 / 10 / 30 m); use the preset of its class (preset="station": 7.5 / 2.9 / 0.6 %), the same one for the BusType and its bus, and checkmax_relative. - ⚠ Touch-voltage envelope (10.21; user decision Q3) samples no interior
by default: inside the footprint stands the station, the house, the steel
structure or the mast; touch points are defined with
touch_voltage_at_part, open-air grids are sampled withinterior="meshes". - ⚠ Touch-voltage envelope at the corners (case study E03, author's
decision of 2026-11-16). Besides its equally spaced directions the
envelope stands on the arc of the offset curve around every corner of the
convex hull of the wires, nine feet per corner (
corners=True, the default). The 24 directions alone hit the corners of a square only; the 60 m × 40 m grid of E03 read 12 % (300 over 50 Ω·m) and 28 % (50 over 300 Ω·m) low, on the unsafe side. With the corner feet every probed outline lies within 0.001 % of dense sampling, at the origin and at projected coordinates alike (two review rounds: the hull is built relative to the footprint and its collinearity tolerance includes the round-off of the coordinates, audits W5E-01, W5R2-01; five feet per corner read a narrow outline 0.22 % low, W5R2-02). The returned arrays list the equally spaced feet, then the corner feet, then the interior points;corners=Falsereproduces the directions alone. Test:tests/test_touch_voltage_envelope_corners.py. - ⚠ Permissible touch voltage beyond 10 s (10.42; user decision Q4): 80 V
for every fault duration above 10 s, including
math.inf, after the note to Figure 8 of EN 50522:2022 (the curve ends at 10 s);permissible_prospective_touch_voltage_en50522uses the same value. - CSV (10.69, 10.73): provenance header, a
frequency_hzcolumn, no silent overwrite (overwrite=True). - Results JSON (10.77): standard JSON (non-finite numbers as strings),
engine JSON with
options; 0.15.0 files still load. split_factor(10.18) divides by the solved source current; plot labels name the drawn component (10.73).
Generators
- ⚠ Measurement loop (10.17): feed and probe leads end on the junctions
meas_Handmeas_Sat the substation;LvNetworkLayoutreadings use the solved test current. - ⚠ Layout builder (10.38, 10.54): PEN joints are junctions; foundations follow the footprints.
- ⚠ Mesh foundations (10.12, 10.39, audit A2G-04): one wire electrode per
mesh line at every orientation, bare or encased (
<name>,<name>_w<j>);electrode_currents[<name>]andgrounding_impedance(<name>)refer to the first wire, usecluster_impedancefor the foundation. A rectangle without cross-braces is one wire per side as well (user decision Q38), a polygon outline one closed wire (solved as one owner per straight side since user decisions Q30/Q44). - ⚠ Foundations without cross-braces are one current owner per side
(user decision Q38). Every
FoundationElectrodeSpec(style="ring"), or"mesh"withn_x = n_y = 1, is one strip per side, bonded to its local −y side, at every orientation and for both values ofconcrete_model, which therefore has no effect; up to now the default"lumped"made an axis-aligned one (also at multiples of 90°) a singleGridMeshElectrode(other orientations were already one strip per side). One owner per side is the closer of the two models to one current per segment (0.23 … 0.90 % high against 0.55 … 2.16 % at the cases where the owner change is largest; at most 1.4 % against up to 2.2 % over the scope of the texts, short side at least 1 m, aspect ratio up to 50, audit D3B-01) and does not depend on the orientation. The input impedance of a foundation on its own is never higher, equal for a square; a network can rise by a few 0.01 % (see Numbers that change). The electrode named after the foundation is its −y side:electrode_currents[<name>]andgrounding_impedance(<name>)refer to that side, and conductors attached by name start at its start, the (−d_x/2, −d_y/2) corner, instead of the centre of the rectangle (the generators' cables and service drops end at the nearest point of the foundation instead since user decision Q41); usecluster_impedanceor the sum over<name>,<name>_w1…_w3. Building outlines (one closed wire), braced meshes andRingElectrodeSpeccircles are unchanged.femreduces the four strips as a cluster (see Numbers that change, thefemengine page and the known limitations). Tests:tests/test_foundation_owners.py::test_rectangle_without_braces_is_one_owner_per_side,::test_both_concrete_model_values_give_the_same_results,::test_json_round_trip_of_either_value_builds_the_same_foundation,::test_concrete_model_has_no_effect_on_any_foundation,::test_the_quoted_size_of_the_owner_change_holds. - ⚠ Generated conductors end at the foundation point nearest to them
(user decision Q41). Every conductor that
TnNetworkGeneratorand the layout builder route to a foundation ends at the point of that foundation nearest to the conductor, for every foundation form (rectangles at any orientation, building outlines, a substation's or cabinet's foundation): a service drop is the shortest connection in plan between its feeding cable and the building's foundation wires (their closest pair); a cable leaving a site with a foundation starts at the foundation's point nearest to its next node; the conductor is attached to the wire that holds the point (PlannedBranch.start_contact/end_contact, aPlannedContact). Ties go to the lowest wire index, then to the smallest arc position along the wire, so a cable parallel to the side facing it meets that side at the corner where its wire starts. A building that a cable crosses is joined to it and fed by it, without a drop: a cable of its feeding path, every trunk ofRadialTrunkTopology(a building in a substation slot has no cable of its own, and a trunk beyond its tap source runs on past it), and in the star topology the main that crosses it, whose cabinet then feeds it instead of its nearest one (the nearest of the cabinets whose mains cross it, ties to the lower index; 1 of 50 and 3 of 150 houses of the default grids); a main that does not feed the building stays unjoined. Where the foundation touches the cable at a node (a cabinet on a wire), a crossing of the cable through the foundation elsewhere is the joint; otherwise the joint lies 1 cm from the node. A drop whose closest pair lies at such a joint starts there on the cable, and no drop runs along a cable farther than one minimum section (1 cm): a drop from a node that would run along a trunk or another main — both ends of a section within 1 cm of the drop's line — starts where it leaves it; the one overlap left is that 1 cm, where a foundation touches the end node of its cable from beyond and is tapped 1 cm before the node. A drop may pass over other buildings' foundations, 0.2 m above their wires (see the known limitations). The layout builder keeps its taps on the layout polyline, clipped at the projection of a site's foundation contact onto it, so no tap on the first or last segment lies inside a site foundation, also next to a rotated, polygon or offset one (corners inside the foundation of the substation or a cabinet are part of that site, see the layout entry under Fixed). Up to then every conductor ended at the connection point of the site's anchor — a corner of a rectangular foundation (meshes since audit A2G-04, rings since Q38), the first vertex of a building outline: 47 of 282 drops of a ring-house test set ran along a side of their own foundation and 45 crossed it (audits D3A-02, D3B-03). Sites with rods only,site_anchor_point,connection_pointand everything attached by name are unchanged (rings and strips: user decision Q43);site_contact_wires(site)is new (namedsite_foundation_wiresbefore user decision Q43),materialise_branchrejects aPlannedContactthat names no foundation wire of its site or lies farther than one minimum section from it, andLvNetworkLayout.plot(world=...)draws the service drops as built (without a world, the layout's stubs). Planning 1000 default houses takes 0.8 s (star) / 0.4 s (radial) against 0.2 s before user decision Q41 (0.15.0 had no planning step); 8000 radial houses withmax_feeder_length_m=1e518.4 s against 5.9 s. With the cabinets per building group (user decisions Q22, Q35; quiet machine) 1000 / 8000 star houses take 0.92 / 14.3 s, radial withmax_feeder_length_m=1e50.98 / 17.2 s (the default 500 m: 8 000 radial houses 2.6 s). Tests:tests/test_foundation_contact.py,tests/test_lv_network_layout.py::test_plot_draws_the_drops_as_built_from_the_world. - Rectangular foundations at multiples of 90° are rotated with the exact
cosine and sine instead of being built as the axis-aligned rectangle with
swapped sides: the coordinates carry no round-off and the local −y side
stays the anchor, so the connection point is continuous in the
orientation (it jumped by 20.6 m for a 20 m × 5 m ring between 179.9° and
180°; audit D3B-04). The impedance equals the swapped rectangle's to
round-off. Tests:
tests/test_rotated_foundations.py::test_foundation_at_right_angles_is_the_rotated_rectangle_without_round_off,tests/test_geo_placement.py::test_right_angles_build_the_axis_aligned_world. - ⚠ One uniform current per straight wire in the image family (user
decisions Q30, Q44; review finding 10.22, audit A2G-04).
image,image_2layer(with its cross-layer path) andsolve_mutual_*give every grid (GridMeshElectrode,MeshElectrode) one uniform-current owner per full wire line, a star one per arm, a polyline one per straight run (consecutive edges that continue in the same direction are one wire); the owners of an electrode are ideally bonded and every result stays per electrode (metadata["wire_owners"]counts them). Rods, strips and rings are one wire; generated mesh foundations (one electrode per wire line already) do not change. Grids are 1.2 … 5.5 % lower (10 m 2 × 2 … 100 m 20 × 20), from +1.6 … +4.9 % to +0.36 … +0.70 % above one current per segment (+0.29 … +0.66 % againstmomwith the point kernel); the corner touch voltage of the 20 m grid with 4 × 4 meshes is +6.4 % againstmom(+20 % before), the step −7.6 % (−21 %). Stars do not change on their own (equal arm currents). A building outline is one owner per side and equals the rectangle given by its size. A source-free grid, star or polyline floats: its wires exchange equalising currents at one potential and its net current is exactly zero (it was left out before). Tests:tests/test_wire_line_owners.py. - ⚠ Concentric cables need the
cable_shieldmarker (user decision Q32; 10.46, audit A3C-5). A thinner conductor on the axis of a thicker one is a core inside a shield, coupled at the shield radius, only if the thicker one hasconductor_type="cable_shield"; two conductors of other types on one axis are separate cables that touch (a 100 m pair of 5 mm and 15 mm radius: loop 31.97 → 43.47 µH, the analytic 43.48 µH of two touching solid wires).build_inductance_matrix(..., shields=...)marks shields at the low level. Tests:tests/test_concentric_cables.py,tests/test_interpenetrating_wires.py. - ⚠ A cable shield has no internal inductance of a solid wire (user
decision Q33). The self terms of a
cable_shieldconductor drop μ₀ℓ/(8π) (50 nH/m); the 100 m coax with 5 mm core and 15 mm shield reads the analytic coaxial loop inductance 26.97 µH instead of 31.97 µH (26.966 µH solved, whatever the sub-pieces of the two conductors, audit W1A-02).Conductor.internal_impedance_per_lengthof a"dc"shield has no inductive part;resistance_model="skin"on a shield raisesValueError. The generator'sburied_lead()is a shield: two-pole readings with buried leads −2.5 % in reactance, three-pole unchanged. Tests:tests/test_concentric_cables.py. - Benchmark B11 (
image_2layer, point kernel): refinement bound 0.5 % → 0.6 % (the coarse step is 0.54 % with one owner per wire line, 0.43 % before; the default line kernel 0.12 %). Validation page re-measured. - ⚠ Cable cabinets per building group, at the far end of the houses they feed
(user decisions Q22, Q35).
TnNetworkGenerator(star topology) orders the buildings by bearing around the substation, from the widest angular gap on, cuts them into one run of consecutive bearings per cabinet (sizes differ by at most one,StarCabinetTopology.group_buildings) and places each cabinet on the ray through its group's centroid,CabinetConfig.end_clearance_m(new, 1 m, positive) beyond the group's farthest earth electrode along it (rods included) plus the plan extent of the cabinet's own grounding — unless the cabinet would stand there farther thanCabinetConfig.max_far_end_gap_m(new, 20 m, positive, larger thanend_clearance_m) from the nearest electrode of its group: a wide group's cabinet stands on the ray through its far-end building (the largest projection of its position on the direction of the centroid), 1 m beyond that building (audits W1B-01, W1B-02, W1B-05; 10 houses and one small commercial building had their cabinet 50.4 m from the nearest building, drops 527.4 m, now 1.56 m, 311.8 m). The threshold is a step, kept for 2026.11 (user decision D7, audit W1R2-02): groups lie on both sides of it — over the 80 AP1 mixes 118 groups stand 20.21 … 53.56 m from their houses on the centroid ray and take the far-end ray, the largest gap kept is 18.84 m — and a group that crosses it moves its cabinet by up to the width of the group (50-house grid with its house columns 32.0 / 32.2 m apart: 141.8 m, X at 1 kHz with an inductive PEN −21.6 / −18.9 %,carson_series/sommerfeld); the plan records per cabinet which rule placed it and that distance (PlannedSite.cabinet_rule,PlannedSite.centroid_ray_gap_m), andend_clearance_mmust be smaller thanmax_far_end_gap_m(audit W1R2-09). Tests:tests/test_cabinet_groups.py::test_every_cabinet_records_the_rule_that_placed_it_and_its_gap,tests/test_cabinet_groups.py::test_the_cabinet_jumps_where_the_recorded_gap_crosses_the_threshold,tests/test_cabinet_groups.py::test_an_end_clearance_not_below_the_far_end_gap_is_rejected. A cabinet whose electrodes would come closer thanend_clearance_mto those of another site raises aValueErrornaming both; the cabinet feeds its group (a building that a main crosses stays fed by that main, Q41). Up to then the cabinets stood on a strip along the substation row: both cabinets of the default 30-house network west of the substation, the eastern houses fed by drops of 3.5 … 106.5 m from the substation; now at (−118.5, 0) and (118.5, 0) m with 20 drops of 25 m (before 25 drops, 1 140 m).CabinetConfig.placementis optional (defaultNone); a given placement keeps the former positions and nearest-cabinet feeding, and a configuration stored before carries the former strip and keeps its cabinets. InRadialTrunkTopologya building in a substation slot taps its feeder's trunk at the closest pair instead of getting its own line from the substation (feeders without a trunk unchanged; default 30 houses: drops 1 115 → 778 m, 14 → 4 from the substation). Tests:tests/test_cabinet_groups.py. - ⚠ The nearest-point rule for rings and strips (user decision Q43). Every
conductor the generators route to a site earthed by a
RingElectrodeSpeccircle or a strip — among them the default substations of both generators — ends at the point of that electrode nearest to it (a circle exactly), as at a foundation since Q41; a site with horizontal electrodes and rods is met on the horizontal ones, a site with several at the nearest of all; rods keep their head. The default mains leave the substation ring at its point nearest to their cabinets (the western ones at (−4, 0) m instead of through the ring from (4, 0) m).site_foundation_wiresis renamedsite_contact_wiresand lists rings and strips. Tests:tests/test_site_contact.py. - Q42: service drops keep the shortest connection (not routed around foundations) — no code change.
- ⚠ Mesh foundations: the cross-braces are encased (user decision Q20). A
foundation earth electrode per DIN 18014 lies in the concrete together with
its connections, so every wire of an encased
FoundationElectrodeSpec(style="mesh"), perimeter and cross-braces, carries the outer radius r_b = r_a + t and the shell coefficient C. In 0.15.0 the braces had r_b but no C (with"lumped"no wire had C), and the 2026.11 development line kept them bare (r_a, no C), so a foundation could not exceed the spreading resistance of its braces alone however dry the concrete (9.60 Ω for the default house mesh in 100 Ω·m). Without a shell nothing changes. Against 0.15.0 see Numbers that change.generators.materialise.concrete_shelltakesencased_length_m(wasperimeter_m, added in this release cycle) and reports C over every encased wire. Tests:tests/test_concrete_one_mechanism.py::test_mesh_braces_are_encased,::test_encased_mesh_equals_the_assembly_of_its_wires,::test_shell_of_a_mesh_foundation_spans_every_wire,::test_the_concrete_shell_page_states_the_change_against_0150,::test_the_brace_effect_names_its_model_and_second_method. FoundationElectrodeSpec.model_copyvalidates an updatedconcrete_modellike the constructor and copies the other fields as they are: an invalid value (e.g."Lumped") raisesValidationErrorinstead of being stored unchecked as in 0.15.0, so a copy can no longer build four strips and write unloadable JSON (audits D2B-04, R2B-05). Tests:tests/test_foundation_owners.py::test_model_copy_rejects_an_invalid_concrete_model,::test_model_copy_of_a_subclass_with_a_required_field.- ⚠ PEN cables of
TnNetworkGenerator(10.38): every cable cabinet has its own cable, as the topology documents (cabinets on one line: separate cables in one trench); a service drop taps the cable that feeds its building at the point nearest to the building (a leakage-free junctionpen_tap_<k>that splits the cable into sections<cable>_s<k>), never another drop; no section or drop is shorter than 1 cm. A drop may share its route with other cables, which the inductive coupling treats as touching wires (10.46). TnNetworkGenerator.build()of large networks:Worldkeeps a name index (O(1) per added object) and the materialiser passes objects instead of names: 1000 houses about 7 s → 2.4 s, worlds bit-identical.- ⚠
sample_world(10.53) resolves every nested distribution once per realisation. - ⚠ Depths (10.55): measurement leads and PEN sections run at their configured depth.
- One network plan and one materialiser (10.78): both front-ends produce a
NetworkPlan; the layout module became the packagegroundfield.generators.layout. - English names (10.69): see Deprecated; generated element names
(
trafo_*,kvs_*,house_*) are unchanged. - Overpass: retries on HTTP 503 honour
Retry-After;max_retriesis at most 5; the response cap is 16 MiB (passmax_response_bytesfor wider areas); element ids are 64-bit integers, a non-finite or negativebuilding:levelstag giveslevels=None, outlines without area are skipped.
API and performance
- Soil parameters (10.69):
HomogeneousSoil.rho,SoilLayer.rho,SoilLayer.h; soil models validate assignments and reject unknown keys inmodel_copy(10.67). - Import time (10.72): heavy dependencies load on first use; median
import groundfield798 ms → 223 ms. - Memory and speed (10.56–10.65), bit-identical unless marked: kernels
without
(N, N, 3)tensors (30-house network 1 248 → 115 MiB peak; an 80-house network with 9 712 segments solves in about 2 s); one reaction-matrix assembly per solve;solve_mutual_matrix23–31× faster; ⚠ two-layer series summed before the product (round-off, 10–15× faster on a 30-house network); chunked field evaluation; multi-frequency earth return; ⚠ tabulatedmom_sommerfeldkernels for three or more layers (66.6 → 0.30 s on a 40 m grid).
Documentation (10.82–10.93)
- The documentation follows the Diátaxis structure: tutorials T01–T10 as
executed notebooks with value checks (
tests/test_tutorials.py), how-to guides, a reference with glossary (English and German), units and conventions, warnings catalogue, known limitations and deprecations, an explanation section with one theory page per engine and a validation page generated from the benchmark suite, the audit history and the roadmap. Versioned withmike. - Formulas on the documentation site are typeset once; pages that load a TeX extension no longer fail.
- Final documentation pass (author's request before the release).
- Three case studies under Examples, executed with their outputs and
checked by
tests/test_examples.py: E01 a secondary substation with its low-voltage network (the global earthing effect, earth potential rise, transferred potentials, 50 Hz against 1 kHz), E02 a single-family house with a foundation earth electrode in concrete (rod, ring, concrete moisture, touch voltage), E03 the mesh grid of a high-voltage substation in two-layer soil (touch and step voltages against EN 50522 and the measures that make the design pass). - Choosing an engine opens the engine family page: a decision path, accuracy against the benchmarks, cost, and where each engine must not be used, with the warning it raises.
- Getting started covers a rod, a ring and a grid in homogeneous and two-layer soil, a fault with touch and step voltage, a potential profile and plots; every number is checked.
- The engine and theory pages follow one skeleton (what it solves, method, numerics, accuracy, limits) with the equations derived step by step and every symbol defined; measurement lists and the audit trail are collapsed. Known limitations and the warnings catalogue have one short entry per limit with its size and the remedy.
- The API reference renders every name of the public
__all__lists with a docstring summary (62 names were on no page, 77 had no summary; new page Utilities);tests/test_docs_api_coverage.pykeeps it complete. - Every formula renders: a headless-browser check of all 99 pages under the
versioned path (4540 formulas typeset, none with an error);
tests/test_docs_math.pyguards against math in headings, inline formulas split by a list marker and underscores in\texttt. - Corrected on the way: the skin depths of ADR-0005 (113 m … 5.0 km), the
bound of the tapered quadrupole term (\(1/(6G^2)\)),
fem's support for two-terminal and voltage sources in the theory pages, the edition DIN 18014:2023-06. - Moved pages (no redirects):
api/*→reference/api/*,examples/*→tutorials/andhow-to/,engines/*→explanation/engines/,concepts.md→explanation/concepts.md,performance.md→explanation/performance.md,installation.mdandquickstart.md→getting-started/. World.check: a world needs one source of non-zero magnitude (current or voltage); a voltage source of 0 V is accepted; voltage sources that close a loop through ideal bonds or remote earth, and a voltage source short-circuited by an ideal bond, raiseValueErrornaming the sources.femsolves them through the shared network since wave 4 (up to 0.15.0 it dropped them with a warning).diagnose()/expected_segmentscount one nodal unknown per voltage source. A voltage source withinternal_resistance_ohm > 0opens a loop of voltage sources (an inductance alone does not: it vanishes at \(f = 0\)); negative or non-finite internal impedances raise, also aftermodel_copy. The loop message names the sources on the loop only and says that conductors at or below 1e-6 Ω count as ideal bonds (audit W2A-08); a same-node voltage source is reported as short-circuited (W2A-06).measured_impedanceandLvNetworkLayout.measured_grounding_impedance/verify_current_balanceread the solved current of a voltage source (audits W2A-01, W2A-10);TnNetworkConfig.source_kind="voltage"gives the same readings as"current"; withoutsource=,measured_impedancetakes the single current source, else the single voltage source, as up to 0.15.0 (audit W2R2-05).compare_enginescompares the input impedance of voltage sources too (W2A-02).FieldResult.input_impedance()withoutsourcepicks the only current or voltage source.-
Registry:
mom,mom_sommerfeldand, since wave 4,femdeclareconcrete_shellsandvoltage_sources. -
The cross-layer path of
image_2layerneeds the memory of the series path: large depth groups are evaluated in row chunks (bit-identical), and beyondMATRIX_BUDGET_BYTESthe path works in row blocks (10.56): 278 → 137 MiB at the AP1 station with 40 % penetration with numba (without numba 224 → 140 MiB after audit W3A-05). - The spectral amplitudes of
groundfield.coupling.layered_greenare eliminated in closed form, vectorised over the quadrature nodes, instead of one LAPACK solve per node: the cross-layer path with the point kernel is 1.6 … 2.0 times faster at the AP1 station; results move by round-off. - Cost of the line kernel (audit W3A-01): a solve of 16 house grids takes 3.8
times the point kernel in homogeneous soil and 1.6 times in two-layer soil
(h₁ = 5 m) with numba, 5.8 and 1.4 times without; the far-image terms are
evaluated per pair class and on the upper half of the symmetric matrix.
Against the solve before wave 3: the TN 40-house network in 1000/30 Ω·m,
h₁ = 1.5 m, 1.84 times with numba, 3.63 times without (4.2 and 9.7 times
before the audit fix); 16 house grids with eight 9.4 m pieces 1.5 times
(2.8); the AP1 station at 40 % 1.0 times (1.4); thin top layers (h₁ 0.1 …
0.2 m) 3.6 … 4.5 times (7 … 8.7). With
image_far_field="point"1.1 … 1.3 times within the upper layer; on the cross-layer path the point form keeps the Galerkin near image pairs (audit W3R2A-01) and takes 0.49 … 0.94 of the default's time — 0.74 at the AP1 station, 0.91 on the 40-house network, 1.5 … 2.4 times the solve before wave 3 below thin top layers, 4.3 … 4.5 with long pieces there. sommerfeld: the self term of every segment is the exact one-dimensional reduction of its double integral, and close pairs get a graded rule along their line of closest approach (user decision Q34): the self correction is within 1.1e-9 of a refined rule (for the soils tested; up to 3.4e-9 in high-contrast soils, audit W3R2B-08) from 1 m and 0.01 skin depths to 3 km at 50 Hz and 1 kHz without a step (with the λ grid of audit W3B-01; it was 4.8e-4 off at a quarter skin depth, with a step of 3.5e-4 where the composite rule took over); close pairs within about 4e-8 (wires 1 mm apart were up to 1.5e-3 off).sommerfeld: the cost of a long lumped conductor grows at most linearly with its length and its memory is bounded (audit W2B-05: 2 km from a rod to a junction 28 s and 1.6 GB, now 1.1 s and 0.21 GB; 100 km 10.6 s within 0.24 GB instead of more than 7.8 GB, but beyond 2^17 · 2π (z + z′)/30 — 33 km for that conductor, 38 km for one at 0.7 m — the result warns withSommerfeldResolutionWarningand is not converged). The mutual of two long close conductors (1 km, 1 m / 0.1 m apart) moved by 2.6e-5 … 4.0e-5 at 50 Hz and 3.4e-6 … 1.5e-5 at 1 kHz and is now within 1.3e-10 of an independent reference (audit W3B-10).-
carson_series: a tilted near-parallel pair that comes close within its overlap is tiled per stretch (audit W1R3-07): a lumped pair and its pieces add up within 8e-6 of the loop reactance (5.2e-2 apart at 4e-2 rad); other pairs keep their entries; generated networks move by up to 3e-7 (the 10-house star with sites 2.8e-7, the 80-house radial network 3.4e-8; audit W3B-07). -
Generated TN networks: service drops that leave one tap in one direction (the drops of houses behind each other, radial taps and the substation drops of the star) lie side by side at the touching distance of the PEN, sorted by length and centred on their former axis, so that only neighbours touch (user decision D9 of 2026-11-15). Before, they lay on one axis and the inductance matrix read every pair as touching;
diagnose()reported them as overlaps (5-house radial network: 10 pairs, 200 houses: 247). The drops of one node form a row when their start points lie within the touching distance d_t of each other and the shorter drop's end lies within d_t of the longer drop's line; drops that are not exactly parallel (placement jitter) lie along one common normal, each at least d_t from the others, and a drop that would overlap a drop of a row joins it, also a drop of a tap 1 … 4 cm away on the same trunk (from 2 cm of jitter; audit W3R2B-01). A drop of a row starts up to (n − 1)/2 touching distances off its tap (2 cm in a row of five). No generated network reports an overlap withjitter_m0 … 0.1 m (star and radial, 5 … 200 houses). TnNetworkGenerator.build()right afterplan()on the same generator (norng=, nothing drawn fromgenerator.rngsince, the same configuration) gives the world of that plan; before, it drew a second realisation, another world with placement jitter. Successive calls still draw successive realisations (audit W3R2B).bustype_rho_presetreturnsNonewhen the last line of the description is not exactlygroundfield rho_preset: <known preset>(before, a blank name raisedValueError; audit W3R2B-06).-
PenetrationDepthcompares by value and is hashable; its arrays are read-only copies (audit W3B-11). -
⚠ Every
femnumber changes (goldenfem_rod_hom−4.65 %,fem_rod_two_layer_deep−4.57 %: Dwight's rod ignored the head depth);FemOptions:n_radial,n_axial,z_far_factorremoved (2026.11 names),r_far_factormeasures a box in characteristic lengths (default 1000),far_field="dirichlet"grounds the box;fem's point sources count againstEngine.max_segments. Benchmark B1 checksfemagainst Weber's disc (was the hemisphere). -
FemOptions.max_nodesdefaults to 2 million (was 4 million, about 16 GB; the axisymmetric model needs about 4 GB per million nodes, audit W4A-05);femwithextrapolate=Falsereportsfem_error_estimate = NaN(was 0.0, W4A-02); the common axis of the axisymmetricfemhas a tolerance of 1e-3 of the smallest wire radius or gap (was 1e-9 of the world size, so a rod 1 µm off a ring's axis went to the 3-D model, W4A-08);metadata["fem_peak_memory_gb"]of the 3-D model is what the solve added (newfem_process_peak_memory_gb: the process peak; W4B-09). - The
fempage: the validation rows next to and on an interface and the engine columns re-measured after the wave-3 changes of the image family and the refined ring block (audit W4A-01):image_2layerreads a ring 1 cm above a 1000 / 30 Ω·m interface +3.46 … +3.57 % abovefem(the page said +5.2 … +5.4 %), the ring on an interface within 1.2e-5 of the solid-torus boundary elements; boundary elements as a second method for B2, B3 and the bonded ring with a central rod (W4A-11); benchmarks B8 and B10 excludefemfor its cost, with the 3-D result measured once (reciprocal to round-off; B10 +0.6 / +0.8 % abovemom).
Deprecated¶
Every name below keeps working, emits a DeprecationWarning that names its
replacement, and is removed in 2027.5.0 at the earliest.
| Deprecated | Replacement |
|---|---|
backend cim (10.76) |
image (auto-dispatch; cim already ran image_2layer, whose default kernel is now "line", see Numbers that change) |
backend bem (10.76) |
mom (identical point-matching system) |
backend image_nlayer (10.76) |
image (auto-dispatch by soil) |
Engine.tolerance, Engine.max_iterations (10.51) |
none, they have no effect |
Engine.sommerfeld_lambda_max_factor, sommerfeld_epsabs, sommerfeld_epsrel, sommerfeld_max_osc_panels (10.74) |
Engine(options={"mom_sommerfeld": {...}}) or MomSommerfeldOptions |
World.solve(snapshot_sources=False) (10.72) |
none, every entry point takes the snapshot |
World.concrete_shell_corrections (10.12–10.14) |
concrete_shell_coefficient_ohm_m of the electrodes |
HomogeneousSoil(resistivity=...), SoilLayer(resistivity=...) (10.69) |
rho |
SoilLayer(thickness=...) (10.69) |
h |
module groundfield.generators.ortsnetz_builder (10.69) |
groundfield.generators.layout |
OrtsnetzLayout |
LvNetworkLayout |
KvsPlacement, KvsConfig |
CabinetPlacement, CabinetConfig |
StarKvsTopology, kind="star_kvs" |
StarCabinetTopology, kind="star_cabinet" |
TnNetworkConfig.kvs, TnNetworkConfig.source_magnitude_A |
TnNetworkConfig.cabinets, TnNetworkConfig.source_magnitude_a |
CabinetConfig.quote_per_100_buildings |
CabinetConfig.count_per_100_buildings |
RadialTrunkTopology.slots_per_kvs, .kvs_spacing_m, .plan_feeder_kvs_positions() |
.slots_per_cabinet, .cabinet_spacing_m, .plan_feeder_cabinet_positions() |
LvNetworkLayout.add_kvs(), .kvs_placements |
.add_cabinet(), .cabinet_placements |
from_osm(kvs_lat_lons=, kvs_xys=), to_world(kvs_grounding=) |
cabinet_lat_lons=, cabinet_xys=, cabinet_grounding= |
source_magnitude_A= of to_world, measured_grounding_impedance, verify_current_balance, and the *_A result keys of verify_current_balance |
source_magnitude_a= and *_a keys |
HomogeneousSoilSpec.resistivity, SoilLayerSpec.resistivity, SoilLayerSpec.thickness_m |
rho, rho, h |
FoundationElectrodeSpec(concrete_model="distributed") (user decisions Q21, Q38) |
none, drop the argument: the field has no effect — both values put the same concrete shell on every wire, and every rectangle without cross-braces (style="ring", or "mesh" with n_x = n_y = 1) is one owner per side at every orientation, which is what "distributed" did (the default "lumped", silent so that 0.15.0 files keep loading, made an axis-aligned one a single grid-mesh owner up to user decision Q38, see Changed); warns also from JSON, from a model_copy that sets it and from copy.replace on Python ≥ 3.13. Test: tests/test_foundation_owners.py |
Configurations and worlds written by 0.15.0 still load. solve_cim and
solve_bem warn and delegate; their results carry the metadata of the backend
that ran. fem is registered as experimental (ExperimentalBackendWarning).
groundfield.solver.fem.equivalent_hemisphere_radiusandsolve_fem(n_radial=…, n_axial=…, z_far_factor=…)(0.15.0 names; no effect; removal no earlier than 2027.5).FemReductionWarningis kept and never emitted.
Removed¶
- From the wheel (10.02, 10.11): the console scripts
releaseandgenerate-third-party-licenses, the top-levelscriptspackage and the unusedpolarsdependency (groundinsight 0.3.0 still installs it with thegroundinsightextra); run the tools from a checkout (python scripts/release.py ...). - Release tool options (10.09): the
major/minor/patchbumps and--no-push,--allow-dirty,--allow-empty-changelog. - Metadata of
cimresults (10.76):cim_fit_used,cim_n_images,cim_rms,reduces_to,n_layers,h,rhos. - Private names (10.75, 10.79, 10.81):
solver.image._potential_kernel,_segment_z_extent, the_discretize_*helpers,_grid_segmentsand the electrode classes andPointSourcethatsolver.imagere-imported;image_2layer._two_layer_potential_kernel; the modulesolver.field_study;Engine._stub_resultand_dispatch;_layered.cylindrical_radiusand_split_layer_thicknesses;mom._carson_skin_metadata,bem._build_Z_collocation,cim._cim_self_kernel_factory,_galerkin_solveofbemandmom_sommerfeld, the private Pollaczek kernels ofcoupling.sommerfeld_inductanceand the helpers the solver modules re-imported from each other. Import public names fromgroundfieldorgroundfield.geometry. gf.annotations(a leaked__future__object, 10.72).
Fixed¶
Inputs that solved silently
- Source references (10.66): misspelled
attached_to/return_to, a source on a conductor, a source returning to its own node, no current source, magnitude 0 and dangling conductor ends raise with the closest names. Tests:tests/test_source_validation.py. VoltageSourcesolved to zero (10.51): up to 0.15.0 every backend dropped it with a warning and the world solved to zero potentials; it is solved now (see Added). Test:tests/test_source_validation.py::test_voltage_source_solves_and_fixes_the_feeding_potential.HARD_LIMITonly warned (10.06): worlds beyond the segment limit, or whose dense nodal system with every conductor sub-piece exceeds it (audit A2S-02: a 100 m PEN in 2000 pieces was predicted at 12 segments), raiseResourceLimitErrorbefore any allocation. Test:tests/test_diagnostics_report.py::test_world_beyond_the_hard_limit_is_rejected_before_any_allocation.- Conductors (10.43, 10.67): non-positive or non-finite cross sections and
resistivities raise; a cross section above 1e-2 m² warns (mm² given?); an
ideal conductor with
discretize_segment_lengthraises. Tests:tests/test_conductor_validation.py. - Soils and geometry (10.67): infinite resistivities and thicknesses,
malformed
MultiLayerSoilstacks and degenerate electrode geometry raise when built. Tests:tests/test_soil_models.py,tests/test_electrode_validation.py. - Inert settings (10.51, F57): non-default boundary conditions, soil
permittivity and engine settings that no backend reads warn. Tests:
tests/test_boundary_conditions.py,tests/test_engine_options.py,tests/test_soil_specs.py. - Engine assignments and copies (audit A1-02, A1-04):
engine.frequencies = []and a rawoptionsdict were accepted, and deprecated flat names inmodel_copywere ignored. Tests:tests/test_engine_validation.py. - Names used twice in a loaded or edited world (10.66, audit A2S-06) failed
with a singular matrix or merged an electrode and a junction, and names with
the solver's internal prefixes
__layer_/__cond_broke the solve (audit A3S-03);World.check()and theadd_*methods reject both. Tests:tests/test_source_validation.py::test_check_reports_names_used_twice,tests/test_source_validation.py::test_check_rejects_a_name_with_a_reserved_prefix.
Solver
- Reciprocity (10.28, 10.29): transfer impedances of the
momfamily (were up to 1.46 Ω apart) and of the line kernel across the interface (were 1.1–4.7 % non-reciprocal) are reciprocal. Tests:tests/test_mom_family.py::test_two_port_transfer_impedance_is_reciprocal,tests/test_reciprocity.py. cimis bit-identical toimage_2layer(10.30) of the same release, default line kernel included (against 0.15.0 both move, see Numbers that change). Test:tests/test_cim.py::test_cim_is_bit_identical_to_image_2layer_for_unequal_segments.- Layer stacks (10.48): physically two-layer or homogeneous
MultiLayerSoilstacks no longer raise. Tests:tests/test_layer_stack.py,tests/test_layer_stack_dispatch.py. - ⚠ Interface slivers and contact (10.32, audit A2S-01): a rod tip just
below h₁ no longer raises or shorts the
momsolve, and the contact with the layer it reaches is kept: the first fix dropped cuts shorter than the wire diameter, so a 4.5 m rod in 1000/30 Ω·m jumped from 195.0 to 128.6 Ω between 15.9 and 16.1 mm of tip penetration (audit A2S-01). The diagonal of a piece at the interface clamped its closed-form image terms at h₁/200, so a ring lying at h₁ = 5 m read −5.29 Ω with the default engine and contact values were 10–32 % low (audit A3S-01); it is evaluated at the wire radius. Tests:tests/test_interface_slivers.py,tests/test_cross_layer_line_kernel.py::test_ring_resistance_is_continuous_through_a_deep_interface. - ⚠ Point form next to the interface (10.28): on the cross-layer path a
horizontal wire next to h₁ gave wrong, even negative impedances with
kernel="point"and themomfamily (−14 % … −552 %, also in 0.15.0) or a bareValueError; it raisesBackendCapabilityErrornaming the line kernel, and one within 0.6 segment lengths warns (PointKernelInterfaceWarning), on both sides of the interface (a ring 1 mm above h₁ read −945 Ω; audit A3S-02). Test:tests/test_cross_layer_point_form.py. - ⚠ Field of equal-resistivity layers (10.48, audit A3S-04):
FieldResult.potentialandsolve_mutual_fieldofTwoLayerSoil(ρ, ρ, h)were up to 21 % off next to wires below h; they read the canonical stack and equal the homogeneous field. Test:tests/test_layer_stack.py::test_field_of_an_equal_resistivity_stack_is_the_homogeneous_field. - Floating clusters in
solve_mutual_*(10.29, audit A2S-03): one factorisation for all excitations (256 bonded nodes 199.9 s → 5.6 s, results equal to 1e-12). Test:tests/test_mutual_matrix.py::test_shared_factorisation_equals_one_floating_solve_per_anchor. momfamily above ground (10.75): a segment crossing the surface raises instead of being solved as buried. Test:tests/test_point_matching_pipeline.py::test_mom_family_rejects_a_segment_partly_above_the_surface.mom_sommerfeldbudget (10.47): a binding oscillation budget counts as non-convergence. Test:tests/test_mom_sommerfeld.py::test_kernel_warns_or_converges_when_the_oscillation_budget_binds.femwarnings (10.23, audit F01): interfaces above or beside the electrode are reported. Tests:tests/test_fem.py.- ⚠
fembelow a thin top layer (10.23, audit A2E-2): a 3 m rod below h₁ = 0.4 m in 1000/30 Ω·m read 31.1 Ω against 10.5 Ω (mom) with a warning; it raises, and driven polyline and star electrodes raiseBackendCapabilityErrorinstead of a bareTypeError;femwarns that it ignoresresistance_model="skin"(audit A2C-4). Tests:tests/test_fem.py,tests/test_backend_registry.py::test_a_backend_that_ignores_the_skin_model_says_so. fit_complex_images(10.49) no longer reports convergence for a fit that misses Γ₁. Test:tests/test_cim.py::test_fit_converged_flag_bounds_the_maximum_error.compare_engines(10.71, audit F03) sees the reactance, every frequency, non-finite results and a zero of one engine. Tests:tests/test_compare_engines.py.- Resolution check (F53, F54): polyline and star electrodes are checked.
Test:
tests/test_diagnostics_report.py::test_resolution_check_covers_star_and_polyline. expected_segmentsfor layer stacks (10.79, audit A2S-07) cuts where the backends cut. Test:tests/test_diagnostics.py::test_expected_segments_matches_the_solve_for_every_layer_stack.convergence_study(A1-02, audit A2S-08) shows each warning once and rejects non-finite segment lengths. Tests:tests/test_convergence.py.- Line-kernel cost (10.28): one long segment no longer slows down the
whole near-pair search (16 houses: 29 s and 1.7 GiB before). Test:
tests/test_line_kernel_near_pairs.py. - Engine knobs (10.74):
femoptions are reachable, options for another backend warn,Engine.solvekeeps the caller's sources (10.72). Tests:tests/test_engine_options.py,tests/test_solve_entry_points.py. - Memory (10.56, 10.57, 10.59, 10.62, 10.65): see Changed. Tests:
tests/test_kernel_performance.py.
Coupling
- ⚠
carson_seriesbaseline (10.20, F32). Test:tests/test_inductive_solver_integration.py::test_carson_series_reactance_matches_carson. - ⚠
carson_seriesacross the surface and outside its domain (10.20, audit A2C-1): an overhead wire over a buried one was coupled through an image above ground (mutual reactance 35.9 % low for a lead 1 m above a PEN at 0.7 m, 1 kHz), and oblique pairs got the per-metre value once per segment pair, which grew with the number of segments (two 1 km leads at 9°: 20× the Sommerfeld coupling). Tests:tests/test_carson_validity_domain.py. - ⚠ Wires lying side by side (10.46): coincident or overlapping parallel
conductors had no finite mutual inductance (two coincident 50 m leads read
1.87 H), which made a two-house network with drops along the PEN main
non-passive. Where a point of one wire lies beside the other closer than
r_a + r_b, the touching distance is used, pointwise inside the Neumann
integral and independent of the order of the conductors (a first version
switched whole pairs from the row segment's view: +38.7 % depending on the
order, indefinite matrices; audit A3C-1, A3C-2); a thinner wire inside a
thicker one couples at the thicker radius (core in a shield: the loop was
+36 %, audit A3C-5). Tests:
tests/test_interpenetrating_wires.py. - ⚠ Close non-parallel pairs (10.46): nearly parallel, crossing, skew and
T-junction pairs were integrated with a 16 × 16 rule that does not resolve
1/r (+12 % at 10 cm, up to +250 % at 1 cm, −13 % for T-junctions); they are
integrated semi-analytically, to 5e-11 for directions that differ by more
than 1e-6 rad (1.0e-9 at 1e-8 rad); filaments from one vertex at tiny
angles were up to 16 % off (audit A3C-4). Tests:
tests/test_neumann_close_pairs.py,tests/test_neumann_touching.py. - ⚠
carson_seriesand the segment order (10.20, audit round 3): a near-parallel pair was projected on the axis of its first segment, so the order of the segments moved entries by up to 3.1 % of the largest one; such pairs are projected on the bisector (two 1 km leads 2 m apart: +2e-5 at 0.5° … +6.4e-3 at 8°). Test:tests/test_carson_validity_domain.py::test_carson_tiling_does_not_depend_on_the_segment_order. - ⚠ Long segments under
sommerfeld(10.24, audit A2C-2): one 16 × 16 rule over a segment much longer than the skin depth put a lumped 3 km PEN's earth-return resistance +13.4 % high at 1 kHz (+34.9 % at 5 km), without a warning; the lumped 3 km PEN now matches its refined chain to 1e-4, and the composite rule stays within 5.9e-4 (resistance) and 2.4e-4 (reactance) of a refined rule up to 3 km, with a step of 3.5e-4 at a quarter skin depth (audit A3C-4). Tests:tests/test_sommerfeld_long_segments.py. - Cost of the exact touching-pair rule (10.46, audit A2C-5): the coaxial
closed forms are evaluated in one vectorised call per segment, bit for bit
(2 km PEN solve 2.2–2.6 s → 1.1–1.4 s). Tests:
tests/test_neumann_touching.py. - ⚠ Sommerfeld kernel (10.35, 10.36) for three or more layers, conductors
below h₁ and distant pairs;
SommerfeldResolutionWarninginstead of silent truncation. Tests:tests/test_sommerfeld_accuracy.py. - ⚠
earth_return_correction_layeredsign (10.46, F50). Test:tests/test_sommerfeld_accuracy.py::test_layered_point_kernel_has_the_exact_sign. - ⚠ Carson P and Q (10.46): the a⁻⁷ term of the Q asymptote, the small-a
series and the θ = 0 quadrature. Tests:
tests/test_carson_pq.py. - ⚠ Lumped and single-segment conductors (10.24): the Neumann inductance
of a lumped conductor and the leakage of a one-piece galvanic conductor.
Tests:
tests/test_inductive_solver_integration.py::test_neumann_is_honoured_on_lumped_and_single_segment_conductors,tests/test_conductors_distributed.py::test_a_single_segment_galvanic_conductor_leaks. - Conductors at the surface (10.46, F52): crossing or lying in the surface
plane is solved under
sommerfeldand raises with the image models. Tests:tests/test_inductive_solver_integration.py::test_sommerfeld_accepts_a_surface_crossing_conductor. segment_distancewith a point segment (10.44, audit F04). Test:tests/test_conductor_proximity.py::test_segment_distance_with_point_segments.- Docstrings (10.95): invalid escape sequences and control characters.
Tests:
tests/test_coupling_conventions.py,tests/test_source_escapes.py.
Safety, fits and export
- ⚠ Touch voltage at the electrode centre (F13, 10.21), also for rotated
foundations (audit H4). Tests:
tests/test_touch_voltage_footprint.py::test_grid_envelope_covers_the_one_metre_offset_curve,tests/test_touch_voltage_footprint.py::test_touch_voltage_of_a_rotated_foundation_matches_the_unrotated_one. - Uniform-current caveat (10.22): touch and step voltages near grids,
meshes, stars, strips and bonded clusters from the image family warn. Test:
tests/test_touch_voltage_footprint.py::test_uniform_current_backend_warns_once_per_call_near_a_grid. - EN 50522 anchors (F44, 10.42): checked against literals of EN 50522:2022
Table B.4 (values unchanged); docstrings cite the 2022 edition. Test:
tests/test_safety.py::test_en50522_docstrings_cite_the_current_edition. touch_voltage_spectrum(10.52, audit L4) rejects a frequency given twice. Test:tests/test_safety.py::test_touch_voltage_spectrum_rejects_a_frequency_given_twice.- Vector fit with a 0 Hz sample (10.41): no collapse to Z ≈ 0. Test:
tests/test_vector_fitting.py::test_dc_sample_with_imaginary_part_does_not_collapse_the_fit. - Export errors and metadata (10.84, 10.27, 10.19): an actionable error
without
rho_at_fit, the running version in the BusType metadata, every non-finite number of a BusType document asnull(audit A2G-08). Tests:tests/test_io_groundinsight.py::test_vector_fit_without_rho_at_fit_raises_an_actionable_error,tests/test_io_groundinsight.py::test_metadata_of_hand_built_fits_is_strict_json,tests/test_io_groundinsight.py::test_unknown_fit_quality_and_samples_are_written_as_null. - Result JSON (10.77): float keys, infinities and numpy values in the
metadata survive the round trip; result files honour the umask (audit
A1-05). Tests:
tests/test_result_persistence.py.
Generators
- ⚠ Measurement leads (10.17, 10.55, F48): leads no longer short-circuit
the instrument and run at their depth. Tests:
tests/test_measurement_loop.py::test_resistive_leads_do_not_change_the_reading,tests/test_measurement.py::test_buried_lead_runs_at_its_depth. - ⚠ Concrete shells (10.12–10.14, F08): the lumped shell outside TN
service drops, rod current through the foundation's shell, substation and cabinet shells,
and the layout builder. Tests:
tests/test_concrete_one_mechanism.py. - ⚠ PEN joints and depth (10.38): joints no longer leak,
PenConfig.depth_macts. Tests:tests/test_pen_junctions.py,tests/test_pen_depth.py. - ⚠ Foundations (10.39, 10.54, F28): rotated meshes without the clamp,
layout foundations from the footprint, no shift of the random draws,
degenerate footprints get a minimum foundation. Tests:
tests/test_rotated_foundations.py,tests/test_footprint_foundations.py. - ⚠ Mesh foundations depended on their orientation and on an absent shell
(10.12, 10.39, audit A2G-04): the same bare mesh gave 4.796 Ω at 0° and
4.738 Ω at 30°, and a shell with ρ_c = ρ_soil lowered the largest touch
voltage of a 10 m mesh from 232.3 to 221.2 V (100 A). Tests:
tests/test_foundation_owners.py. - ⚠ Overlapping PEN cables (10.38): service drops ran from the cabinet back
along the main, coaxial with it, which made an inductive 2-house network
non-passive (Im Z_in −0.633 Ω at 1 kHz); drops now tap their feeding cable
and run along no cable farther than one minimum section (1 cm; "along":
both ends of a cable section within 1 cm of the drop's line — a test to
1 µm let a drop 2 µm beside a trunk run 60 m along it, audit R5A-01), and
conductors lying side by side are touching wires (10.46). Tests:
tests/test_pen_routing.py,tests/test_interpenetrating_wires.py,tests/test_foundation_contact.py::test_a_drop_beside_a_trunk_leaves_it_at_its_end. - Outlines without area (10.05, 10.54, audit A2G-06) crashed the
generators; they are skipped on ingest and widened with a warning by the
generators, and polygon foundations of outlines narrower than 1 m are
widened like the OMBR ones (audit A3SG-07). Tests:
tests/test_geo_footprint.py,tests/test_footprint_foundations.py. - Integer fields of a resolved config (10.53) hold
int. Test:tests/test_generators_base.py::test_resolved_integer_fields_hold_integers. - Reproducibility (10.53, F07): resolved configs replay their realisation;
masks ignore the footprint order. Tests:
tests/test_generator_reproducibility.py. ManhattanGridPlacement(jitter_m=<distribution>)(10.55, F47). Test:tests/test_placement.py::test_manhattan_grid_jitter_accepts_a_distribution.- Malformed Overpass payloads (10.05, audit M1, A2G-05) raise
OverpassErrorbefore caching, also deeply nested ones (RecursionErrorbefore), on every Python version: the client checks the nesting right after decoding, because Python 3.14 may decode 100 000 levels where 3.12 and 3.13 raise (release CI). Tests:tests/test_overpass_ingest.py. - Layouts and generator configs pickled with 0.15.0 (10.69, audit A2G-07)
still load and build. Tests:
tests/test_generator_pickles.py,tests/test_generator_naming.py::test_layout_pickled_with_v0150_still_builds. FoundationElectrodeSpecrejects non-positivesize_m/size_xy_m, and a drawn side that is not positive raises when the site is built; four strips had accepted a negative side and built the mirrored rectangle (10 m × −1 m gave the 9.47312 Ω of 10 m × 1 m; audit D3A-01). Tests:tests/test_foundation_owners.py::test_a_non_positive_side_is_rejected,::test_a_drawn_negative_side_is_rejected_when_the_site_is_built.diagnose()leaves out the pairs of wires that a generated foundation bonds to its anchor (_bond_conductors) where they meet at a shared corner or crossing: an encased 10 m ring / 2 × 2 mesh reported 4 / 9proximityfindings at its own corners (warnings with the point kernel; audit D3A-04); real proximity inside one foundation — the opposite sides of a narrow encased ring, the wires of a fine mesh — and unbonded strips with look-alike names are still reported (audit R4A-04). Tests:tests/test_diagnostics.py::test_diagnose_does_not_flag_the_wires_of_one_foundation,::test_diagnose_still_flags_the_close_opposite_sides_of_a_narrow_encased_ring,::test_diagnose_flags_the_parallel_wires_of_a_fine_encased_mesh,::test_diagnose_still_flags_unbonded_strips_whose_names_look_like_one_foundation.- Documentation:
anchor="connection_point"of the touch-voltage helpers andplot_potential_radial(around=<foundation>)start at a corner of a generated rectangular foundation in this release (largest touch voltage on the 1 m circle for 100 A in 100 Ω·m round the corner 270.89 / 229.71 / 91.10 V for a 10 m ring / 20 m × 5 m / 30 m × 30 m, round the centre 245.22 / 161.76 / 111.38 V; 0.15.0, connected at the centre: 240.82 / 156.07 / 109.87 V); the default"footprint"does not depend on it (audits D3A-03, R4B-09). Test:tests/test_touch_voltage_footprint.py::test_connection_point_anchor_of_a_generated_ring_is_its_corner. - Documentation: one owner per side is at most 1.4 % above one current per
segment over the scope of the owner texts (150 m × 3 m bare in 30 over
200 Ω·m: +1.336 %; the texts said 0.9 %, audit D3B-01); the field at the
edges of the passive golden foundation moves by +5.5 / −4.7 % (1.6 % is
the harness's norm-wise measure; D3B-02, R4B-13). Tests:
tests/test_foundation_owners.py::test_one_owner_per_side_against_one_current_per_segment_holds_in_the_scope,::test_the_texts_quote_the_field_change_at_the_passive_foundation. - The layout builder merges the leading run of a cable's waypoints inside its start
site's closed electrodes and the trailing run inside its end site's into those
sites, and clips the cable at every other site it passes — the substation, a
cabinet, or its own start or end site again: the cable is joined to that site
where it enters and where it leaves it, the waypoints in between are part of it,
and a free end inside it ends the cable there. A router corner inside a small
cabinet ring was a node that houses tapped — 82 of 2 540 drops of 200 random
layouts with a 2 m cabinet ring started inside it, 79 junctions lay inside it
(audit R6A-01) —, a cable to a far cabinet kept a tap inside a near cabinet's ring
(audit W1B-03), and the first fix merged every waypoint before the last passage
through the start site and after the first entry into the end site, so a leg that
came back lost its taps (audit W1B-04: 142.8 instead of 30.0 m of drops). Tests:
tests/test_foundation_contact.py::test_no_layout_drop_starts_inside_a_cabinet_foundation_behind_a_short_bridge,::test_no_layout_drop_starts_inside_the_station_ring_with_a_fine_router_grid,::test_no_layout_drop_or_junction_lies_inside_a_cabinet_foundation_in_random_layouts,::test_no_layout_tap_lies_inside_a_cabinet_the_cable_passes,::test_a_hand_made_cable_is_joined_to_a_cabinet_it_passes,::test_a_cable_whose_free_end_lies_inside_a_cabinet_ends_at_it,::test_a_cable_through_its_start_station_keeps_its_outbound_taps,::test_a_cable_that_overshoots_its_cabinet_keeps_its_far_leg. - The owner texts of the generators say one current per straight wire, an outline
one owner per straight side (user decisions Q30, Q44; audit W1A-04). Test:
tests/test_foundation_owners.py::test_no_text_describes_the_owners_of_before_q30_and_q44. - Straight runs of polylines at projected coordinates (audit W1A-01, user
decision Q30). A vertex continues a straight wire when it lies on the
chord of its neighbours up to 64 units of round-off of the coordinates
(
geometry.primitives.COLLINEAR_ROUNDOFF_ULPS), instead of an absolute sine of 1e-9 between the edges: at UTM coordinates (easting 32.6e6 m) a rotated generated 10 m mesh foundation with 10 × 10 meshes split into 142 extra owners and read 0.55 % low (20 × 20: −0.64 %). Local-coordinate worlds (the AP1 path) are unchanged. Test:tests/test_wire_line_owners.py. - ⚠ Sub-pieces of conductors lying beside each other add up (audit
W1A-02, user decisions Q32, Q33). A thinner wire parallel inside a cable
shield couples at the shield radius at every axial offset; for two other
conductors lying beside each other a point lies beside the partner when
its foot falls inside the partner's whole conductor. The 100 m coax (5 /
15 mm) read 26.91 / 26.37 / 24.61 µH in 10 / 1 / 0.25 m pieces against
26.97 µH lumped (−0.2 / −2.2 / −8.7 %), now the lumped value in any pieces,
also with the core tilted against the shield or crossing its axis (within
2.2e-12; audits W1R2-01, W1R3-01); the unmarked pair likewise (43.40 … 40.34 → 43.47 µH).
build_inductance_matrix(..., conductors=...)labels the conductors. Tests:tests/test_concentric_cables.py. - A
cable_shieldcopied withresistance_model="skin"is rejected at solve time (audit W1A-05).model_copy(update=...)skipped the validator and the solve used the skin impedance of a solid wire. Test:tests/test_concentric_cables.py. diagnose()/expected_segments()count the nodal unknowns per straight wire (audit W1A-06). A 100 m 20 × 20 grid with 50 building outlines read 102 instead of 393. Test:tests/test_diagnostics_report.py.- A lone floating grid, star or polyline reports
0j, not-0-0j(audit W1A-07). Test:tests/test_wire_line_owners.py. - ⚠ Pieces of two conductors that are not parallel add up to the lumped
pair (audits W1R2-01, W1R3-01, W1R3-02, user decisions Q32, Q33). The
rule of audit W1A-02 (a point lies beside the partner's whole conductor; a
core inside a cable shield couples at the shield radius at every axial
offset) acted only on pieces parallel within 4.5e-5 rad. A core tilted by
more kept the per-piece rule and the 100 m coax read −0.17 / −0.36 /
−1.86 / −7.42 % in 10 / 5 / 1 / 0.25 m pieces at 4.5e-5 rad, with a step
at the tolerance. Pieces tilted against each other now get the rule at any
angle and whatever their length, with the stretches inside, beside and
away from the partner found exactly. A first version stopped where the
lateral distance changed by more than the touching distance along a piece
and at \(|\cos\varphi| = 0.99\); beyond either bound the per-piece rule mixed
in: a core crossing the shield's axis at mid-length read −8.6e-5 of the
loop in 10 m pieces, shield pieces of mixed length −1.6e-3, two wires
leaving a junction stepped by 1.5e-3 at 8.1°. Now every such case adds up
within 2.2e-12, the tilted coax within 6.4e-12 for tilts up to 1e-3 rad
(an unmarked touching pair within 3.1e-10), and the solved loop within
1.1e-15 under
perfect_mirror(sommerfeldwithin 1.6e-8, its own piece dependence). The generator's overhead probe lead, drawn from 10 mm beside the feed lead to its axis, is such a pair: the probe junction potential moves by 6.5e-5 … 1.1e-4 with the default 5 m pieces. Test:tests/test_concentric_cables.py. - The bundle rule needs memory in proportion to the matrix (audit
W1R2-03). Two touching 600 m conductors in 1 m pieces peaked at 292 MiB
(all pairs at once), now 30 MiB; the values are bit-identical. Test:
tests/test_concentric_cables.py. - Straight runs of polylines are checked against the chord of the whole
run (audit W1R2-05). A vertex tested against the chord of its two
neighbours only passed at UTM coordinates next to a near-duplicate vertex
or along a finely sampled arc: a square with a vertex 0.1 µm from a corner
became 3 wires, a 2° arc electrode of R = 50 m in 6 mm edges one wire
(+1.27 % against the local origin; now +5.5e-4). Local-coordinate worlds
and generated networks are unchanged. Test:
tests/test_wire_line_owners.py. - The straight runs of a polyline take linear time (audit W1R3-03).
The chord rule of W1R2-05 re-tested every vertex of a run at every edge,
and
PolylineElectrode.segmentsrepeated it on every call: 4000 collinear edges took 13.3 s, a 2 km polyline electrode in 1 m vertices solved in 17.3 s (0.45 s before W1R2-05). The decisions are the same bit for bit (taken from a bound on the heights where it decides), and the runs are cached on the vertices' values: 0.006 s and 0.25 s. Test:tests/test_wire_line_owners.py. World.check()rejects a cable shield copied onto the skin model (audit W1R2-10).model_copy(update=...)skips the validator; the check passed and onlyimage/momraised later,femsolved its resistive fallback. Every backend now raises before it runs. Test:tests/test_concentric_cables.py.build_inductance_matrix(conductors=None)documents that unmarked touching pieces are then not one conductor and do not add up (the 100 m pair in 0.25 m pieces 40.34 against 43.47 µH lumped; audit W1R2-08). Test:tests/test_concentric_cables.py.- Readings of a voltage-driven layout (audit W2A-01).
LvNetworkLayout.measured_grounding_impedance/verify_current_balancedivided the reading of a world driven by a voltage source by a fallback of 1 A (5.604 instead of 1.635 Ω, balanceok=False); they use the solved current, and a voltage record without it raisesValueError. Test:tests/test_voltage_source_audit_w2a.py. FieldResult.input_impedancereturned[]andtouch_voltage_spectrumraisedIndexErrorfor a voltage record without voltage and current; both raiseValueError(audit W2A-04). Test:tests/test_voltage_source_audit_w2a.py.- The alias
solver.image._warn_ignored_sourceslost its keywordstacklevel(TypeErrorfor every world); restored and ignored (audit W2A-03). Test:tests/test_voltage_source_audit_w2a.py. - A direct
solve_femnamedimage_2layeras capable for a homogeneous voltage world, and its shell refusal namedimage/image_2layeronly; both name the backends that solve the world (audits W2A-07, W2A-09). Test:tests/test_voltage_source_audit_w2a.py. - The concrete-shell page gives the brace effect of the generated mesh
foundations also with
mom: +49.6 / +321.2 % (house) and +49.5 / +313.7 % (medium_industry) at ρ_c = 1000 / 5000 Ω·m, against +49.2 / +318.5 % and +49.2 / +312 % from the line kernel's per-segment assembly; the owner model with bare braces is 1.6 / 2.8 % (house) and 2.2 / 3.6 % (medium_industry) high (audit W2B-06, open point of stream w2mom).mom_sommerfeldagrees withmomto about 1e-8 where neither engine warns (9.0e-8 with the interface 0.2 m below the wires underPointKernelInterfaceWarning, 9.2 % for a truncated series underSeriesTruncationWarning; audit W2R2-09) (1e-9 … 1.5e-8 over four two-layer soils, with and without shells), not 4e-9, and the rod bracket names the switch ofmom's diagonal to the Galerkin self term below 2.99 r_b (W2B-07). Test:tests/test_concrete_one_mechanism.py::test_the_brace_effect_names_its_model_and_second_method. - Worlds and results pickled before the internal impedance of voltage
sources (by an earlier 2026.11 development state) load as ideal sources:
VoltageSourceandSourceRecordfill a missinginternal_resistance_ohm/internal_inductance_hwith 0, as their JSON loads; up to thencheck, the solve,input_impedanceandto_dataframe("sources")raisedAttributeError(audit W2R2-01). Test:tests/test_voltage_source_w2r2.py. - A galvanic
mom/mom_sommerfeldworld whose voltage source has an internal inductance factorises its segment system once for all frequencies and solves only the V × V system of the source currents per frequency (exact): 1.02 times the solve without the inductance at 20 frequencies on 1 488 segments, 28 times before; results equal to 3.3e-15 (audit W2R2-02). Test:tests/test_voltage_source_w2r2.py. - A short-circuited voltage source behind an internal impedance is told that
its current U/Z_q would circulate through the bond (or, on one node, the
source alone) and the source, none through the soil, instead of "would
impose a voltage across one equipotential" (audit W2R2-04). Test:
tests/test_voltage_source_w2r2.py. measured_impedanceand the layout readings take the single current source of a result, else its single voltage source, as up to 0.15.0; a result with one current source and a voltage source raised "2 sources" (audit W2R2-05). Several current sources, or several voltage sources and no current source, needsource=. Test:tests/test_voltage_source_w2r2.py.- A non-zero internal resistance or inductance below the smallest normal
float (2.2e-308) is rejected; 1e-310 Ω turned the solve into
nan(audit W2R2-10). Test:tests/test_voltage_source_w2r2.py. - Solves at projected (UTM) coordinates are translation invariant (audit fw1sol). An edge of a whole number of segments no longer gets one more at UTM coordinates: the count allows the round-off of the coordinates' own magnitude, 64 ε|x|.
- Before: a generated 10 m mesh foundation had 508 instead of 440 segments, and
mom/image(kernel="point")moved by 2.6e-4 / 2.8e-4. - Now: 3e-12. A world beyond 10 km is solved in an exactly shifted local frame and
reported in user coordinates;
FieldResult.potentiallikewise. - Line kernel: 1.5e-6 → ≤ 5e-11 with the continuous switch of wave 3 (user decision D2; before it, within its own spread, audit W2B-01).
- Electrode worlds within 10 km unchanged (distributed conductors: the next entry).
- Test:
tests/test_projected_coordinates.py. -
Distributed conductors: a conductor exceeding a whole number of pieces only by floating-point noise gets no extra piece (the rule of electrode wires, 10.32), at any position. A 60 m counterpoise at UTM: 7 → 6 pieces; near the origin the same counterpoise in 10 m pieces had 7 pieces in about a quarter of all directions (829 … 876 of 3600, depending on how the angles are formed; computed length 60.00000000000001 m) and now 6 in every one: Z −0.30 % (
image), −2.54 % (mom) (audits W2B-03, W2R2-08). Test:tests/test_projected_coordinates.py::test_distributed_conductor_pieces_do_not_depend_on_the_position. -
Line-kernel results moved with the position of the world: up to 5.9e-7 in the impedance for direct pairs and 8e-6 … 2.6e-5 (touch 5.5e-5) in two-layer soil when an image distance equals six segment lengths, because round-off decided between the exact and the far form (audits W2B-01/-02, W2R2-03). Test:
tests/test_line_kernel_switch.py::test_w2b_01_image_pairs_on_the_line_kernel_switch_are_translation_invariant. - A straight wire in two-layer soil deviated from its uniform-current
resistance by up to +5.1e-4, not monotonically in the segment length, and
the surface potential above a wire in a thin top layer by up to 0.94 %
(the far images were point sources; 10.28); now within 3.6e-6 for 0.125 …
2 m, not monotonically (audit W3A-03), and 8e-6. Tests:
tests/test_two_layer_far_images.py::test_a_straight_strip_in_two_layer_soil_is_exact_at_any_segment_length,tests/test_two_layer_far_images.py::test_the_surface_potential_above_a_strip_matches_the_image_sum. - A rod through the layer interface changed by 1.3e-4 … 2.4e-4 between
segment lengths of 2 and 0.125 m (now 9e-7), and the cross-layer path
disagreed with the series by up to 6.2e-4 where both apply (now 1.7e-7;
10.28). Test:
tests/test_cross_layer_line_form.py::test_a_rod_through_the_interface_does_not_depend_on_the_segment_length. -
The cross-layer path held 41 bytes per segment pair for 16 house grids (the series path 18) and ignored the matrix budget (10.56). Test:
tests/test_cross_layer_memory.py::test_cross_layer_block_mode_beyond_the_budget. -
sommerfeld: the logarithmic region of the λ grid has 256 nodes instead of 64 (audit W3B-01). Short segments missed the skin-scale part of S(ρ): a 1 m self correction was up to 3.0e-4 off (6.4e-4 in 10 over 10 000 Ω·m, 7.5e-5 in 100 Ω·m; 1e-5 … 7.4e-5 at 0.01 skin depths; audit W3R2B-04; close pairs of 1 m up to 3e-4) against the stated 1.1e-9; now the self term is within 1.1e-9 of a refined rule and of an independent reference from 1 m and 0.01 skin depths to 3 km, close pairs within about 4e-8 (3.5e-8). No measurable cost. Tests:tests/test_sommerfeld_long_segments.py,tests/test_sommerfeld_close_pairs.py. diagnose(): cables drawn at the touching distance are no overlap (a relative tolerance of 1e-9; before, 1e-14 m of round-off flagged two 40 m cables over their length), andfind_close_wiresclassifies such wires as close, not interpenetrating (audit W3B-03). Tests:tests/test_diagnostics_overlap.py,tests/test_conductor_proximity.py.to_bustype,save_bustype_to_db,bustype_from_spec: the live BusType keeps the preset as the last line of its description,groundfield rho_preset: <name>, which the groundinsight database stores; before, the preset was validated and dropped. A blankmetadata["rho_preset"]is refused on load (audit W3B-06). Test:tests/test_bustype_rho_preset.py.-
penetration_depthrefuses bool, str and complex frequencies ("50"andTruewere read as 50 Hz and 1 Hz) and subnormal ones (1e-320 Hz raisedZeroDivisionError) withValueError, and stays finite down to the smallest normal frequency (the homogeneous depth overflowed below about 1e-303 Hz) (audit W3B-11). Test:tests/test_penetration_depth.py. -
Image pairs of the line kernel used the reduced kernel of direct pairs, which leaves out a²/(2d²) of an image d away (audit W3A-02; found by stream w4axi): a ring 1 cm above a 1000/30 Ω·m interface read +1.60 % against its exact thin ring. Images act at the transverse distance max(ρ⊥, a); collinear images and images within one wire radius of their segment keep the reduced kernel; the far form of images has no radius term, and the image corrections are symmetric. The ring −0.004 %, a strip 0.1 m above the interface −3.8e-6 instead of +6.8e-5, the rod through the interface within 1.4e-6 of its exact value. Tests:
tests/test_line_kernel_image_pairs.py. - The image work of the line kernel followed the longest segment of the world
(audit W3A-01): eight 9.4 m pieces among 1920 segments multiplied it by
5.6; it now follows the pair (Z bit-identical, except 5.4e-14 on a
cross-layer world with long pieces — the diagonal rule; matrix entries change
by round-off, ≤ 6.7e-15; audit W3R2A-07). Test:
tests/test_two_layer_far_images.py::test_w3a_01_a_few_long_pieces_do_not_multiply_the_image_work. - Without numba the far-image term held twice the memory (161 instead of
80 MiB; audit W3A-05). Test:
tests/test_cross_layer_memory.py::test_w3a_05_the_line_kernel_without_numba_keeps_the_memory_of_the_path. -
The near-interface "finer segment_length" warning fired for the line kernel, which integrates the near image (audit W3A-06); it fires for
kernel="point"only. Test:tests/test_audit_layer2.py::test_w3a_06_no_near_interface_discretisation_warning_for_the_line_kernel. -
The limit cases of the equivalent-hemisphere
fem: a ring 1 cm above an interface (+191 … +308 %, silent), a rod reaching 1 µm … 8 cm into a more conductive top layer (−44 … −78 %, warning), a ring exactly on an interface (−21 … +30 %), rods through an interface, clusters with several electrodes (radii summed, −35 %) and several clusters (no coupling) are solved within 1e-4 (axisymmetric; within 5.1e-5 for a ring wire at an interface up to a contrast of 1000, audits W4A-01, W4R2A-02) or 2e-3 (3-D, away from interfaces, wires beside each other kept 1.5 source radii apart, audits W4B-02, W4R2B-03) of independent references (user decision Q37). Tests:tests/test_fem.py,tests/test_fem_3d.py. -
The D9 rows held only to 1e-11 m: any placement jitter put the drops back on one axis (the 10-house radial network reported 19 overlaps at 1 nm and its reactance at 1 kHz jumped by +2.4 % / +2.9 %,
carson_series/sommerfeld; now −8.5e-10 / −1.1e-9; audit W3R2B-01). Test:tests/test_service_drop_rows.py. diagnose()overlap check andfind_close_wires: the tolerance at the touching distance is the larger of 1e-9 of it and 16 units in the last place of the largest coordinate of the pair. Rows translated to UTM coordinates (5e5, 5.8e6) gave 4 / 10 / 98 false overlaps for the radial networks of 5 / 80 / 200 houses; local worlds keep their findings bit for bit (audit W3R2B-02). Tests:tests/test_diagnostics_overlap.py,tests/test_conductor_proximity.py.- A
PenetrationDepthbuilt directly is validated (finite, positive frequencies, no NaN depth or resistivity) and its hash agrees with==(f = +0.0 and −0.0 compared equal but hashed differently; audit W3R2B-05). Test:tests/test_penetration_depth.py. -
BusType documents:
metadata["rho_preset"]must be a known preset name or null, as the exporters write it ("station\nfoo" lost the preset on the live BusType, " station " read back as "station", unknown names loaded); of a given description only exact preset lines are removed or replaced (every line that started with the marker was dropped and CRLF became LF; audit W3R2B-06). Test:tests/test_bustype_rho_preset.py. -
The point form on the cross-layer path (
image_far_field="point") kept the line form of the interface image only: the own surface and transmitted images of a segment below the interface were point sources, so a 75 m strip below a 0.5 m top layer read −1.0e-3 at 2.5 m segments and −58 % at 37.5 m, and 16 house grids with a 75 m conductor in two pieces +1.1 % against the default (audit W3R2A-01). Every image of the layered correction keeps its near pairs, and a segment's own images follow the switch of every pair, as on the series path: the strip within 1.1e-5 at every segment length (500/100 and 1000/30 Ω·m), the network within 4e-6 of the default. Tests:tests/test_image_far_field_option.py::test_w3r2a_01_the_point_form_keeps_long_segments_below_the_interface,tests/test_image_far_field_option.py::test_w3r2a_01_a_network_with_long_pieces_below_the_interface. solve_image_2layer(far_field=...)and the kernels of the image family accepted any string; every value other than"quadrupole"ran the point form and was recorded as given, whileFieldResult.potentialevaluated the quadrupole form (audit W3R2A-02). They raiseValueError. Test:tests/test_image_far_field_option.py.-
Within one wire radius of the layer interface the impedance was not monotone in the distance: the blend of an image into the reduced kernel of the direct pair over one radius peaked at a/√2 (a ring 1.75 mm above a 1000/30 Ω·m interface +22 %, a strip +24 %; audit W3R2A-03). The blend runs over a tenth of the radius: wiggles of at most 0.17 % through ±a for strips and rings in 1000/30 and 30/1000 Ω·m. Test:
tests/test_line_kernel_image_pairs.py. -
fem: a ring wire within 1.05 radii of an interface to a more conductive layer was off by up to 6.0e-3, its estimate below the error in 7 of 14 cases (audit W4A-01); refined to 64 intervals it still converged at first order beyond a contrast of 33 (touching a 1000 times more conductive layer −1.6e-2 with an estimate of 1.1e-2, audit W4R2A-02). Its mesh block is now graded towards the points where the interface cuts the wire at a narrow angle or comes closest to it: within 5.1e-5 of an independent boundary-element model up to a contrast of 1000 (3.2e-5 at 100;refinement=1within 1.9e-5), the estimate above the error in all 113 cases of the audit's sweep at both refinements, at fewer nodes than before (a touching ring 151 807 nodes, 1.8 s). Withmodel="auto"a ring without room for its mesh block (diagonal to a rod's end edge) ended in a bareValueError; it goes to the 3-D model, which solves it or refuses wires closer than 3.3 radii of the thickest bare wire of the world (audit W4R2A-01), andmodel="axisymmetric"refuses withBackendCapabilityError(W4A-03). The node guard estimate was 1.5 … 2.3 % low for a ring; it now bounds the mesh (W4A-10). Test:tests/test_fem.py. fem, 3-D model: the radius correction counted the surface images and every wire within 20 R with the observer's own current, where the mesh already gives the exact field (shallow wires up to +1.9e-3 high, two rings 10 cm apart +4.6e-3, above the estimate); it counts the observer's own wire whole and of every other wire and surface image only the part within 1.5 R (audit W4B-01). A conjugate-gradient solve that does not converge (layer contrast above the tested 300) raisesBackendCapabilityErrornaming the contrast, the axisymmetric model and the integral engines, not a bareRuntimeErrorafter about a minute (W4B-03). The face terms of the immersed elements paired faces by a key that aliased above 2²¹ nodes and coupled unrelated elements (W4B-06). Results depended on numpy's global random state (pyamg's set-up; 1e-14 … 2e-6 apart) and every solve advanced the user's stream (W4B-07).Engine.max_segmentswas checked only after both levels were solved; it is checked before meshing, and more thanFemOptions.max_ports_3dports (100) are refused before meshing (W4B-08). Test:tests/test_fem_3d.py.- Stale descriptions of the equivalent-hemisphere
femin docstrings, the JSON schema text ofconcrete_shell_coefficient_ohm_m, the reference pages and tutorial T09 (audits W4A-04, W4B-10). Test:tests/test_fem.py. fem, axisymmetric model and warnings, round 2 of the wave-4 audits (W4R2A).- A ring with its axis exactly on an interface at 0.3 m could fail with
RuntimeError: Factor is exactly singular, and a rod tip written as 0.1 + 0.2 m at an interface at 0.3 m read 6809 Ω instead of 647 Ω, silently: two mesh lines 5.6e-17 m apart; a ring axis a few picometres off an interface still read +35 … +44 % or failed after the first fix (audit W4R3A-01). Mesh features within 1e-9 of max(1 m, x) are one line now, keeping the coordinate of the physical feature (an interface, a rod end, the soil surface); every interface is cut at its own mesh line; a triangle of zero or negative area raisesRuntimeErroras an internal error instead of being solved. The audit's 72 gaps and 20 more are within 1.7e-6 of the world with the interface on the axis (found by stream fw4r2a). - The 3-D model did not report a rod end within one wire radius of an
interface (a rod tip on 1000 / 30 Ω·m read +43 % against the solid rod
with an estimate of 6e-3); it warns with
InterfaceContactWarninglike the integral engines (W4R2A-03). - The reach of
InterfaceContactWarningfor horizontal wires was 0.2 … 0.4 wire radii short for a thick wire on a short ring (a 55 mm wire on a 1 m ring +1.09 % at 3.6 radii over a 33 times more conductive layer, unreported), and nothing was reported below a contrast of 2, where a cut wire reads up to −1.46 %; under a more resistive layer above the wire the 55 mm wire read +1.75 % at 1.3 radii, unreported (W4R3A-02). The table is re-measured on five ring geometries with the layer beyond below and above the wire (the resistive side with the thin wire converged in its segment length): over a more conductive layer 1.3 … 4.3 radii at contrasts 2 … 1000, under a more resistive one 1.3 / 1.9 / 2.2 / 2.2 / 2.3 radii at 3 / 10 / 33 / 100 / 1000; cut wires are reported from a contrast of 1.3. None of 2348 conductive and 2470 resistive measured points 1 % or more off lies outside it, and no generated network, AP1 soil, golden case or tutorial world is reported (W4R2A-04, W4R3A-02). diagnose(world, engine)with anfemengine listedinterface_contactfor a world that the axisymmetric model solves with the solid bodies, without a warning (W4R2A-05).femrefused a ring of radius 1.2 wire radii (a solid torus with a small hole) with the thin-wireValueErrorof its result's point sources; the axisymmetric model solves it, within 7e-5 of a boundary-element model (W4R2A-07). Test:tests/test_fem.py,tests/test_wire_interface_contact.py.fem, 3-D model, round 2 of the wave-4 audits (W4R2B, W4R2A-01).- Two coaxial rings 7.5 cm apart read +4.35e-3 in a port entry, above
their estimate, and rings diagonal to each other 1.3 … 3.8 mm apart,
which
model="auto"sends to the 3-D model, read +11.4 … +14.3 % without a warning. Wires that run beside each other (side by side within 30° of parallel, a folded arm, a wire within reach of another over its whole length) are now kept 1.5 source radii apart by a smaller source radius for the whole world (coaxial rings 4.5 … 10 cm apart within 1.8e-3 of the solid tori); below 2.2 bare wire radii the solve raisesBackendCapabilityErrorbefore meshing, naming the wires, their distance,momandimage. Junctions, crossings at more than 30°, a rod on a ring and collinear pieces that meet are left alone (round 3: see below). The radius correction counts a wire of another port only where it meets the observer's wire (audits W4R2B-03, W4R2A-01). - The own piece of a long oblique wire was clipped from about 7 m on (cancellation in the axis distance; a 20 m strip −3.78e-4, W4R2B-01). A folded arm tilted by 1e-6 rad counted whole (a hairpin +1.41e-3); the own polyline now counts whole only where it has turned by less than 120° (W4R2B-02).
- Resolved concrete with a cover so thin that the smoothed source does not
reach beyond the metal ended in a bare
ValueErrorafter meshing; it is refused before meshing, namingconcrete_resistivity=None(W4R2B-04). - The conjugate-gradient refusal blamed "a layer contrast of 1" in
homogeneous soil and offered
model='auto'for worlds the axisymmetric model refuses (W4R2B-06).solid_earthdefaults to the 2 million nodes ofmax_nodes_3d(W4R2A-07). - B8 note:
momat its 0.5 m segments is not converged;fem's Z_BA lies 0.15 … 0.21 % belowmomat 1/32 m, which is still falling (W4R2B-05). Test:tests/test_fem_3d.py,tests/test_docs_fem_3d_texts.py. fem, 3-D model, round 3 of the wave-4 audits (W4R3B).- Stacked rods of two electrodes with an end gap below the source radius
ran without a message: at 1 cm they read +1.57e-2 in a port entry and
−7.34e-2 in the transfer entry, the other rod counting whole with the
observer's current. Wires end to end in line now keep their gap at 5
source radii, by a smaller source radius, or
BackendCapabilityErrorbefore meshing (stacked 8 mm rods up to 8.8 cm apart are refused). The error of their transfer entry falls with R / gap: at 3 radii it was still up to 1.18 times its estimate; 10 … 30 cm apart every entry lies within its estimate (R12 −2.6e-3 … −3.7e-3; 10 cm costs 0.47 million nodes). A collinear piece of another port counts only where the wires meet (W4R3B-01). - Two wires meeting at less than 30° — a V, a branch — were refused before
meshing with the distance of the sample point nearest the apex (0.65 mm
for 10°). From 10° on they are solved: a V of 10 … 35° lies +3.35e-3 …
+5.02e-3 above
momat ds 0.0125 m, as a polyline and as two strips alike to 2e-5. Below 10°, and for wires touching along their length (two strips 8 mm apart, the service drops ofTnNetworkGeneratorin a row), they are refused, naming their distance and angle (W4R3B-02). - The 120° rule tested a piece's direction: the third arm of an
S-meander, turned by 360°, counted whole when tilted (+4.65e-4 in Z,
mom−1.3e-4), a spiral as one polyline read +2.08e-3 against its bonded windings, and a V of 0.5 m arms jumped by −1.26e-3 across a turn of 120°. The own polyline now counts whole up to a turn of 90° accumulated along the wire, by a weight falling linearly to 0 at 150°, and like another wire of the electrode beyond (now −1.24e-4, +5.9e-5 and +3.30e-4 againstmom−1.26e-4, 0 and +3.44e-4; W4R3B-03). - Wires meet where their surfaces touch, with flat wire ends: crossing
wires within a1 + a2, axis to axis (up to now within the smaller
radius); a wire where its end face reaches the other's surface; wires
end to end on one axis only without a gap; an encased wire by its shell
radius. The window term of a wire that has just stopped touching fades
out to a surface gap of a1 + a2, so a 2 m cross no longer jumps by
−7.5e-4 between axis gaps of 4.9 and 5.1 mm (now −2.4e-5,
mom−1.6e-5; W4R3B-04). - Texts: the refusal radius is 3.3 radii of the thickest bare wire of the
world; the transfer estimate's margin is 1.06 … 6.3 where the model
holds (W4R3B-05).
Test:
tests/test_fem_3d.py,tests/test_docs_fem_3d_texts.py.
Corrections to the 0.15.0 release notes¶
The 0.15.0 notes contain statements that review pass 10 found to be wrong (finding 10.82). They are left as published and marked with a footnote:
- F47, F48, F53, F54 were listed as fixed, but
generators/placement.pyandgenerators/measurement.pywere unchanged since 0.14.1 anddiagnostics.pysince 0.13.0. They are fixed in this release (see Fixed). cimbit-identical toimage_2layer: false for electrodes with unequal segment lengths, +4.1 % for a 3 m rod inTwoLayerSoil(100, 400, h_1=2)at a segment length of 0.4 m (71.060 Ω against 68.262 Ω). Fixed in this release (10.30).- F16 quoted the symptom of F08: the layout builder still ignored the
concrete shell; the 0.15.0 fix covered
TnNetworkGeneratoronly. Fixed in this release (10.14). - F17 was fixed only in part: the engine-comparison example still
recommended
image_nlayerorcimfor more than two layers, which both raise. The documentation was rewritten in this release.
0.15.0 - 2026-07-31¶
The rest of review pass 9 (audit history, pass 9). F01, F02 and F32 stayed open (closed in 2026.11.0).
⚠ Numbers change for every fem result, layered mom_sommerfeld,
coupling.layered_green near the surface and the interface and beyond about
160 m, the image family for electrodes with unequal segment lengths (up to
+12 %), references.pollaczek, two references.dwight1936 formulas, and
rho_f_standard fits of sweeps with dead frequencies.
Added¶
Engine.sommerfeld_lambda_max_factor,sommerfeld_epsabs,sommerfeld_epsrel,sommerfeld_max_osc_panels.SommerfeldConvergenceWarning,SommerfeldTailTruncationWarning,ShallowSegmentWarning.- Executable documentation: a test runs every Python block of the documentation (F27).
Changed¶
cimandbemno longer compute a complex-image fit; “cimreturns values bit-identical toimage_2layerandbemtomom” (F34, F39).1coupling.layered_green:lambda_max_factoris an upper bound on the truncation.generators:MeasurementLeadConfig.depth_mis honoured (F48).2- Faster:
layered_greenover kilometres (199 → 71 ms),mom_sommerfeld150–8000×,femabout 15×.
Deprecated¶
- The
femoptionz_far_factor(r_far_factorsets the truncation sphere).
Fixed¶
- ⚠
mom_sommerfeld: the top-layer kernel no longer truncates a conditionally convergent integral (a 25 m ring 1.4952 → 1.5751 Ω), and an unresolved oscillation no longer returns a negative kernel silently (F04, F40). - ⚠
coupling.layered_green: the λ truncation is bounded by construction (errors up to −39.5 % near the interface before) and the 64-pair interpolation step is gone (F14, F15). - ⚠
image,image_2layer: reported potentials are the length-weighted average the solver enforces, independent of electrode names; mixed-length geometries move by up to +12 % (F10, F11). - ⚠
fem: the mesh no longer degrades with the declared layer thickness (up to −79 % before), and the Dirichlet electrode is conforming (F05, F06, F24). - ⚠
references.pollaczekused Carson's air exponent (R′ −0.5 … −5.8 % in band); the 0.14.0 notes had described this as physics (F09). - ⚠
references.dwight1936:horizontal_strip(about 10 % low) andvertical_round_plate(F37, F38). - ⚠
rho_f_standard: dead frequencies are no longer fitted as Z = 0 (F41). - The
z <= 0check covers every backend and the segment extent (F26, F29). cluster_impedancesums the current of every member;layered_greenraises for negative depths;Engine.solveforwards the series controls toimage_nlayer(F18);World.solvekeeps theSourceobjects (F31);compare_enginesuses a pairwise metric and reports an empty comparison as inconsistent (F35, F36).- Generators: the
building_countsorder (F33), the OMBR centre (F25), the escape radius ofroute_manhattan(F42), and “the ADR-0012 concrete shell is no longer silently dropped (F16)”.3 io.csvcolumn constants (F46);fem.r_far_factoracts.- Documentation: the Pollaczek exponent in ADR-0006,
offset_xy_min ADR-0011, accuracy claims, the reactance trend ofearth_return(F55), the meaning of k₂ and k₃ (F56); backends that raise for three or more layers are no longer advertised (F17);4 “check_segment_resolutionskipped polyline and star electrodes (F53, F54)”;5 “ManhattanGridPlacement.jitter_mcarried age=0.0constraint on afloat | Distributionunion” (F47).6
0.14.1 - 2026-07-30¶
The three findings of review pass 9 that corrupt data or crash (audit history, pass 9).
Fixed¶
- ⚠
fit_to_sympylost the sign of the residue's imaginary part, so the exported groundinsight formula was a different function from the fit (28.1 % at 16.7 Hz in the test case). Re-export affected BusTypes; fits and solver results were correct (F03). plot_potential_contourwithoutextentraisedAttributeErroron NumPy 2 (F12).Engine.with_frequencies()validates the frequencies (F19).- Documentation: the cross-section snippet of the plot gallery.
0.14.0 - 2026-07-20¶
Added¶
groundfield.references.pollaczek:pollaczek_self_impedance,pollaczek_mutual_impedance,loop_impedance_conductor_earthandlayered_effective_wavenumber, the two-layer earth-return impedance of a buried conductor per unit length (Pollaczek/Sunde), an independent reference for the assembled Sommerfeld stack. Its exponent was corrected in 0.15.0 (F09).
0.13.0 - 2026-07-20¶
Added¶
groundfield.references.earth_return(Carson's closed form) with a benchmark of the assembled Sommerfeld stack (reactance within about 1 % of Carson).groundfield.references.ieee80and the IEEE Std 80-2013 Annex H benchmark: Grids 1–3 within about 1 % of the published grid resistance, GPR and touch voltage.StarElectrode(kind="star"), within about 1 % of Dwight's formula.
Changed¶
- ⚠ The default
earth_inductive_modelissommerfeld(wasperfect_mirror); this affects solves with Neumann conductors at f > 0.
Fixed¶
- ⚠ The two-layer inductive earth-return kernel for conductors in the upper
layer mis-weighted the layers (attribution 0.51 instead of 0.08 at 10 kHz);
reflection_coefficient_layereduses the bottom-up cascade. - ⚠ Grids whose segment length gave a half-integer number of segments per span returned 1.97 to 2.89 times the correct resistance.
- The cross-layer two-layer solve of IEEE Std 80 Grid 3 needed about 263 GiB; it now runs in well under 1 GB.
PolylineElectroderejects zero-length edges; a closed ring of two vertices warns.- Documentation: the
grid_meshexample; the governing equations on the boundary page.
0.12.2 - 2026-07-18¶
Added¶
- A changelog and roadmap page on the documentation site.
Changed¶
mkdocs.ymlsetsstrict: true.
Fixed¶
mkdocs build --strictis clean (51 docstring warnings fixed); Shapely's benign OMBRRuntimeWarningis silenced.
0.12.1 - 2026-07-17¶
Fixed¶
- The geometry plots and bounds handle the
polylineelectrode kind.
0.12.0 - 2026-07-14¶
Added¶
PolylineElectrode(kind="polyline") andFoundationElectrodeSpec.polygon_xy_m: a foundation ring along the real building outline. It avoids coincident conductors of neighbouring OMBR foundations (184 of 196 AP1 sites had such pairs) and the perimeter bias of the OMBR (−6 % on an L-shaped building). A rectangular polygon reproduces theGridMeshElectrodering bit-identically.
0.11.0 - 2026-07-10¶
The physics and numerics audit of 2026-07-08
(audit history). ⚠ Numbers change for multiport matrices
with unequal segment lengths, field points in the second layer, sommerfeld
and carson_series inductive results, the series truncation, and vector fits
with complex residues.
Added¶
- Guard rails (WP-A): surface-laid inductive conductors raise, a thin-wire
hard guard, pre-flight diagnostics on every solve,
SeriesTruncationWarning, non-image backends reject concrete shells, warnings for dropped non-current sources and for the singularity clamp. vector_fit:VectorFitConvergenceWarning,n_iter_used,pole_shift,weighting="inverse_magnitude".
Changed¶
- ⚠ Vector fitting on the conjugate-pair real basis: complex residues (WP-B4).
- ⚠ The series stops on the geometric tail bound;
image_max_termsdefault 100 → 300; the series controls reach every layered backend. - One-shot multiport assembly (WP-F): a 50-building world 22.0 s → 0.18 s.
Removed¶
_layered.image_series_offsets(dead code).
Fixed¶
- ⚠ The multiport matrix is exactly reciprocal (WP-B3).
cimandbemraise for three or more layers (incomplete kernel, WP-E).- ⚠
potentialandsolve_mutual_*use the spectral kernel for points in the second layer (+7 % at 7 m and +25 % at 12 m before); rods are split at the interface;momaccepts cross-layer worlds (WP-D). - ⚠
sommerfeldis a genuine Pollaczek kernel (the earth-return resistance had the wrong sign) and thecarson_seriesmatrix converges under refinement (WP-C). - ⚠ Quadratures (WP-B): the
layered_greenHankel grid (46 % at 200 m), Carson P and Q near θ = 90° (−36 % and +67 %), the large-a asymptote. - Single-segment distributed conductors no longer vanish;
cim,bemand themom_sommerfelddiagonal use the cross-layer kernel;rho_f_from_field_resultmasks dead frequencies.
0.10.0 - 2026-06-28¶
Added¶
solve_mutual_field(world, engine, anchors, field_points): the potential at arbitrary points under unit excitation of each cluster.
0.9.0 - 2026-06-19¶
Added¶
solve_mutual_matrix: the mutual grounding-impedance matrix from one assembly, bit-identical to separate solves and 20–40× faster.
0.8.1 - 2026-06-19¶
Fixed¶
- The
image_2layercross-layer path is about 20× faster (cached Gauss–Legendre nodes, bit-identical).
0.8.0 - 2026-06-18¶
Added¶
create_engine(image_max_terms=..., image_series_tol=...)(defaults unchanged).OrtsnetzLayout.connect_all_buildings(): every house is connected to the LV network.
0.7.0 - 2026-05-26¶
Includes the fixes of review pass 7 and the findings of passes 7 and 8 (pass 7, pass 8).
Added¶
OrtsnetzLayout: an imperative builder of a TN-Ortsnetz (OSM footprints, substation, cable cabinets, Manhattan-routed PEN cables, house connections, simulated fall-of-potential measurement, foundation masks).generators.manhattan_routingandRadialTrunkTopology(TnNetworkConfig.pen_topology).EvaluateSpecError,World.reset_concrete_corrections(),OsmBuildingPlacement.footprint_at(i, strict=...),query_buildings(max_retries=...)(pass 7).
Fixed¶
- The measurement loop of
OrtsnetzLayout.to_worldis closed by a second source of 180° at the auxiliary electrode, because the solver ignoredreturn_to(replaced in 2026.11.0, 10.16, 10.17).
0.6.0 - 2026-05-15¶
Added¶
- Concrete encasement of foundation electrodes (ADR-0012).
groundfield.geo: OSM building footprints and footprint-driven foundations (ADR-0011),OsmBuildingPlacement,FoundationElectrodeSpec.orientation_deg, thegeoextra.
Changed¶
- The under-determined check of
vector_fitrespects conjugate pole pairs (pass 6).
0.5.0 - 2026-05-14¶
The fixes of review passes 4 and 5 (pass 4, pass 5).
Added¶
- Top-level
evaluate_spec,fit_quality_summary,LayeredEarthandSourceAdapter; frozen CSV column names; publicMIN_THINWIRE_RATIO,SOFT_LIMITandHARD_LIMIT.
Changed¶
Sourceis a discriminated union.- ⚠
Engine.frequencieskeeps the given order (it was sorted), withEngineFrequencyOrderWarningandEngine.with_frequencies(..., preserve_order=True). TnNetworkConfig.source_return_tooverrides the return electrode.
Fixed¶
World.set_boundary_conditionsalso warns on a revert;vector_fitrejectsn_poles=0and warns on under-determined input;evaluate_specraisesValueErroron malformed specs;TnNetworkConfig.source_kindis validated;World.solverestores the sources; the documentation no longer loadspolyfill.io.
0.4.0 - 2026-05-12¶
Housekeeping release without user-visible changes; the first version published on PyPI (0.1.0 and 0.2.0 exist in the repository history only).
[0.2.0] - 2026-05-12¶
The first release with a solver.
Added¶
- Data model (pydantic v2):
World, soils, electrodes, conductors (ideal, finite and distributed, ADR-0003), sources,Engine; the factoriescreate_world,create_electrode,create_conductor,create_sourceandcreate_engine. - The engine family (ADR-0001, ADR-0002):
image,image_2layer(Tagg/Sunde series),image_nlayer,cim,mom,mom_sommerfeld,bem,fem, with dispatch by soil model andcompare_engines. - Inductive coupling (ADR-0004), Carson earth return (ADR-0005), Sommerfeld earth return (ADR-0006), cross-layer electrodes (ADR-0007).
- The rho-f model: vector fitting, the standard form, SymPy export and the groundinsight bridge (ADR-0008).
- World generators and the AP1 TN-Ortsnetz generator (ADR-0009) with a measurement set-up.
- Post-processing: potentials, plots, convergence studies, sweeps, diagnostics, current balance, touch and step voltages, CSV and VTK export.
- References:
dwight1936,oeding,carson.
Changed¶
- The inductance matrix is vectorised (ADR-0010, bit-exact).
- The project language is English.
Deprecated¶
- The module
groundfield.generators.tn_ortsnetz; usegroundfield.generators.tn_network.
Removed¶
- The flat v1
TnNetworkConfigschema.
Fixed¶
FieldResult.potentialraises for three or more layers instead of using the homogeneous kernel; the rho-f functions are exported at the top level;BoundaryConditionswarns about settings no backend reads.
[0.1.0] - 2026-04-24¶
Added¶
- Project skeleton: package layout, Poetry configuration, MkDocs scaffold, release script, GitHub workflows, citation file and licence (MIT).
-
Correction (2026.11.0): not bit-identical for electrodes with unequal segment lengths (+4.1 % for a 3 m rod split unevenly at h₁ = 2 m); fixed in 2026.11.0 (10.30). ↩
-
Correction (2026.11.0): not fixed in 0.15.0,
generators/measurement.pywas unchanged since 0.14.1; fixed in 2026.11.0 (10.55). ↩ -
Correction (2026.11.0): the symptom quoted for F16 (a factor-33 change of
concrete_rho_ohm_mgave bit-identical impedances) is that of F08, the layout builder, which the 0.15.0 fix did not cover; fixed in 2026.11.0 (10.14). ↩ -
Correction (2026.11.0): fixed in part only; the engine-comparison example still recommended
image_nlayerorcimfor more than two layers. ↩ -
Correction (2026.11.0): not fixed in 0.15.0,
diagnostics.pywas unchanged since 0.13.0; fixed in 2026.11.0. ↩ -
Correction (2026.11.0): not fixed in 0.15.0,
generators/placement.pywas unchanged since 0.14.1; fixed in 2026.11.0 (10.55). ↩