Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-06T12:26:33.101Z Has data issue: false hasContentIssue false

Direct stellarator coil design using global optimization: application to a comprehensive exploration of quasi-axisymmetric devices

Published online by Cambridge University Press:  16 May 2024

Andrew Giuliani*
Affiliation:
Flatiron Institute, 162 Fifth Avenue, New York, NY 10010, USA
*
†Email address for correspondence: agiuliani@flatironinstitute.org

Abstract

Many stellarator coil design problems are plagued by multiple minima, where the locally optimal coil sets can sometimes vary substantially in performance. As a result, solving a coil design problem a single time with a local optimization algorithm is usually insufficient and better optima likely do exist. To address this problem, we propose a global optimization algorithm for the design of stellarator coils and outline how to apply box constraints to the physical positions of the coils. The algorithm has a global exploration phase that searches for interesting regions of design space and is followed by three local optimization algorithms that search in these interesting regions (a ‘global-to-local’ approach). The first local algorithm (phase I), following the globalization phase, is based on near-axis expansions and finds stellarator coils that optimize for quasisymmetry in the neighbourhood of a magnetic axis. The second local algorithm (phase II) takes these coil sets and optimizes them for nested flux surfaces and quasisymmetry on a toroidal volume. The final local algorithm (phase III) polishes these configurations for an accurate approximation of quasisymmetry. Using our global algorithm, we study the trade-off between coil length, aspect ratio, rotational transform and quality of quasi-axisymmetry. The database of stellarators, which comprises approximately 200 000 coil sets, is available online and is called QUASR, for ‘quasi-symmetric stellarator repository’.

Information

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

Figure 1. Current workflow wraps phase I (the near-axis expansion algorithm, Giuliani et al.2022a) in globalization subroutines (Eriksson et al.2019) to generate interesting initial guesses for the subsequent volume QA optimizations in phase II (Giuliani et al.2022b) and III (Giuliani et al.2023).

Figure 1

Figure 2. (a) We plot the on-axis quasisymmetry error with respect to the total coil length used, where we observe that there are multiple minima. (b) We plot four distinct local minima when the total coil length is $49.81\,{\rm m}$, where the colours of the coils correspond to those of the squares on the left. The coil sets’ associated magnetic axes are not plotted to avoid clutter in the image.

Figure 2

Figure 3. The randomly generated coil in cylindrical coordinates in (a) is too complex. By $Re$-indexing the nodes by ordering them about their barycentre in the $RZ$ plane, the coil untangles in (b). (c) A set of coils, the magnetic axis and their associated bounded boxes in physical space are illustrated. The full stellarator is not shown, but can be obtained by applying symmetries.

Figure 3

Figure 4. The value of the objective function when applying TuRBO then BFGS. For the TuRBO phase, the objective values are evaluations of (2.10), which includes the non-differentiable penalties and the ‘iteration #’ is actually number of function evaluations. For the BFGS phase, the objective values are evaluations of (2.2), and ‘iteration #’ refers to the objective function values after an accepted line search. The red line is the best function evaluation so far. (b) We plot the best stellarator found by TuRBO, given by Design 4.A, provided as the initial guess to BFGS in phase I. Then, the stellarator found by BFGS after increasing the number Fourier modes is given by Design 4.B.

Figure 4

Figure 5. (a) We provide the trade-off between axis quasisymmetry error and total coil length used for local minima found using the naive approach and TuRBO with $\iota =0.9$, and $n_{\textrm {fp}}, n_{\textrm {coils per hp}}=2$. (b) We have plotted two coil sets, called Designs 5.A and 5.B, corresponding respectively to the red, and green square markers. Using Design 5.B as an initial guess, we solve (2.1) for different target coil lengths, resulting in the devices corresponding to the blue crosses. The axis QA error refers to the terms in (2.2).

Figure 5

Figure 6. The near-axis QA error with respect to total coil length used when $\iota =0.5$, each point on the scatter plot corresponds to a different device and each panel corresponds to a different number of field periods, and the colour refers to the number of coils per half-period used. Below, we plot two configurations (Designs 6.A and 6.B) that use the same total coil length but different numbers of coils, 1 and 2 coils per half-period, respectively. The axis QA error refers to the terms in (2.2).

Figure 6

Figure 7. Poincaré plots at $\phi =0$ after phases I and II for aspect ratios $AR=20, 10$. The point where the magnetic axis intersects the $\phi =0$ plane corresponds to the red dot in (a). Cross-sections of the surfaces on which QA is optimized are red in (b,c).

Figure 7

Algorithm 1 Phase II: BoozerLS

Figure 8

Algorithm 2 Phase III: BoozerExact

Figure 9

Figure 8. Taking the stellarators from figure 5, and using them as initial guesses for the volume QA optimization phase (§ 4), we obtain the stellarators plotted above. So that the data sets can be more easily distinguished, we use smaller marker sizes for devices corresponding to the naive algorithm.

Figure 10

Figure 9. Comparison of devices from QUASR with aspect ratio $6.66$ and $5$, target mean rotational transform $\iota =0.4$ and the precise QA coil sets of Giuliani et al. (2022b) with aspect ratio $6$ and mean rotational transform $0.42$. All devices have $n_{\textrm {fp}}=2$ and $n_{\textrm {coils per hp}}=4$ here. The grey region corresponds to the Earth's background magnetic field of $50\,\mathrm {\mu }\textrm {T}$, and volume QA error refers to the mean non-QA ratio in (4.1).

Figure 11

Figure 10. Poincaré plots and rotational transform profiles of a device with aspect ratio 4, mean rotational transform 0.5 and $n_{\textrm {fp}}=2$. We visually could not identify trajectories associated with islands. The horizontal blue lines on the rotational transform profiles indicate the low-order rational $\iota =1/2$. The vertical red lines on the rotational transform profiles indicate the normalized toroidal flux label on which quasisymmetry was optimized.

Figure 12

Figure 11. Devices on which quasisymmetry is optimized on a surface of aspect ratio 20, with a target rotational transform $\iota =0.5$. The grey region corresponds to the Earth's background magnetic field of $50\,\mathrm {\mu }\textrm {T}$, and volume QA error refers to the mean non-QA ratio in (4.1).

Figure 13

Figure 12. Trade-off between quality of quasisymmetry and total coil length for various device aspect ratios, and target mean rotational transform when $n_{\textrm {fp}}=2$. The grey region corresponds to the Earth's background magnetic field of $50\,\mathrm {\mu }\textrm {T}$, and volume QA error refers to the mean non-QA ratio in (4.1).

Figure 14

Figure 13. The volume quasisymmetry error with respect to the maximum elongation on a very high aspect ratio surface in the neighbourhood of the magnetic axis, for various values of $n_{\textrm {fp}}$. For all configurations plotted, $\iota _{\textrm {target}}=0.6$, where the aspect ratio of the outermost surface is 10. The grey region corresponds to the Earth's background magnetic field of $50\,\mathrm {\mu }\textrm {T}$, and volume QA error refers to the mean non-QA ratio in (4.1).