Electrical double layer
Module: sci_form::edl (core since 2026-10-14; alpha::edl re-export) Feature flag: none (core)
Validation and limits
| Question | Answer |
|---|---|
| Compared with | analytic Gouy-Chapman and Stern closed forms |
| Measured separation | worst deviation 2.0e-14 |
| Confidence region | 3 temperatures × 3 ionic strengths × 6 potentials/charges |
| Main limitation | 1:1 electrolyte, mean-field model, no finite ion size beyond the Stern layer |
The raw rows and the exact tolerances are in the full validation matrix.
Overview
Continuum models of the electrochemical double layer at charged interfaces: Helmholtz compact layer, Gouy-Chapman diffuse layer, and the combined Gouy-Chapman-Stern (GCS) model, plus coupling adapters to CPM (cpm), EEQ charges (charges_eeq), and ALPB solvation (solvation_alpb).
Theory
Gouy-Chapman (1:1 electrolyte)
with Debye parameter
Grahame equation
inverted for the Stern split
Stern series capacitance
API
compute_helmholtz_profile(σ, config)— compact capacitor.compute_gouy_chapman_profile(φ₀, config)— diffuse layer.compute_gcs_profile(σ, config)— Stern split + series capacitance.compute_edl_profile(x, config)— dispatches onEdlModel.scan_edl_capacitance(σmin, σmax, n, config)— C(σ) curve (even, minimum at σ=0).- Couples:
compute_alpb_stern_correction,compute_eeq_edl_profile,compute_cpm_helmholtz_scan,couple_cpm_eeq_edl.
Validation (F86, 2026-10-14)
External gate tests/alpha_edl_validation.rs (no feature needed) vs scripts/validation/oracle_edl.py (independent numpy implementation of the textbook closed forms in SI): 3 temperatures × 3 ionic strengths × 6 potentials/charges — profiles (φ, E, ρ), Stern split, all three capacitances, worst 2.0e-14 (tolerance 1e-9). Fixture tests/fixtures/validation/edl_analytic.json.
Tests
cargo test --test alpha_edl_validation4 tests in tests/alpha_edl_validation.rs (gate F86) comparing the Gouy-Chapman, Grahame-inverted Stern split, Helmholtz compact capacitor and Stern series capacitance against the analytic closed forms in the fixture tests/fixtures/validation/edl_analytic.json (oracle scripts/validation/oracle_edl.py).