The RAPTOR code is a control-oriented core plasma profile simulator with various applications in control design and verification, discharge optimization and real-time plasma simulation. To date, RAPTOR was capable of simulating the evolution of poloidal flux and electron temperature using empirical transport models, and required the user to input assumptions on the other profiles and plasma parameters. We present an extension of the code to simulate the temperature evolution of both ions and electrons, as well as the particle density transport. A proof-of-principle neural-network emulation of the quasilinear gyrokinetic QuaLiKiz transport model is coupled to RAPTOR for the calculation of first-principle-based heat and particle turbulent transport. These extended capabilities are demonstrated in a simulation of a JET discharge. The multi-channel simulation requires ∼0.2 s to simulate 1 second of a JET plasma, corresponding to ∼20 energy confinement times, while predicting experimental profiles within the limits of the transport model. The transport model requires no external inputs except for the boundary condition at the top of the H-mode pedestal. This marks the first time that simultaneous, accurate predictions of Te, Ti and ne have been obtained using a first-principle-based transport code that can run in faster-than-real-time for present-day tokamaks.

Original languageEnglish
Article number096006
JournalNuclear Fusion
Issue number9
Publication statusPublished - 3 Jul 2018
MoE publication typeA1 Journal article-refereed


  • integrated tokamak simulation
  • machine learning
  • real-time control
  • tokamak profiles
  • tokamak transport


Dive into the research topics of 'Real-time-capable prediction of temperature and density profiles in a tokamak using RAPTOR and a first-principle-based transport model'. Together they form a unique fingerprint.

Cite this