Benchmarks

Release · v2.2.0MarkdownLLM docs
이 페이지의 내용

This page lists the comparisons between rfx and other solvers that ship with the repository. For each one it says what is compared, against which reference, what the committed run shows, and how to reproduce it. For how these fit with the analytic tests and your own checks, read Cross-Validation and Accuracy.

Reference cases

Each comparison is a test under tests/crossval/. It solves the structure in rfx and compares the result with a reference record frozen in the repository, so you do not need the other solver to re-check rfx. The records say which solver, version and mesh produced them.

Probe-fed patch on RT/Duroid 5880

StructureA 39.7 × 49.25 mm patch on 3.175 mm RT/Duroid 5880 (εr 2.2, tan δ 0.001) over a 55.6 × 65.1 mm ground, fed by a 50 Ω probe 8.73 mm off centre.
ReferenceopenEMS, the same board on three meshes, judged against its finest one.
rfx meshesthree uniform meshes at h/4, h/8 and h/12 (4, 8 and 12 cells through the substrate). The board is drawn so all three meshes realize the same patch, and the test refuses a mesh that does not.
Judgedthe TM010 resonance (where Re(Z_in) peaks) within 1 %, and the input resistance there within 2 %, on the finest mesh; the last two meshes must agree within 1 % (mesh statement), and the record must ring down to −40 dB.
Reported, not judgedthe |S11| dip frequency and depth, the reactance at resonance and the −10 dB band edges. Neither solver declares a probe radius, so each feed cell sets the probe’s series reactance, and that moves the dip.
Resultnot repeated under the current settling check, which judges each frequency a result reads; no agreement figure is given.
Testtests/crossval/rt5880_patch/test_rt5880_patch.py

The case judges the resonance and the input resistance, not the |S11| curve, because the two solvers’ probe models differ. It says the cavity, its fringing and its radiation loss agree with openEMS on this board. It does not say a patch on a different board or mesh is within 1 %.

More comparisons

The other comparisons under tests/crossval/. Most are long and marked gpu or slow.

StructureCompared withTest
Microstrip open-stub notch filter, |S21|openEMS tutorial result and Palace FEMtests/crossval/msl_notch_filter/

The notch filter comparison has not been repeated under the current settling check, and its uniform-mesh refinement has not been shown to converge on the drawn 600 µm line, so no agreement figure is given.

Structures with a closed form are checked against that closed form, not against another solver. Those tests are in tests/oracle/.

Reproduce

The comparisons are pytest tests. The long mesh series are marked gpu and slow, so the pull-request suite never runs them. From a source checkout:

Terminal window
# The fast checks: build each board, check what it realizes, read the records.
pytest tests/crossval/rt5880_patch
# All three meshes (a GPU; the h/12 mesh is about 53 M cells).
pytest tests/crossval/rt5880_patch -m gpu

RFX_RT5880_PATCH_RUNGS=793.75e-6 runs only the coarsest mesh. That is a diagnostic, not the case’s result, because the convergence check needs all three meshes.

Limits

  • One board is not every patch. The patch case covers one board and one probe feed. For your own patch, run a convergence study and compare with a reference, as in Your First Patch Antenna.
  • Magnitude comparisons do not cover phase. The filter case compares |S21| only. On the notch filter, rfx also runs shorter feed lines than the reference, which moves the phase but not the magnitude.
  • Research checks are not reference cases. Checks kept with the project for features outside the documented scope are not part of this table.
Back to top