Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-09T11:31:07.922Z Has data issue: false hasContentIssue false

Direct computation of magnetic surfaces in Boozer coordinates and coil optimization for quasisymmetry

Published online by Cambridge University Press:  13 July 2022

Andrew Giuliani*
Affiliation:
Courant Institute of Mathematical Sciences, New York University, New York, NY 10012, USA
Florian Wechsung
Affiliation:
Courant Institute of Mathematical Sciences, New York University, New York, NY 10012, USA
Georg Stadler
Affiliation:
Courant Institute of Mathematical Sciences, New York University, New York, NY 10012, USA
Antoine Cerfon
Affiliation:
Courant Institute of Mathematical Sciences, New York University, New York, NY 10012, USA
Matt Landreman
Affiliation:
Institute for Research in Electronics & Applied Physics, University of Maryland, College Park, MD 20742, USA
*
†Email address for correspondence: giuliani@cims.nyu.edu
Rights & Permissions [Opens in a new window]

Abstract

We propose a new method to compute magnetic surfaces that are parametrized in Boozer coordinates for vacuum magnetic fields. We also propose a measure for quasisymmetry on the computed surfaces and use it to design coils that generate a magnetic field that is quasisymmetric on those surfaces. The rotational transform of the field and complexity measures for the coils are also controlled in the design problem. Using an adjoint approach, we are able to obtain analytic derivatives for this optimization problem, yielding an efficient gradient-based algorithm. Starting from an initial coil set that presents nested magnetic surfaces for a large fraction of the volume, our method converges rapidly to coil systems generating fields with excellent quasisymmetry and low particle losses. In particular for low complexity coils, we are able to significantly improve the performance compared with coils obtained from the standard two-stage approach, e.g. reduce losses of fusion-produced alpha particles born at half-radius from $17.7\,\%$ to $6.6\,\%$. We also demonstrate 16-coil configurations with alpha loss ${<}1\,\%$ and neoclassical transport magnitude $\epsilon _{\text {eff}}^{3/2}$ less than approximately $5\times 10^{-9}$.

Information

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

Figure 1. (a) Collocation points on a surface with $n_{\textrm {tor}} = m_{\textrm {pol}} = 3$, grouped by colour. When stellarator symmetry is assumed, we choose one green, blue, purple and red grouping of collocation points. Choosing points from two groups of the same colour results in redundant equations. The $y$ and $z$ components of the residual at the origin are always included as the $x$ component is zero due to stellarator symmetry. (b) Lines of constant Boozer angles $\varphi, \theta$ on a magnetic surface of the field generated by a subset of the NCSX coils (§ 6 of Giuliani et al. (2022)). Arrows indicate increasing $\varphi$ and $\theta$, which, respectively, follow the long and short way around the torus. Note that the toroidal Boozer angle is not equal to the cylindrical toroidal angle.

Figure 1

Figure 2. Poincaré plots (in grey) and surface cross-sections for the field generated from a set of NCSX modular coils at $\phi = {\rm \pi}/3$. In (a), we show cross-sections of surfaces computed with the BoozerExact approach (in red and black). The red cross-section is self-intersecting as it is close to an island chain. In (b) we show cross-section obtained with the BoozerLS algorithm (in black, green and cyan), which results in nested surfaces that do not self-intersect in the presence of islands. The red and cyan cross-sections in (a,b) have the same target surface label, but are computed using BoozerExact and BoozerLS formulations, respectively. Green cross-sections correspond to additional surfaces not shown in (a). In (c), we show two BoozerExact surfaces that have the same enclosed surface volume.

Figure 2

Figure 3. BoozerLS residual in the NCSX-lite configuration with increasing number of Fourier modes used to represent the surface. Panel (a) shows the BoozerLS residuals as a function of the surface label. We observe that it stagnates in the neighbourhoodof $\iota =3/7$, which corresponds to an island chain. Panel (b) shows the rotational transform with respect to surface label for different resolutions. The vertical dashed line approximately indicates the volume for which $\iota =3/7$ is achieved.

Figure 3

