Hostname: page-component-6898cfcb55-zsp5v Total loading time: 0 Render date: 2026-11-11T21:10:45.145Z Has data issue: false hasContentIssue false

Computing the shape gradient of stellarator coil complexity with respect to the plasma boundary

Published online by Cambridge University Press:  22 April 2021

Arthur Carlton-Jones*
Affiliation:
University of Maryland, College Park, MD 20742, USA
Elizabeth J. Paul
Affiliation:
Department of Astrophysical Sciences, Princeton University, Princeton, NJ 08544, USA
William Dorland
Affiliation:
University of Maryland, College Park, MD 20742, USA
*
†Email address for correspondence: acarlton@terpmail.umd.edu
Rights & Permissions [Opens in a new window]

Abstract

Coil complexity is a critical consideration in stellarator design. The traditional two-step optimization approach, in which the plasma boundary is optimized for physics properties and the coils are subsequently optimized to be consistent with this boundary, can result in plasma shapes which cannot be produced with sufficiently simple coils. To address this challenge, we propose a method to incorporate considerations of coil complexity in the optimization of the plasma boundary. Coil complexity metrics are computed from the current potential solution obtained with the REGCOIL code (Landreman, Nucl. Fusion, vol. 57, 2017, 046003). While such metrics have previously been included in derivative-free fixed-boundary optimization (Drevlak et al., Nucl. Fusion, vol. 59, 2018, 016010), we compute the local sensitivity of these metrics with respect to perturbations of the plasma boundary using the shape gradient (Landreman & Paul, Nucl. Fusion, vol. 58, 2018, 076023). We extend REGCOIL to compute derivatives of these metrics with respect to parameters describing the plasma boundary. In keeping with previous research on winding surface optimization (Paul et al., Nucl. Fusion, vol. 58, 2018, 076015), the shape derivatives are computed with a discrete adjoint method. In contrast with the previous work, derivatives are computed with respect to the plasma surface parameters rather than the winding surface parameters. To further reduce the resolution required to compute the shape gradient, we present a more efficient representation of the plasma surface which uses a single Fourier series to describe the radial distance from a coordinate axis and a spectrally condensed poloidal angle. This representation is advantageous over the standard cylindrical representation used in the VMEC code (Hirshman & Whitson, Phys. Fluids, vol. 26, 1983, pp. 3553–3568), as it provides a uniquely defined poloidal angle, eliminating a null space in the optimization of the plasma surface. In comparison with previous spectral condensation methods (Hirshman & Breslau, Phys. Plasmas, vol. 5, 1998, p. 2664), the modified poloidal angle is obtained algebraically rather than through the solution of a nonlinear optimization problem. The resulting shape gradient highlights features of the plasma boundary that are consistent with simple coils and can be used to couple coil and fixed-boundary optimization.

Information

Type
Research Article
Copyright
Copyright © The Author(s), 2021. Published by Cambridge University Press
Figure 0

Figure 1.The bean-shaped cross-section of the W7-X configuration with a 0.25 m uniformly offset surface sampled at 32 values of the poloidal using (a) the initial VMEC representation, (b) the single Fourier representation with an arctangent angle, (c) the single Fourier representation with an arclength angle on the plasma surface and (d) the single Fourier representation with an arclength angle on a surface uniformly offset from the plasma surface by 0.25 m.

Figure 1

Figure 2.Magnitudes of (a) $R_{m,n}^{c}$ and (b) $Z_{m,n}^{s}$ for the W7-X boundary on a grid of mode numbers $m$ and $n/N_p$, where $N_P$ is the number of field periods.

Figure 2

Figure 3.(a) Magnitudes of $l_{m,n}^{c}$ for the arctangent poloidal angle on a grid of mode numbers $m$ and $n/N_P$. The dominant $l_{m,n}^{c}$ lie on a long, tilted band. Magnitudes of (b) $l_{m,n}^{c}$ and (c) $\omega _{m,n}^{s}$ for the arclength poloidal angle on the plasma surface. The amplitudes are more localized to the smaller mode numbers than with the arctangent angle, but still lie on a long, tilted band. Magnitudes of (d) $l_{m,n}^{c}$ and (e) $\omega _{m,n}^{s}$ for the arclength poloidal angle on a surface uniformly offset from the plasma surface by 0.25 m. The amplitudes are even more localized to the smaller mode numbers.

Figure 3

Figure 4.Magnitudes of (a) $l_{m,n}^{c}$ for the arclength poloidal angle on a surface uniformly offset from the plasma surface by 0.25 m as in figure 3(d), but retaining only the 43 largest-amplitude modes (the number of non-zero modes in the VMEC representation). Magnitudes of (b) $R_{m,n}^{c}$ and (c) $Z_{m,n}^{s}$ obtained by starting with the truncated single Fourier spectrum in (a). A dispersion similar to that of figure 3(d) is observed for these spectra. (d) Magnitudes of the full set of $l_{m,n}^{c}$ (figure 3d) in blue and $R_{m,n}^{c}$ and $Z_{m,n}^{s}$ computed from the truncated single Fourier series (b,c) in red, sorted in descending order.

Figure 4

Figure 5.Modes with $m$ up to 2 and $n$ up to $\pm 2 N_p$ are displayed with lines on the red end of the spectrum corresponding to larger magnitudes of the derivative and lines on the blue end of the spectrum corresponding to smaller magnitudes. We present the fractional difference between analytic and numerical calculations of (a) $\partial \|B_n\|_2 / \partial l^{c}_{m,n}$, (b) $\partial \|K\|_2 / \partial l^{c}_{m,n}$ and (c) $\partial \|B_n\| / \partial l^{c}_{m,n}$ while holding $\|K\|_2$ fixed. For each of these, the offset distance is additionally fixed.

Figure 5

Figure 6.Plot in the $\vartheta$ and $\zeta$ plane of (a) the shape gradient of the plasma area calculated in the REGCOIL code using a solution of (3.4) for a square system with $m \le 35$ and $|n/N_P| \le 35$ and (b) the shape gradient of the plasma area calculated using the explicit form involving the mean curvature (6.3). In (c), the same quantity plotted in (a) is displayed on the W7-X plasma boundary, and in (d) the error defined in (6.4) is shown as a function of the maximum poloidal and toroidal mode number used to compute the shape gradient.

Figure 6

Figure 7.The shape gradient of (a) $\|B_n\|_2$, (b) $\|K\|_2$, (c) $\|B_n\|_2$ with fixed $\|K\|_2$ and (d) $\|B_n\|_2$ with fixed $\|K\|_2$ and fixed offset distance is computed for the QHS46 boundary with a uniform offset winding surface of 0.21 m. The shape gradient is computed using a linear solve of (3.4) for a square system with modes $m \le 30$ and $|n/N_P| \le 30$.

Figure 7

Figure 8.The shape gradient of (a) $\|B_n\|_2$, (b) $\|K\|_2$, (c) $\|B_n\|_2$ with fixed $\|K\|_2$ and (d) $\|B_n\|_2$ with fixed $\|K\|_2$ and fixed offset distance is computed for the W7-X boundary with a uniform offset winding surface of 0.37 m. The shape gradient is computed using a linear solve of (3.4) for a square system with modes $m \le 30$ and $|n/N_P| \le 30$.