[Paper Review] An adjoint-based method for optimizing MHD equilibria against the infinite-n, ideal ballooning mode
This paper presents a fast adjoint-based optimization method to stabilize tokamak and stellarator equilibria against the infinite-n ideal ballooning mode, a key pressure-driven MHD instability. By leveraging the self-adjoint property of ideal MHD, the method efficiently computes gradients of the ballooning mode growth rate with respect to equilibrium parameters, enabling rapid minimization of instability using the SIMSOPT framework, resulting in stable equilibria for three initially unstable configurations—two stellarators and one tokamak.
We demonstrate a fast adjoint-based method to optimize tokamak and stellarator equilibria against a pressure-driven instability known as the infinite-$n$ ideal ballooning mode. We present three finite-$β$ (the ratio of thermal to magnetic pressure) equilibria: one tokamak equilibrium and two stellarator equilibria that are unstable against the ballooning mode. Using the self-adjoint property of ideal MHD, we construct a technique to rapidly calculate the change in the growth rate, a measure of ideal ballooning instability. Using the~ exttt{SIMSOPT} framework, we then implement our fast adjoint gradient-based optimizer to minimize the growth rate and find stable equilibria for each of the three initially unstable equilibria.
Motivation & Objective
- Address the challenge of stabilizing high-beta fusion plasmas against the infinite-n ideal ballooning mode, a major instability limiting reactor performance.
- Overcome the computational bottleneck of traditional optimization methods that require repeated solution of the ballooning eigenvalue problem for each parameter perturbation.
- Develop a fast, gradient-based optimization framework applicable to both 2D-axisymmetric tokamaks and 3D stellarator equilibria.
- Demonstrate the method’s effectiveness by stabilizing three finite-β equilibria—one tokamak and two stellarators—originally unstable to the ballooning mode.
- Establish the ideal ballooning mode as a reliable proxy for the more complex Kinetic Ballooning Mode (KBM) in stellarators, enabling efficient stability screening.
Proposed method
- Utilize the self-adjoint property of the ideal MHD eigenvalue problem to derive an adjoint formulation that enables efficient computation of the gradient of the ballooning mode growth rate with respect to equilibrium parameters.
- Formulate the adjoint equation by multiplying the linearized ballooning eigenvalue equation by the complex conjugate of the eigenfunction and integrating over the flux surface, yielding a dual problem that computes sensitivity efficiently.
- Implement the adjoint gradient in the SIMSOPT framework, which natively supports free-boundary equilibrium optimization and provides access to geometric coefficients and their derivatives.
- Apply the adjoint method to compute the derivative of the maximum ballooning growth rate with respect to equilibrium parameters, using the expression: $ \frac{df_{\text{ball}}}{d\boldsymbol{p}} = \sum_{j=1}^{\text{ns}} \mathrm{ReLU}'(\widehat{\lambda}_{\text{max},j}) \frac{\int_{-\theta_b}^{\theta_b} d\theta \left( \frac{\partial \mathrm{c}}{\partial \boldsymbol{p}} |\widehat{X}|^2 - \frac{\partial g}{\partial \boldsymbol{p}} \left| \frac{d\widehat{X}}{d\theta} \right|^2 - \widehat{\lambda} \frac{\partial \mathrm{f}}{\partial \boldsymbol{p}} |\widehat{X}|^2 \right) }{ \int_{-\theta_b}^{\theta_b} d\theta \, \mathrm{f} |\widehat{X}|^2 } $.
- Integrate the adjoint gradient into a gradient-based optimizer to minimize the maximum growth rate, thereby driving unstable equilibria toward stability while preserving the desired flux surface geometry.

Experimental results
Research questions
- RQ1Can the adjoint method significantly reduce the computational cost of optimizing MHD equilibria against the infinite-n ideal ballooning mode compared to finite-difference approaches?
- RQ2To what extent can the ideal ballooning mode serve as a reliable proxy for the Kinetic Ballooning Mode (KBM) in 3D stellarator configurations?
- RQ3How efficiently can the adjoint-based gradient computation be integrated into existing equilibrium and optimization frameworks like SIMSOPT?
- RQ4What is the achievable speedup in convergence time when using adjoint gradients versus finite-difference gradients for equilibrium optimization?
- RQ5Can the method successfully stabilize both 2D-axisymmetric tokamak and 3D non-axisymmetric stellarator equilibria that are initially unstable to the ballooning mode?
Key findings
- The adjoint-based method reduces the computational cost of gradient evaluation by up to two orders of magnitude for 3D stellarator equilibria and one order for 2D tokamak equilibria, compared to finite-difference methods.
- The method successfully stabilized one 2D-axisymmetric tokamak equilibrium and two 3D stellarator equilibria that were initially unstable to the infinite-n ideal ballooning mode.
- The optimized equilibria exhibit a significant reduction in the maximum ballooning growth rate, confirming improved stability against pressure-driven instabilities.
- The self-adjoint formulation enables accurate and efficient computation of sensitivity of the ballooning eigenvalue to equilibrium parameters, even in complex 3D geometries.
- The use of the ideal ballooning mode as a proxy for the Kinetic Ballooning Mode (KBM) is validated, as the method stabilizes equilibria that are also expected to be KBM-stable.
- The implementation within the SIMSOPT framework demonstrates compatibility with free-boundary equilibrium optimization, enabling practical application to real reactor design problems.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.