Advanced Search+
Rui MA (马瑞), Fan XIA (夏凡), Fei LING (凌飞), Jiaxian LI (李佳鲜). Acceleration optimization of real-time equilibrium reconstruction for HL-2A tokamak discharge control[J]. Plasma Science and Technology, 2018, 20(2): 25601-025601. DOI: 10.1088/2058-6272/aa9432
Citation: Rui MA (马瑞), Fan XIA (夏凡), Fei LING (凌飞), Jiaxian LI (李佳鲜). Acceleration optimization of real-time equilibrium reconstruction for HL-2A tokamak discharge control[J]. Plasma Science and Technology, 2018, 20(2): 25601-025601. DOI: 10.1088/2058-6272/aa9432

Acceleration optimization of real-time equilibrium reconstruction for HL-2A tokamak discharge control

  • Real-time equilibrium reconstruction is crucially important for plasma shape control in the process of tokamak plasma discharge. However, as the reconstruction algorithm is computationally intensive, it is very difficult to improve its accuracy and reduce the computation time, and some optimizations need to be done. This article describes the three most important aspects of this optimization: (1) compiler optimization; (2) some optimization for middle-scale matrix multiplication on the graphic processing unit and an algorithm which can solve the block tri-diagonal linear system efficiently in parallel; (3) a new algorithm to locate the X&O point on the central processing unit. A static test proves the correctness and a dynamic test proves the feasibility of using the new code for real-time reconstruction with 129×129 grids; it can complete one iteration around 575 μs for each equilibrium reconstruction. The plasma displacements from real-time equilibrium reconstruction are compared with the experimental measurements, and the calculated results are consistent with the measured ones, which can be used as a reference for the real-time control of HL-2A discharge.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return