Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-08T03:04:34.340Z Has data issue: false hasContentIssue false

An adjoint method for neoclassical stellarator optimization

Published online by Cambridge University Press:  06 September 2019

Elizabeth J. Paul*
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA
Ian G. Abel
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA Department of Physics, Chalmers University of Technology, Göteborg, SE-41296, Sweden
Matt Landreman
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA
William Dorland
Affiliation:
Institute for Research in Electronics and Applied Physics, University of Maryland, College Park, MD 20742, USA
*
†Email address for correspondence: ejpaul@umd.edu
Rights & Permissions [Opens in a new window]

Abstract

Stellarators are a promising route to steady-state fusion power. However, to achieve the required confinement, the magnetic geometry must be highly optimized. This optimization requires navigating high-dimensional spaces, often necessitating the use of gradient-based methods. The gradient of the neoclassical fluxes is expensive to compute with classical methods, requiring $O(N)$ flux computations, where $N$ is the number of parameters. To reduce the cost of the gradient computation, we present an adjoint method for computing the derivatives of moments of the neoclassical distribution function for stellarator optimization. The linear adjoint method allows derivatives of quantities which depend on solutions of a linear system, such as moments of the distribution function, to be computed with respect to many parameters from the solution of only two linear systems. This reduces the cost of computing the gradient to the point that the finite-collisionality neoclassical fluxes can be used within an optimization loop. With the neoclassical adjoint method, we compute solutions of the drift kinetic equation and an adjoint drift kinetic equation to obtain derivatives of neoclassical quantities with respect to geometric parameters. When the number of parameters in the derivative is large ($O(10^{2})$), this adjoint method provides up to a factor of 200 reduction in cost. We demonstrate adjoint-based optimization of the field strength to obtain minimal bootstrap current on a surface. With adjoint-based derivatives, we also compute the local sensitivity to magnetic perturbations on a flux surface and identify regions where tight tolerances on error fields are required for control of the bootstrap current or radial transport. Furthermore, the solve for the ambipolar electric field is accelerated using a Newton method with derivatives obtained from the adjoint method.

Information

Type
Research Article
Copyright
© Cambridge University Press 2019 
Figure 0

Figure 1. Fractional difference between derivatives with respect to $B_{00}^{c}$ computed with the adjoint method and with a forward difference derivative with step size $\unicode[STIX]{x0394}B_{00}^{c}$. The full trajectory model was used with (a) the discrete and (b) the continuous adjoint approaches.

Figure 1

Figure 2. (a) The fractional difference between $\unicode[STIX]{x2202}Q_{i}/\unicode[STIX]{x2202}\unicode[STIX]{x1D704}$ computed with the continuous and discrete approaches converges with the number of pitch-angle Legendre modes, $N_{\unicode[STIX]{x1D709}}$. (b) Comparison of the computational cost of computing $\unicode[STIX]{x2202}{\mathcal{R}}/\unicode[STIX]{x2202}\unicode[STIX]{x1D6FA}$ with forward difference derivatives and the adjoint approach as a function of $N_{\unicode[STIX]{x1D6FA}}$, the number of parameters in the gradient.

Figure 2

Figure 3. (a) The local magnetic sensitivity function for the bootstrap current, $S_{J_{b}}$, is shown for the W7-X standard configuration. Positive values indicate that increasing the field strength at a given location will increase $J_{b}$ through (5.2). (b) The local sensitivity function for the ion particle flux, $S_{\unicode[STIX]{x1D6E4}_{i}}$.

Figure 3

Figure 4. (a) Convergence of $\unicode[STIX]{x1D712}^{2}=J_{b}^{2}$ for optimization over $\unicode[STIX]{x1D6FA}=\{B_{mn}^{c}\}$ with an adjoint-based BFGS method. (b) The change in field strength from the initial to optimized configuration.

Figure 4

Figure 5. The ambipolar root is obtained with Brent, Newton–Raphson and Newton hybrid nonlinear root solvers. The derivatives obtained with the adjoint method provide better convergence properties for the Newton methods.

Figure 5

Figure 6. (a) The cost of computing the gradient $\unicode[STIX]{x2202}{\mathcal{R}}/\unicode[STIX]{x2202}\unicode[STIX]{x1D6FA}$ at ambipolarity scales with $N_{\unicode[STIX]{x1D6FA}}$, the number of parameters in $\unicode[STIX]{x1D6FA}$. (b) The fractional difference between $\unicode[STIX]{x2202}{\mathcal{R}}/\unicode[STIX]{x2202}B_{00}^{c}$ at constant ambipolarity obtained with the adjoint method and with finite difference derivatives.

Figure 6

Figure 7. The sensitivity function for the ion particle flux, $S_{\unicode[STIX]{x1D6E4}_{i}}$, is computed at (a) constant $E_{r}$ and (b) constant $J_{r}$. Similarly, $S_{J_{b}}$ is computed at (c) constant $E_{r}$ and (d) constant $J_{r}$.