How a run works
Every laboratory follows the same cycle. Input panels open on entry with a complete, valid parameter set already loaded, so a first calculation is always available.
- Enter parameters. Controls are grouped by physical role and labelled with their units. Ranges are enforced at the input, and a value outside a model's fit domain is accepted but flagged on the result.
- Calculate. Enable live recalculation, or press Calculate after editing. Changing an input marks the previous result and its exports as stale rather than leaving an outdated file looking current.
- Inspect. Result panels, diagnostic tables, charts and the three-dimensional scene all describe the same run. Timeline playback animates a completed calculation; it does not advance a self-consistent plasma state.
- Export. Save the inputs as an experiment JSON to reload later, and export the results separately with their units, model version and source information attached.
In the reactor and Torus workspaces, the Inputs, Results, Particles and Energy shortcuts jump to a section; closing panels expands the scene, and All panels reopens them. Appearance controls, cameras and layer toggles change the display only.
01 · FusionSim — reactivity and zero-dimensional balance
Reaction-rate density follows from distinct species populations and a Maxwellian relative-energy distribution at the reduced-mass relative temperature.
Trel = μ(Tp/mp + TB/mB) · R = np nB ⟨σv⟩
⟨σv⟩ = √[8/(πμ)] (kT)−3/2 ∫ σ(E) E exp[−E/(kT)] dE
The integral is evaluated over 41 published Sikora–Weller evaluation points with log–log interpolation and segment boundaries at every tabulated energy, giving a centre-of-mass domain of approximately 137.4–3480.9 keV after exact invariant-s transformation of the published laboratory axis. No additional endpoint extrapolation is applied.
| Quantity | Implementation | Validity domain |
|---|---|---|
| Cross section | σ = (4π/3) Σ A₀ over channels | Published A₀ statistical errors; 3.4% correlated systematic |
| Fusion power | Pf = R·Q, Q = 8.68193 MeV | Uniform volume density; no burn-up or distribution tail |
| Composition | ne = np + 5nB; Zeff = (np + 25nB)/ne | Fully ionised p/B mixture |
| Bremsstrahlung | Relativistic electron–ion and electron–electron fit | 1 ≤ Te ≤ 511 keV; free–free only |
| Transport loss | Ploss = U/τE | Jüttner electron and non-relativistic ion inventory; radiation added separately |
A separate species-sum radiation comparison (Xie 2024, Eqs. 61–68) evaluates each actual ion charge and splits electron–ion from electron–electron emission over 1–511 keV. It is exported alongside the baseline rather than replacing it, so both figures stay identifiable in the record.
Not included in the balance: synchrotron radiation, impurities, ash accumulation, alpha slowing-down, spatial and kinetic transport, MHD and kinetic stability, driver and magnet power, structures, fuel cycle and electricity conversion.
02 · Isotope Fusion Explorer — nuclear data and kinematics
Atomic masses from the AME2020 slice determine reaction energetics; centre-of-mass energy, closed-channel thresholds and two-body partitions use relativistic invariant-s kinematics with bare-nucleus masses.
Q = (Σmreactants − Σmproducts)c² · s = ma² + mb² + 2mb(ma + Tlab)
| Channel | Calculated role |
|---|---|
| p + ¹¹B → 3α | Q ≈ 8.68193 MeV; sequential three-body source spectrum |
| ²H + ³H → α + n | Q value and two-body partition anchor |
| ²H + ³He → α + p | Q value and two-body partition |
| p + ¹¹B → n + ¹¹C | Endothermic; laboratory threshold ≈ 3.02 MeV |
| p + ¹⁰B → α + ⁷Be | Impurity-channel energetics |
Sequential structural spectrum
The sampler models p+¹¹B→α+⁸Be* followed by ⁸Be*→2α. It draws a user-supplied ground-state fraction or a truncated broad level near 3.03 MeV, samples isotropic decay, performs exact sequential Lorentz boosts, and enforces ΣEα = Q + Ecm, Σp⃗α = 0 and the alpha mass shell on every event. Fixed seeds reproduce the same event set exactly.
Product transport is available in the reaction centre-of-mass frame or in a stationary-target laboratory frame, with uniform-field helical motion for charged products and straight-line flight for neutrals. The frame in use is named on every reported quantity.
03–04 · Virtual Reactor Lab and Torus Lab — magnetic configuration screens
The Virtual Reactor and original Torus notebook include analytic configuration screens. The current Torus Observatory additionally implements the explicitly scoped field and equilibrium models listed below. A prescribed field, a manufactured elliptic test and a force-balance problem carry different evidence.
Torus Observatory model inventory
| Model ID | Implemented capability | Scientific boundary |
|---|---|---|
analytic-circular-v1 | Prescribed analytic circular field | No equilibrium or force-balance solution |
pure-toroidal-v1 | Prescribed pure toroidal field | No poloidal confinement or equilibrium solution |
filament-coils-v1 | Discrete prescribed vacuum coil field | Finite straight-segment Biot–Savart approximation; conductor exclusion; no plasma response or coil optimization |
field-grid-import-v1 | Imported prescribed field grid | Interpolation only within declared coverage; no inferred equilibrium |
equilibrium-import-v1 | Imported axisymmetric flux reconstruction | Known COCOS 3/4/13/14 conversion only; no inferred solver convergence or experimental accuracy |
gs-solver-v1 | Fixed rectangular boundary Grad–Shafranov kernel | Manufactured elliptic verification or polynomial-profile solve; no free-boundary coil coupling |
Fixed-boundary results distinguish iterative residual, exact manufactured flux error when available, and boundary error. Imported reconstructions have no local residual history unless supplied by their source. Numerical verification does not establish experimental accuracy; qualification and missing measurements remain explicit.
Mirror field and single-particle invariants
B(z) = B₀[1 + (Rm − 1)(2z/L)²] · θLC = asin(1/√Rm) · ftrapped = √(1 − 1/Rm)
Magnetic-moment conservation determines trapping and turning point under a non-relativistic energy partition. Reported diagnostics include the relativistic alpha gyroradius and gyrofrequency, the non-relativistic turning point and harmonic bounce period, beta, an electron-only Debye length under an immobile-ion convention, the stored thermal inventory, and the maximum sampled ρ|∇B|/B over the accessible half-orbit as an adiabaticity proxy.
Toroidal geometry and diagnostic screens
Bφ(R) = B₀R₀/R · Bθ(a) = μ₀Ip/(2πa) · q(a) = aB₀/[R₀Bθ(a)]
Volume uses an elongated torus; pressure and electron density follow the p:B mixture you enter. The cylindrical edge safety factor, beta, a normalised-beta proxy, the Greenwald density comparison, the relativistic 90°-pitch maximum gyroradius and a banana-width proxy are reported as diagnostic screens. Safety-factor and orbit badges are suppressed outside a/R₀ ≤ 0.35, where the cylindrical approximation stops being informative.
The analytic configuration screens do not solve equilibrium. The current Torus solver is restricted to a fixed rectangular Dirichlet boundary; its manufactured mode verifies the elliptic equation and is not a physical pressure/current equilibrium. No model here establishes free-boundary reconstruction, coil optimization, bootstrap current, MHD stability, collisional transport, energy confinement, or reactor performance.
05 · AlphaTrack — image segmentation and morphometry
The pipeline converts the image to luminance, selects an Otsu or manual threshold, labels dark connected components under 4- or 8-connectivity, then computes area, centroid, bounding box, equivalent diameter and pixel-edge compactness for each object before applying morphology bounds and drawing the accepted set.
compactness = 4πA/P² (four-edge raster perimeter)
| Control or output | Treatment |
|---|---|
| Pixel scale | Physical density is reported only when a positive scale and a calibration-record identifier are both supplied |
| Blank count | Optional same-area blank subtraction is a signed proxy; negative estimates are retained and flagged |
| Counting uncertainty | Poisson count interval: exact central Garwood for n < 100, identified Wilson–Hilferty approximation above |
| Border objects | A high accepted-object border fraction raises a sampling and segmentation warning |
| Synthetic truth | Maximum-cardinality one-to-one centroid matching reports TP, FP, FN, precision, recall and F1 on generated circles |
| Exports | JSON preserves image metadata, parameters, calibration, QC, summaries and all detections; CSV repeats detection and provenance fields; PNG is the overlay |
Raster sampling and orientation affect compactness, so a sampled disk does not generally score 1. The legacy circularity export key is retained and carries method metadata.
06 · DirectConvert — electrostatic recovery and the adiabatic limit
Two independent models run side by side. The first is a discrete electrostatic stage ledger.
Erec = qΔφ → Erec(MeV) = 2Δφ(MV), credited only when 2Δφ(MV) < Eα(MeV)
Esource = Erecovered + Eresidual · Ṅ = Pα/Ēα · I = 2eṄ
Each simulated alpha selects the highest strictly admissible stage, and the energy sum is checked exactly. At the Q/3 mean, 1 MW of alpha power corresponds to approximately 0.691 A of charged-particle current.
First-order transport screens
JCL = (4/9) ε₀ √(2q/m) V3⁄2 / d²
Each planar Child–Langmuir row uses the stage-to-stage voltage increment and the current incident on that gap divided by beam area. Every ion enters the first gap, including ions reflected before their collector; later gaps see ions assigned to that or a higher potential in the ideal routing ledger.
Adiabatic large-device limit
C = εparticle,0B₀²/(mEfield²); solve exp(4x) − C sin²θ exp(x) − 2C cos²θ = 0, then η* = 1 − cos²θ exp(−2x) − sin²θ exp(−x)
The positive root is found by bisection and verified against the published equation and its θ = 0° and 90° analytic limits. This is a single-particle free-energy limit for optimally large geometry, reported for comparison against the stage ledger.
Plant balance
Pdirect = Pα·ηstage·ηtransport·ηconditioner
Pthermal,e = ηcaptureηthermalPcapturable heat · Pnet = ηsite(Pdirect + Pthermal,e) − Paux
A thermal efficiency above the Carnot bound 1 − Tcold/Thot is rejected as a hard failure. The thermal path is an explicitly shared-reservoir sensitivity: unrecovered particles, conditioning loss and any user-supplied heat share one capture fraction, hot temperature and efficiency.
07 · Reactor 3D — composed system viewer
The composed viewer couples the existing reduced calculations and records each coupling explicitly rather than presenting a single opaque system model.
| Layer | Calculated basis |
|---|---|
| Uniform source | Maxwellian p–¹¹B source and bremsstrahlung density × analytic mirror or torus volume |
| Alpha paths | Relativistic Boris rotation in a prescribed static analytic field at E = 0 |
| Mirror field | Parabolic Bz with a first-order near-axis divergence-free radial completion |
| Torus field | Bφ = B₀R₀/R plus a divergence-free circular-flux Bθ proportional to rR₀/R |
| Source → collector | Q-defined fusion power × analytic volume × the power-allocation fraction you set; deposition + allocation ≤ 1 prevents double counting |
| Process strip | A shared 0–1 display index highlighting the source, tracer, collector and grid ledgers |
Numerical checks applied to every run
- Kinetic energy stays constant to round-off in a frozen uniform-field pure-B test.
- Centred finite-difference divergence checks exercise the mirror and torus fields away from coordinate singularities.
- Fixed scientific and visual seeds reproduce the same states; camera, layers and playback are display-only.
- Particle, frame and substep budgets reject oversized runs, and all exported coordinates must remain finite.
- The first sampled analytic-volume crossing freezes the displayed path and is labelled non-terminal.
Release 7.5.2 research models
These models run in separate research panels. Each has a versioned identifier, an independent reference calculation and a result record that states physicalValidationEstablished: false. Full contracts: docs/v752-specs/.
Time-dependent burn and ash — hbf-pb11-burn-0d@1 (FusionSim)
dnp/dt = Sp − np/τp − R · dnB/dt = SB − nB/τp − R · dnα/dt = 3fdepR − nα/τα
dWi/dt = G fdepQR + Paux,i + Pei − Wi/τE − convective loss · dWe/dt = (1−G) fdepQR + Paux,e − Pei − Pbrem − We/τE − convective loss
R = npnB⟨σv⟩(Ti) from the pinned table (cubic log–log cache, 1–2000 keV, never extrapolated); G is the Stix ion share with Ec = 14.7688 AαTe[Σ njZj²/(neAj)]2/3; Pei uses the NRL Plasma Formulary equilibration rate; electrons carry the Maxwell–Jüttner mean energy. Integration: Dormand–Prince 5(4) with an energy and particle ledger. An independent SciPy Radau solution agrees to 1.24×10⁻⁹ over 20 s for the default case and to 3.03×10⁻⁹ over the two recorded scenarios (docs/v752-verification/burn-dynamics-oracle.json). Not modelled: transport profiles, synchrotron and line radiation, fast-alpha slowing-down dynamics.
Collector gap — hbf-collector-gap-1d@1 (DirectConvert)
JCL = (4ε₀/9)√(2q/m) (E/q)3/2/d² · η = qVc/E · Jcrit/JCL = (1 + √(1 − η))³
A planar electrostatic particle-in-cell model (cloud-in-cell weighting, direct Poisson solve, leapfrog push) follows a cold beam into a retarding gap, records which particles are collected or returned, detects a virtual anode and closes an energy ledger. The steady theory lists every non-reflecting state below Jcrit and the fully reflecting state for η > 1. An independent shooting solver and a separate NumPy particle-in-cell code agree with it. Not modelled: collisions, secondary electrons, grids, magnetic fields and multi-dimensional geometry.
Exact coil fields (Virtual Reactor Lab, Reactor 3D)
Bz, Bρ of a circular loop from complete elliptic integrals K(m), E(m), m = 4aρ/[(a+ρ)² + (z−z₀)²]
K and E are computed by the arithmetic–geometric mean with a stable near-axis form; solenoids and thick coils are integrated with adaptive Gauss–Legendre quadrature. A matched two-loop coil set shares the mirror run's B₀, throat position and mirror ratio; for B₀ = 1.5 T, R = 4 and L = 2 m the analytic parabolic mirror differs from it by up to 26 %. A held-out comparison fits only a current scale (and optional offset) on training rows of a field map.
Measured nuclear data comparisons (FusionSim, Isotope Explorer)
χ² = rᵀV⁻¹r, V = diag(u²point + u²baseline) + (n²set + 0.034²) s sᵀ
EXFOR sets are converted to centre-of-mass energy with the invariant-s relation used for the baseline and compared without changing it; a profiled normalisation factor separates scale from shape. Both correlated terms are built from the baseline values s, not from the measured values: using measured values there produces Peelle's pertinent puzzle, which biases the fit low (for Taskaev 2024 it moves χ² from 49.0 to 144.3). Sampler checks compare branch fractions and Legendre moments (2L+1)⟨PL(cos θ)⟩ with published coefficients at matching proton energies (tolerance max(1 keV, 0.5 %)).
Shared numerical foundations
- Mass constantsNine mass constants are taken from the unrounded AME2020 table, with eleven masses carrying uncertainties and nine IAEA LiveChart ground-state records bundled with the release. Q-value uncertainty uses signed net mass coefficients before squaring; inter-nuclide covariance, constant uncertainty and electron binding are excluded at this precision.
- Threshold stabilityA common factored Källén momentum prevents negative or non-finite kinetic energy at reaction threshold, and small kinetic energies use factored momentum with rationalised kinetic-energy formulas.
- Thermal reactivity anchorsD+T, D+³He and both D+D branches use Bosch–Hale Table VII coefficients, checked against UKAEA PROCESS with cm³/s converted to m³/s. Identical DD reactants share one deuterium population with a half-pair factor per branch.
- Convergence checkingThe h, h/2, h/4 orbit check doubles substeps as the step is halved, preserving the physical horizon and the seed. Positions at or after the first boundary crossing are excluded, and differing crossing outcomes withhold the order estimate rather than reporting a misleading one.
- RenderingThe GPU path uses procedural physically-based materials with a locally bundled Three.js. The CPU fallback projects the same geometry and instanced transforms with simplified materials, clipping polygons and lines to the camera frustum. Neither path participates in a calculation.
Bundled data sources
| Dataset | Source | Used by |
|---|---|---|
| p–¹¹B cross section, 41 points | Sikora & Weller (2016) evaluation, A₀ coefficients | FusionSim, Isotope Explorer |
| Atomic mass slice | AME2020, IAEA AMDC | All reaction energetics |
| Thermal reactivity coefficients | Bosch & Hale (1992), Table VII | Isotope Explorer |
| Ground-state records | IAEA LiveChart per-record queries | Isotope Explorer |
| Nuclide half-lives | NUBASE2020 — carbon-11 at 20.3402 ± 0.0053 min | Isotope Explorer |
| Isotopic abundance ranges | CIAAW 2024 — lithium-7 terrestrial range 0.922–0.981 | Composition inputs |
| Radiation comparison fixtures | Xie (2024), Eqs. 61–68 | FusionSim, Torus Lab |
| p–¹¹B measurements (11 EXFOR entries) | EXFOR master files, IAEA-NDS/NRDC, CC BY 4.0, pinned commit; raw entries bundled with SHA-256 and upstream git blob ids | FusionSim and Isotope Explorer comparison panels (never the baseline) |
| Transport boundary convention | Wurzel & Hsu, Eq. 11 | Thermal transport time |
Public availability of a source does not imply endorsement by the issuing body, and a bundled slice is not a complete nuclear-data evaluation.
Related pages
Research tools guide — snapshot panels, cross-laboratory transfers and the complete research package export.
Mirror diagnostics notebook — an independent input scenario that does not synchronise with the current reactor run.
Installation check — verifies that every required file is present, correctly typed and matched to this release.