Vignesh Gopakumar
  • Home
  • Research
  • Talks
  • Blog
  • Tokamak Toolkit

EC loop-state power and current pass the fixed GENRAY reference criterion

built
measured
Published

October 26, 2026

new component measurement Entry 84 · milestone M4

M4 needs a reference check of the electron-cyclotron heating surrogate on states the coupled simulation actually visits. The selected saved states now have a complete comparison with the GENRAY ray-tracing code, with every case retained.

The package reconstructs the model inputs from saved plasma profiles before writing the reference solver’s input files, called decks. It retains the original state indices, times, launch settings and guard decisions. Source, model, traces, decks, reference equilibrium, executable and runtime libraries are bound by checksums. A recorded attempt marker prevents the same compute request from being rerun merely by changing its output path.

item evidence
frozen reference cases forty decks bound to the unchanged selection, exact model and traces, frozen source, equilibrium, executable and runtime; eight workers with a thirty-minute hard limitC-279
affected validation 40 affected tests pass normally and with Tier B disabled; repository lint, formatting, typing of 93 modules and batch syntax passC-280
completed reference comparison 40/40 cases pass the unchanged 10% power and signed-current limits, including 31/31 served states; maximum current error 9.606% EL and 7.393% UL, maximum power error 0.07483% EL and 0.02599% ULC-281

The comparison includes both electron heating channels and preserves the current sign convention. It reports every case, separating predictions actually served by the guard from surrogate predictions that the guard rejected. A rejected prediction is diagnostic: it was not the source used by the simulation. Missing or failed reference outputs prevent a complete comparison. A zero reference is handled explicitly, without introducing a denominator floor.

The reference keeps the existing fixed-equilibrium convention. Substituting new profiles into that equilibrium does not produce an equilibrium-matched reference trajectory. The package and result retain this limitation.

Tests check reconstruction, units, signed errors, failure accounting and evidence tampering. They use synthetic outputs and fake executables; physical agreement comes from the separate batch execution. The bounded request completed under the standing M4 compute authorization. The independent audit reconstructs native totals, reloads the model for fresh inference parity and checks every guard decision. Every selected case passes both criteria, including the served subset. The rejected predictions remain diagnostics. V9, the EC reference-comparison task, is complete within this fixed-equilibrium convention. Transport output bounds, the EC robustness scope and the certification review remain open.

Technical details → GENRAY reference comparison.

Technical details → Verification › ec genray reference comparison
Decisions → OQ-21 · OQ-33 · OQ-42

© Copyright 2026 Vignesh Gopakumar

 
 
Code and first draft by Claude (Anthropic) and Codex, working to a brief by Vignesh Gopakumar, who reviewed and approved this page. How this is built · Tokamak Toolkit home