Real-time equilibrium reconstruction by multi-task learning neural network based on HL-3 tokamak
G.H. Zheng, Zongyu Yang, Songfen Liu, Rui Ma, Xinwen Gong, Ao Wang, Shuo Wang, W.L. Zhong
Abstract
Abstract A neural network model, EFITNN, has been developed capable of real-time magnetic equilibrium reconstruction based on HL-3 tokamak magnetic measurement signals. The model processes inputs from 68 channels of magnetic measurement data gathered from 1159 HL-3 experimental discharges, including plasmas current, loop voltage, and the poloidal magnetic fields measured by probes. The outputs of the model feature eight key plasmas parameters, alongside high-resolution ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:mrow> <mml:mn>129</mml:mn> <mml:mo>×</mml:mo> <mml:mn>129</mml:mn> </mml:mrow> </mml:math> ) reconstructions of the toroidal current density <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:mrow> <mml:msub> <mml:mi>J</mml:mi> <mml:mrow> <mml:mtext>P</mml:mtext> </mml:mrow> </mml:msub> </mml:mrow> </mml:math> and poloidal magnetic flux distributions Ψ rz . Moreover, the network’s architecture employs a multi-task learning structure, which enables the sharing of weights and mutual correction among different outputs, and leads to increase the model’s accuracy by up to 32%. The performance of EFITNN demonstrates remarkable consistency with the offline EFIT, achieving average <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:mrow> <mml:msup> <mml:mi>R</mml:mi> <mml:mn>2</mml:mn> </mml:msup> <mml:mo>=</mml:mo> </mml:mrow> </mml:math> 0.941, 0.997 and 0.959 for eight plasmas parameters, Ψ rz and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:mrow> <mml:msub> <mml:mi>J</mml:mi> <mml:mrow> <mml:mtext>P</mml:mtext> </mml:mrow> </mml:msub> </mml:mrow> </mml:math> , respectively. The model’s robust generalization capabilities are particularly evident in its successful predictions of quasi-snowflake (QSF) divertor configurations and its adept handling of data from shot numbers or plasmas current intervals not previously encountered during training. Compared to numerical methods, EFITNN significantly enhances computational efficiency with average computation time ranging from 0.08 ms to 0.45 ms, indicating its potential utility in real-time isoflux control and plasmas profile management.