# Solver matrix
[Index](index.md)
Every example board run on each solver and scored against a fresh openEMS run: how far each solver's S-parameters are
from openEMS's, and how long it took. The interactive matrix has every board's curves, its layout, each solver's runs
and how each solver compares with each other one:
Open the solver matrix (one page, about 3 MB)
| Solver | Median rms \|ΔS\| from openEMS | Boards scored | Notes |
|---|---|---|---|
| gfdtd | 0.006 | 51 | reproduces openEMS; rf_siw (0.17) is a 0.1 GHz shift in cut-off |
| mom25d | 0.055 | 44 | 0.02–0.07 on single-ground RF circuits |
| mom25d fast | 0.052 | 45 | as close as mom25d in under a third of the time |
| mixed | 0.056 | 36 | mom25d alone on all but three boards |
| line model | 0.135 | 34 | about a second a board; misses coupling it cannot trace |
The deviation is the rms over the band and over every S term both solvers computed of \|S − Sref\| as complex
numbers, which counts phase. For scale: 0.02 is about a 0.17 dB error on a through path or a 2 dB error on a −20 dB match,
and 0.1 is a clear miss. The matrix can show the magnitude-only figure instead.
## What it found
- **gfdtd reproduces openEMS:** 0.001–0.067 on 51 boards, median 0.006. The 15 stored references in
`examples/reference` agree with the fresh openEMS runs to within 0.017.
- **mom25d's `--mom-stack auto`** (the whole stack where the ground has apertures, [mom.md](mom.md)) took the slotted
and defected-ground boards from wrong to close: antenna_slot 0.95 to 0.06, antenna_vivaldi 0.86 to 0.08, rf_dgs 0.74
to 0.09, rf_slotline 0.92 to 0.16.
- **mom25d's wideband dielectric** on the 12 examples that set `diel = "wideband"`: rf_bends 0.099 to 0.030, rf_spiral
0.111 to 0.038.
- **mom25d fast** (`--mom-quads on --mom-quad-tol 60 --mom-coarsen 2`): the same median deviation as mom25d (0.049 over
the 44 boards both solve), within 0.01 of it on 38, in 9.3 min against 30.2 min. It also solves antenna_aperture,
whose 78k unknowns on the standard mesh are past a 31 GB machine's direct solve. (Since 2026-11-18 its
coarsening is mom25d's default, with thick copper's sides and a sweep that many ports do not confuse: the 45
boards in 9.8 min against 24.7, [mom.md](mom.md#cells); its quad cells no longer pay.)
- **Where mom25d is still off:** rf_siw (1.11: its group delay is 0.425 ns against openEMS's 0.466 ns) and rf_ebg
(0.32, cause not yet found); the shielded filter (0.15) is modelled without its can.
- **mixed** cuts lines on only three boards, and on rf_bends (0.51) its adaptive sweep stopped at its solve cap
unconverged without saying so.
- **The line model** misses coupling between chains it traces apart (rf_marchand 0.92) and ground slots (rf_dgs 0.73).
## How it was measured
Each example's own config (`examples/*.toml`, lossy as written), one solver at a time with `--solvers`, mom25d and
mixed with lumped ports. openEMS, gfdtd, mixed and the line model ran on the stack's main of 5 November 2026; mom25d
and mom25d fast on main of 6 November, after that day's speed work (CHANGELOG). One run each on an i7-13700K with a
Radeon RX 7800 XT (gfdtd and mom25d on the GPU through Vulkan), so the times are an indication, not a benchmark: the
[benchmarks](benchmarks.md) repeat a subset three times. The matrix's own *How it was measured* section has the
details, and its findings say which boards a solver declines (n/a) and why.
The page is self-contained (the data inside it, the board pictures beside it in `_static/solver-matrix/img/`); it is
regenerated by hand from a run of every solver on every example, not by the docs build.