Algorithmic Differentiation for adjoint sensitivity calculation in plasma edge codes

被引:3
作者
Carli, Stefano [1 ]
Hascoet, Laurent [2 ]
Dekeyser, Wouter [1 ]
Blommaert, Maarten [3 ]
机构
[1] Katholieke Univ Leuven, Dept Mech Engn, Celestijnenlaan 300, B-3001 Heverlee, Belgium
[2] INRIA Sophia Antipolis, Route Lucioles 2004, F-06902 Valbonne, France
[3] Katholieke Univ Leuven, Dept Mech Engn, Kleinhoefstr 4, B-2440 Geel, Belgium
关键词
Adjoint; Sensitivity; Algorithmic Differentiation; Plasma edge; SOLPS-ITER; Nuclear fusion; SOLPS-ITER; IMPLEMENTATION; DESIGN; TRANSPORT; IMPLICIT; FLOW;
D O I
10.1016/j.jcp.2023.112403
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In the framework of fusion energy research, divertor design and model calibration based on plasma edge codes currently rely either on manual iterative tuning of parameters, or alternatively on parameter scans. This, combined with the complex and computationally expensive nature of plasma edge codes, makes these procedures extremely cumbersome. Gradient-based optimization methods can significantly reduce this effort, but require an efficient strategy for sensitivity calculation. Algorithmic Differentiation (AD) offers an efficient and accurate solution, allowing semi-automatic sensitivity computation in complex, continuously developed codes. The adjoint AD mode is especially attractive, as its cost is independent of the number of input parameters. In this paper, adjoint AD sensitivity calculation is deployed for the first time in plasma edge codes, applying the TAPENADE AD tool to SOLPS-ITER. Adjoint AD results are verified to be machine precision accurate compared to tangent AD mode, and up to 10-9 compared to finite differences. Scalings of AD computational efforts prove the advantages of adjoint compared to tangent AD, while memory requirements rapidly increase for adjoint, showing the need for an improved checkpointing strategy. With the new tool, a wealth of information becomes accessible to the modeler. An adjoint sensitivity analysis for a COMPASS density scan identifies the input parameters with largest impact on the solution, and 2D sensitivity maps show their spatial dependence. (c) 2023 Elsevier Inc. All rights reserved.
引用
收藏
页数:17
相关论文
共 61 条
[1]   Outer divertor of ASDEX Upgrade in low-density L-mode discharges in forward and reversed magnetic field: I. Comparison between measured plasma conditions and SOLPS5.0 code calculations [J].
Aho-Mantila, L. ;
Wischmeier, M. ;
Mueller, H. W. ;
Potzel, S. ;
Coster, D. P. ;
Bonnin, X. ;
Conway, G. D. .
NUCLEAR FUSION, 2012, 52 (10)
[2]   Multimodel design strategies applied to sonic boom reduction [J].
Alauzet, Frederic ;
Borel-Sandou, Sophie ;
Daumas, Laurent ;
Dervieux, Alain ;
Dinh, Quang ;
Kleinveld, Steven ;
Loseille, Adrien ;
Mesri, Youssef ;
Roge, Gilbert .
EUROPEAN JOURNAL OF COMPUTATIONAL MECHANICS, 2008, 17 (1-2) :245-269
[3]  
autodiff.org, 2022, community portal for automatic differentiation
[4]   Efficient parameter estimation in 2D transport models based on an adjoint formalism [J].
Baelmans, M. ;
Blommaert, M. ;
De Schutter, J. ;
Dekeyser, W. ;
Reiter, D. .
PLASMA PHYSICS AND CONTROLLED FUSION, 2014, 56 (11)
[5]   THE COMPLEXITY OF PARTIAL DERIVATIVES [J].
BAUR, W ;
STRASSEN, V .
THEORETICAL COMPUTER SCIENCE, 1983, 22 (03) :317-330
[6]  
Beda LM., 1959, PROGRAMS AUTOMATIC D
[7]  
Bischof C., 1992, SCI PROGRAMMING-NETH, V1, P11, DOI 10.1155/1992/717832
[8]   A novel approach to magnetic divertor configuration design [J].
Blommaert, M. ;
Baelmans, M. ;
Dekeyser, W. ;
Gauger, N. R. ;
Reiter, D. .
JOURNAL OF NUCLEAR MATERIALS, 2015, 463 :1220-1224
[9]  
Bonnin X., 2022, SOLPS ITER USER MANU
[10]   Presentation of the New SOLPS-ITER Code Package for Tokamak Plasma Edge Modelling [J].
Bonnin, Xavier ;
Dekeyser, Wouter ;
Pitts, Richard ;
Coster, David ;
Voskoboynikov, Serguey ;
Wiesen, Sven .
PLASMA AND FUSION RESEARCH, 2016, 11 :1-6