arXiv:2610.26138physics.plasm-phOct 2026

Manuscript Offprint

arXiv:2610.26138

Reinforcement Learning Controllers for Fusion Scenario Development

Evgeny Adishchev, Maxim Nurgaliev, Dmitry Sorokin, Alexander Granovsky, Maksim Stokolesov, Igor Prokofyev, Eduard Khairutdinov, Georgy Subbotin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Scenario development, the design of the waveforms that take a tokamak discharge from breakdown to flat-top, is still an iterative, labour-intensive process. Every candidate scenario has to be simulated with a controller in the loop, and the classical shape and current controllers need low-level actuator references. So the process is iterative and includes a number of trial-and-error steps. We propose to replace the per-scenario controller tuning by a single goal-conditioned reinforcement-learning controller trained once, in advance, against a free-boundary equilibrium and transport simulator. A scenario is then specified only by the target waveforms of the physical quantities of interest (plasma current, line-averaged electron density, LCFS shape, x-point positions), and the controller produces the coil-current and fueling commands that realise them. We demonstrate the approach on an EAST plasma-current ramp-up: the controller takes over a small limited plasma, ramps the current and the density, grows the cross-section, forms two x-points and holds a double-null diverted configuration against sampled shape targets for the rest of a 1.2 s episode. The neural network controller is trained using TQC algorithm. On 1024 test scenarios sampled from a low-discrepancy scrambled Sobol sequence in 11-dimensional target space, the controller forms the divertor in 86% of the cases, holds it for more than 0.5 s in 67% and reaches the end of the episode in a diverted state in 58%, with flat-top tracking errors of a few kA in plasma current, ∼0.15×1019\sim 0.15 \times 10^{19} m −3^{-3} in density, ∼2\sim 2 cm in position and ∼8\sim 8 cm in x-point location; the failures concentrate at the high-current density (J) region which is believed to be physically or from engineering perspective not feasible within ohmic mode.

1 Motivation

This paper presents a tokamak operating scenario as the time history of the MHD states, coils' currents, other actuators including fueling and heating from breakdown to the flat-top and later to the ramp down. Its development is one of the most time-consuming activities in the preparation of an experimental campaign, as it is largely an unstructured trial-and-error process [1, 2, 3]. The scenario development is done with integrated simulators, those inputs are actuator values and outputs—plasma states evolved over a discharge. In operations the actuators depend on the plasma state and determined by a controller—typically PID using specific set points. During scenario design and optimization the set points are not known yet, the scenario designer therefore iterates: propose waveforms, re-tune the controller, simulate. Exploratory optimisation is particularly limited—small modifications frequently lose the equilibrium or hit a coil limit, and each failed attempt costs a simulation and a manual diagnosis.

Our proposal is to run these simulations in advance. Instead of tuning a controller for every candidate scenario we train, once, a goal-conditioned controller that receives the target waveforms of the physical quantities of interest together with the plasma state (MHD and kinetic) and produces the actuator commands. Once such a controller exists, a scenario is specified entirely in physical terms—“ramp to 300 kA in 0.6 s, reach nˉe=2×1019 m−3\bar{n}_e = 2 \times 10^{19} \, \text{m}^{-3}, form a double-null shape with elongation 1.9 and these x-point radii”—and each iteration of the design loop is a single closed-loop simulation that is, by construction, consistent with the plant model. The capable simulator intrinsically takes engineering boundary conditions into account and produces a scenario that fits for purpose and also feasible to the device. Variations can be explored interactively, and the controller’s own test statistics tell the designer which region of the target space is reachable.

The dimensionality of the problem rules out exhaustive search: the state of a free-boundary equilibrium coupled to a transport model has hundreds of degrees of freedom, the actuator space has about a dozen continuous channels, and a scenario is a path through this space over a thousand control steps. Approximate, learned solutions are needed, and deep reinforcement learning (RL) using neural networks as universal approximators is the natural tool for the complex system with nonlinear evolution and control dynamics: it optimises a closed-loop policy directly against a simulator, handles continuous multi-input multi-output control, and has already been shown to control tokamak plasmas in simulation and on real devices. Magnetic control by RL has been demonstrated on TCV [4], DIII-D [5, 6], EAST [7], HL-3 [8] and EXL-50U [9, 10]; kinetic and 0-D scenario quantities have been controlled on KSTAR [11, 12] and JT-60SA [13], and RL has been used for proactive instability avoidance on DIII-D [14] and for robust ramp-down trajectory design on TCV [15]. Most of these works controls a plasma that already exists in its target configuration (static shape hold, disturbance rejection, profile regulation) or produces feed-forward trajectories. The present work addresses the scenario itself: the controller has to carry the plasma through the qualitatively different limited and diverted phases of a ramp-up, with the limiter-to-divertor transition—a discrete event that classical control systems handle by switching control laws—learned as part of the policy. We focus on ramp up to flat-top transition excluding breakdown itself and ramp down.

For this paper we applied the method to EAST device and produced a controller for offline use. The controller develops scenarios in a wide range of target shapes and kinetic characteristics. This range covers a substantial subspace of double null configurations achievable without external heating.