Hostname: page-component-76d6cb85b7-lrvh5 Total loading time: 0 Render date: 2026-07-21T03:22:23.261Z Has data issue: false hasContentIssue false

Data-driven model for divertor plasma detachment prediction

Published online by Cambridge University Press:  21 October 2022

Ben Zhu*
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Menglong Zhao
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Harsh Bhatia
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Xue-qiao Xu
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Peer-Timo Bremer
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
William Meyer
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Nami Li
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
Thomas Rognlien
Affiliation:
Lawrence Livermore National Laboratory, Livermore, CA 94550, USA
*
Email address for correspondence: zhu12@llnl.gov
Rights & Permissions [Opens in a new window]

Abstract

We present a fast and accurate data-driven surrogate model for divertor plasma detachment prediction leveraging the latent feature space concept in machine learning research. Our approach involves constructing and training two neural networks: an autoencoder that finds a proper latent space representation (LSR) of plasma state by compressing the multi-modal diagnostic measurements and a forward model using multi-layer perception (MLP) that projects a set of plasma control parameters to its corresponding LSR. By combining the forward model and the decoder network from autoencoder, this new data-driven surrogate model is able to predict a consistent set of diagnostic measurements based on a few plasma control parameters. In order to ensure that the crucial detachment physics is correctly captured, highly efficient 1D UEDGE model is used to generate training and validation data in this study. The benchmark between the data-driven surrogate model and UEDGE simulations shows that our surrogate model is capable of providing accurate detachment prediction (usually within a few per cent relative error margin) but with at least four orders of magnitude speed-up, indicating that performance-wise, it has the potential to facilitate integrated tokamak design and plasma control. Comparing with the widely used two-point model and/or two-point model formatting, the new data-driven model features additional detachment front prediction and can be easily extended to incorporate richer physics. This study demonstrates that the complicated divertor and scrape-off-layer plasma state has a low-dimensional representation in latent space. Understanding plasma dynamics in latent space and utilising this knowledge could open a new path for plasma control in magnetic fusion energy research.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NC
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial licence (http://creativecommons.org/licenses/by-nc/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use.
Copyright
Copyright © The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Three descriptions of plasma state.

Figure 1

Figure 2. (a) 2D (black) versus 1D (red) UEDGE simulation meshes and (b) sketch of 1D UEDGE simulation set-up.

Figure 2

Figure 3. Examples of (a) plasma density, (b) electron temperature, (c) neutral density and (d) radiation profile of attached (blue) and detached (orange) divertor plasma from 1D UEDGE simulations.

Figure 3

Figure 4. Reproductions of (a) $J_\parallel ^{\text{sat}}$ rollover and (b) $T_e$ cliff features in 1D UEDGE density scan simulations.

Figure 4

Figure 5. Histogram and cumulative distribution of electron temperature at divertor target $T_{e,t}$ from the training data set (111 598 cases in total).

Figure 5

Table 1. Numbers of detached and attached cases and their percentages in the training and validation data sets.

Figure 6

Figure 6. Sketches of (a) $\beta$-variational autoencoder, (b) forward multilayer perceptron (MLP) and (c) combined data-driven model.

Figure 7

Table 2. To choose a suitable dimensionality, $D_{\boldsymbol {z}}$, of the latent space, we study the reconstruction errors posed by different dimensionalities. Given the significant jump in the error when going from six to five, $D_{\boldsymbol {z}}$ was found to be the appropriate choice.

Figure 8

Figure 7. Performance of $\beta$-VAE in terms of absolute residual error for (a) $J_\parallel ^{\text{sat}}$, (b) $n_{e,t}$, (c) $T_{e,u}$, (d) $T_{e,t}$, (e) $P_\text {rad}^{\text{max}}$ and ( f) peak radiation or detachment front location. Here, the $x$-axis is UEDGE (true) value and the residual error is defined as $\varepsilon =f_{\beta \text {-VAE}}-f_\text {UEDGE}$ for the quantity $f$. All predictions show excellent correlation with the true values, as quantified with almost-perfect $R^{2}$ scores. The distribution of data points are shown in adjoining panels to overcome the issue of overplotting in the scatter plots; these indicate that for most cases, relatively low and unbiased error is obtained, whereas higher errors are associated with relatively smaller number of samples.

Figure 9

Figure 8. Residual plots for (a) $T_{e,t}$ near detachment transition and (b) $J_\parallel ^{\text{sat}}/n_{e,t}$. Detached cases are in blue whereas attached cases are in orange. Note here that the $y$-axis of the distribution plots is in logarithmic scale.

Figure 10

Figure 9. $t$-SNE visualisation of a subset of 10 000 randomly picked LSR samples in the training data set in which detached (blue) and attached (orange) cases are clearly separated.

Figure 11

Figure 10. Performance of the MLP model in terms of absolute residual error for all six latent variables. Here the $x$-axis is $\beta$-VAE encoded value, whereas the residual is defined as $\varepsilon = f_\text {MLP}-f_{\beta \text {-VAE}}$ for quantity $f$. As with earlier results, an almost-perfect $R^{2}$ score indicates exceptional prediction quality.

Figure 12

Figure 11. Performance of combined forward prediction model in terms of residuals for (a) $J_\parallel ^{\text{sat}}$, (b) $n_{e,t}$, (c) $T_{e,u}$, (d) $T_{e,t}$, (e) $P_\text {rad}^{\text{max}}$ and ( f) peak radiation or detachment front location. Here the $x$-axis is UEDGE (true) value, whereas the residual is defined as $f_\text {residual}=f_{{\rm ML}}-f_\text {UEDGE}$ for quantity $f$. The distribution of $f$ and the $R^{2}$ scores between $f_{{\rm ML}}$ and $f_\text {UEDGE}$ for detached (blue) and attached (orange) cases are also provided.

Figure 13

Figure 12. Probability distribution functions (PDFs) of relative error of (a) $J_\parallel ^{\text{sat}}$, (b) $n_{e,t}$, (c) $T_{e,u}$, (d) $T_{e,t}$, (e) $P_\text {rad}^{\text{max}}$ and ( f) absolution error of peak radiation or detachment front location. Detached cases are in blue whereas attached cases are in orange. Dashed lines are shifted Gaussian distribution functions with $\mu$ and $\sigma$ from table 3 correspondingly.

Figure 14

Figure 13. (a) Electron temperature at divertor target $T_{e,t}$ prediction versus UEDGE simulation result and (b) examples of radiation profile or detachment front prediction. True (UEDGE) detached cases are in blue whereas attached cases are in orange.

Figure 15

Table 3. Mean ($\mu$) and standard deviation ($\sigma$) of the relative or absolute error of forward prediction model.

Figure 16

Table 4. Wall-clock time versus number of cases.

Figure 17

Figure 14. Upstream density scan of (a) $J_\parallel ^{\text{sat}}$ and (b) $T_{e,u}$ for UEDGE (blue), ML data-driven model (orange) and basic 2PM (black dashed) with $P_\text {inj}=1.71\,{\rm MW}$ and $f_Z=0$.

Figure 18

Figure 15. Upstream density scan of (a) $J_\parallel ^{\text{sat}}$ and (b) $T_{e,u}$ for UEDGE (blue), ML data-driven model (orange) and 2PMF (black lines) with $P_\text {inj}=2.66\,{\rm MW}$ and $f_Z=0.02$.