Governed device-family repository for reversed-field pinch (RFP) fusion
systems within the SCPN Reactor Systems Research Group. This repository is
the designated owner of device-level truth for the reversed_field_pinch
configuration of the SCPN Phase Orchestrator reactor registry
(relaxed-current torus).
Evidence maturity: computational_prototype (per-capability; ADR 0002).
Five capabilities are implemented: the device configuration model —
validated parameter objects with documented consistency estimates,
canonical serialisation, and a data-only SPO registry pin
(evidence: VALIDATION.md#device-configuration-model); the
diagnostic and clock semantics model — synthetic channel and clock
declarations aligned fail-closed with the pinned SPO observability
catalogue (ADR 0003, evidence:
VALIDATION.md#diagnostic-and-clock-semantics); and the level-0 device
physics — the cylindrical Bessel-function relaxed state (force-free
parameter, axis field, the model's reversal parameter against the
declared one, reversal threshold and radius, edge-field comparison) and
its field and safety-factor profile evaluated on the validated
configuration through the pinned shared Bessel kernels of
scpn-reactor-kernels, with optional native kernels proven bit-exact
against the Python floor (ADR 0005 and ADR 0006, evidence:
VALIDATION.md#level-0-device-physics); the device 3D model — the
validated device geometry of the cylindrical periodic equivalent
tessellated into closed triangle meshes and exported as binary STL and
glTF 2.0 binary through the shared kernel library; and the device CAD
model — the same bodies as B-rep solids built through the library's cad
group, checked fail-closed against the analytic closed forms and exported
as a normalised deterministic STEP file (ADR 0007, evidence:
VALIDATION.md#device-3d-model and VALIDATION.md#device-cad-model,
consumer contract docs/DEVICE_3D_MODEL_CONTRACT.md). No parameter set or channel
describes any real machine or diagnostic; the claim inventory is empty
and verified by the domain validator.
This repository owns, for the reversed-field pinch device family:
- the analytic device physics models: closed-form and 0-D models from the reversed-field-pinch literature evaluated on the validated configuration (no solver code, no FUSION seam); the Bessel kernels they use are the shared kernel library's, pinned here, not owned here;
- the device boundary: plant and experiment truth, pulse lifecycle, and configuration policy for toroidal devices confined by a relaxed, current-dominated state in which the plasma current generates most of the confining magnetic field and the edge toroidal field is reversed relative to the axis;
- diagnostic semantics (magnetics-heavy mode analysis, multiple-helicity versus quasi-single-helicity regime identification), reference frames, and clock identity declarations;
- actuator-response model boundaries and the declared safety envelope;
- the device-owned CONTROL adapter specification (observation, state, and actuator-capability schemas; replay fixtures contract; explicit no-direct-actuation semantics);
- the binding to the SCPN Phase Orchestrator reactor registry
(version
1.0.0, digest786d9542ce76c56dd7748fa948b17efed6c073525e527ce90e6d5e29a2d00090); - the machine-readable domain manifest
reactor-domain.jsonand the derived Studio portfolio descriptor (integration statenot_federated).
- Axisymmetric tokamaks (safety factor above unity, externally
dominated toroidal field):
SCPN-TOKAMAK-CORE. - Stellarator, heliotron, and torsatron systems:
SCPN-STELLARATOR-CORE. - Spheromak (simply connected, no toroidal-field circuit):
SCPN-SPHEROMAK-CORE. - Self-magnetic pinches (linear Z-pinch class):
SCPN-Z-PINCH-CORE. - Solver mathematics and validation evidence:
SCPN-FUSION-COREremains the canonical owner of shared solver surfaces until an exact surface passes the reactor family migration gate. No solver code exists in, or was copied into, this repository. - Typed signal semantics and comparability:
SCPN-PHASE-ORCHESTRATOR(review-only output; never actuation). - Control admission and action formation:
SCPN-CONTROLis the sole software authority that forms an admittedControlAction. - Machine protection: independent systems retain the final veto.
- Portfolio presentation, identity, entitlement, and execution gating:
SCPN-STUDIO.
This repository is not machine-ready, not safety-certified, and not
reactor-ready. It contains no implemented solver, no controller, no
experimental correlation, no dataset, and no published artefact; the
level-0 relaxed-state closed forms and their timing benchmark are
computational prototypes, not validated equilibrium or confinement
claims, and no parameter set describes or validates any real machine. Operating-regime choices (multiple helicity,
quasi-single helicity) and fuel-cycle choices are configuration facets, not
separate claims. No capability has reached any
evidence-maturity state beyond computational_prototype.
The five-surface boundary and the position of this repository in the SCPN
ecosystem are defined in docs/ARCHITECTURE.md and
fixed by
docs/adr/0001-repository-boundary.md.
The threat model is in docs/THREAT_MODEL.md; the
CONTROL adapter contract is in
docs/CONTROL_ADAPTER_SPECIFICATION.md.
Every gate currently active in this repository is listed in
VALIDATION.md. The local sequence is:
make lint # ruff check + ruff format --check
make typecheck # mypy --strict src tools tests benchmarks conftest.py
make test # pytest with 100 % statement and branch coverage on src/ and tools/
make validate # domain manifest, descriptor, inventory, and workflow checks
make rust # format, lint and test the optional native kernels
make preflight # the full fail-closed gate sequenceSee SECURITY.md for the supported states and the private
reporting route ([email protected]).
AGPL-3.0-or-later for the public repository, with a commercial licence
available (see NOTICE.md). Licence texts are under
LICENSES/; machine-readable licensing metadata follows
REUSE 3.x (REUSE.toml).
Citation metadata is provided in CITATION.cff. No release,
version, or DOI exists yet; cite the repository state you inspected.
The rightsholder, Miroslav Šotek (ANULUM), expressly reserves the use of the works in this repository for text and data mining, including the collection of this content for, and its use in, training, fine-tuning or evaluating machine learning and artificial intelligence models, in accordance with Article 4(3) of Directive (EU) 2019/790 and the national provisions transposing it.
No permission for such use has been granted beyond what the licence in
LICENSE grants. This reservation does not change that licence: uses the
licence permits remain permitted on its terms, including its attribution and
share-alike conditions.
Reservation made on 2026-10-19. Requests for permission: contact the rightsholder through the contact listed in this repository.