Figure 4. Norm of gradient in each iteration where five surfaces are used. Gradients at the initial configuration were $O(10^{-4})$, but we truncate the $y$-axis in order to better observe convergence to optimality. Every 3000 iterations (indicated by dotted vertical lines), the penalty weights are increased until the (in)equality constraints in (4.3) are satisfied to sufficient precision. Since a suitable set of initial weights were chosen, this does not occur frequently.

Figure 4

Figure 5. Two measures of the field's departure from quasisymmetry: the ratio $\|B_{\textrm {non-QA}}\|/\sqrt {\textrm {area}}$ (a), and the maximum symmetry-breaking Fourier mode (b). In both plots, the magnetic field is normalized to be 1 T on the magnetic axis. The curves corresponding to the QA-III coils in panel (a) have two line styles, dotted ($\cdot \cdot \cdot \cdot \cdot$) and solid (—–), which correspond to configurations resulting from optimization on five and nine surfaces, respectively. The maximum symmetry-breaking Fourier mode is calculated by computing a two-dimensional fast Fourier transform of the field strength, and finding the maximum $|B_{m,n}|$ for $n\neq 0$, corresponding to the Fourier modes introducing variation in $\varphi$. The thick and thin vertical black lines correspond, respectively, to the five surfaces used in the initial optimization and the four surfaces added in the nine surface optimization run. The shaded grey region of the plot corresponds to field strengths below $50\,\mathrm {\mu }$T, corresponding to the Earth's background magnetic field.

Figure 5

Figure 6. From (a–d), inboard view of the 18, 20, 22, 24 m coils before and after optimization. Grey and gold correspond, respectively,to the stage II coils and stage III coils (nine surface optimization). The colour on the surface corresponds to the magnetic field strength.

Figure 6

Table 1. Comparison of geometric coil properties obtained from stage II and stage III optimization for different modular coil lengths. Stage III results are optimized using nine surfaces. Coil-to-surface distance is computed with respect to the surface used for coil design in the stage II rows, and the outermost surface on which quasisymmetry is optimized for the stage III rows.

Figure 7

Figure 7. Losses of alpha particles spawned on the surface with normalized toroidal flux $0.25$. We observe significant improvements in confinement for the shorter coils. For $L_{\max }=18\,\textrm {m}$, losses are reduced from 17.7 % to 6.6 %, for $L_{\max }=20\,\textrm {m}$, losses are reduced from 1.7 % to 0.7 %. The stage II and III coils with lengths $L_{\max }=22, 24\,\textrm {m}$ present comparable particle losses, despite significantly better quasisymmetry for the stage III coil sets. The previous configurations, shown in grey, are detailed in Landreman & Paul (2022).

Figure 8

Figure 8. (a) The QA-III[24] stellarator and the outermost surface on which quasisymmetry is optimized. (b) The thermal collisional transport magnitude $\epsilon _{\textrm {eff}}^{3/2}$ is significantly reduced; the QA-III[20], QA-III[22] and QA-III[24] configurations even improve on the QA-I configuration. The previous configurations, shown in grey, are detailed in Landreman & Paul (2022).

Figure 9

Figure 9. Shown in (a) and (b) with solid lines (—–) are cross-sections of the nine surfaces used in the QA-III[18] coil set optimization at $\phi = 0, {\rm \pi}/4, {\rm \pi}/2$ in black, red and blue. Grey lines on the left correspond to Poincaré plots. Shown in (b)are cross-sections of surfaces in the QA-II[18] field using dashed lines (- - -). The longer coil sets result in comparable cross-sections, but the difference between stage II and III cross-sections become smaller.

Figure 10

Figure 10. A simplified dependency graph of the various quantities used to define the optimization problem. In this model problem, there is one surface (‘BoozerSurface’ node) on which we are trying to optimize for quasisymmetry (‘NonQuasiAxisymmetricRatio’ node), target a specific rotational transform (‘Iotas’ node), major radius (‘MajorRadius’ node) and toroidal flux (‘ToroidalFlux’ node). These penalty terms depend on on the magnetic field computed via the Biot–Savart law (‘BiotSavart’ node) and on the geometry of the Boozer surface (‘BoozerSurface’ node). The Biot–Savart node then depends directly on the four stellarator coil geometries and associated currents.