Independent numerical checks
Does a shallow signal accumulate more delay?
Run a six-angle sweep. The numerical measurement integrates a finite Gaussian electron layer; the theory column uses the thin-shell mapping approximation. All sweep values are illustrative model outputs.
MODEL NOTESThe science+
Why the code is delayed
The ionosphere is a dispersive plasma. At GNSS frequencies, the first-order group delay grows with slant total electron content and falls with the square of carrier frequency:
Here STEC is in electrons per square metre, frequency f is in hertz, and the resulting range delay is in metres. One TECU is 10¹⁶ electrons per square metre.
Finite-layer model
The electron density is a spherical Gaussian centred at the chosen peak altitude. Its vertical integral is normalised to the selected VTEC. Composite Simpson integration follows the ray through this profile to obtain slant TEC.
The layer standard deviation σ is obtained from its full width at half maximum. The model integrates along a straight ray from a spherical Earth surface.
Thin-shell comparison
The familiar mapping approximation places all electrons on a shell at altitude h. For receiver elevation E and Earth radius R:
The thin-shell estimate is STEC ≈ VTEC × M. The finite-layer integral can differ, especially for low elevations or a broad layer.
Dual-frequency correction
The ionospheric term is proportional to 1/f². Comparing two carrier measurements estimates the first-order delay on either carrier. This idealised receiver removes that term exactly because the model adds no measurement noise.
What is simplified
The Earth is spherical; the ray is straight; the layer is horizontally uniform and time-independent; and the electron profile is a single Gaussian. Real ionospheres have latitude, local-time, weather and solar-activity structure. This model omits scintillation, magnetic-field higher-order terms, multipath, tropospheric delay, receiver noise and orbit/clock errors. It is an educational propagation model, not a navigation-grade correction engine.
Constants and carrier frequencies are textbook values. All selected scenario parameters and resulting readouts are illustrative. Scene geometry is scaled for legibility.