A graph-based methodology for constructing computational models that automates adjoint-based sensitivity analysis

被引:7
|
作者
Gandarillas, Victor [1 ]
Joshy, Anugrah Jo [1 ]
Sperry, Mark Z. [1 ]
Ivanov, Alexander K. [1 ]
Hwang, John T. [1 ]
机构
[1] Univ Calif San Diego, Dept Mech & Aerosp Engn, 9500 Gilman Dr, La Jolla, CA 92093 USA
基金
美国国家航空航天局;
关键词
Optimization; Multidisciplinary; Compilers; Automatic differentiation; Sensitivity analysis; Programming languages; LANGUAGE; DERIVATIVES;
D O I
10.1007/s00158-024-03792-0
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The adjoint method provides an efficient way to compute sensitivities for system models with a large number of inputs. However, implementing the adjoint method requires significant effort that limits its use. The effort is exacerbated in large-scale multidisciplinary design optimization. We propose the adoption of a three-stage compiler as the method for constructing computational models for large-scale multidisciplinary design optimization to enable accurate and efficient adjoint sensitivity analysis. We develop a new modeling language called the Computational System Design Language that provides an appropriate input to the compiler front end that works well with multidisciplinary models. This paper describes the three-stage compiler methodology and the Computational System Design Language. The proposed solution uses a graph representation of the numerical model to automatically generate a computational model that computes adjoint-based sensitivities for use within an optimization framework. For two engineering models, this approach reduces the amount of user code by a factor of approximately two compared to their original implementations, without a measurable increase in computation time. This paper also includes a best-case complexity analysis that is built into the compiler implementation to allow users to estimate the memory required to evaluate a computational model and its derivatives, which is independent of the compiler back end that ultimately generates the computational model. Future compiler implementations are expected to approach the theoretical best-case memory cost and improve run time performance for both model evaluation and derivative computation.
引用
收藏
页数:24
相关论文
共 50 条
  • [21] A MATLAB Toolbox for Adjoint-Based Sensitivity Analysis of Switched Reluctance Motors
    Sayed, Ehab
    Bakr, Mohamed H.
    Bilgin, Berker
    Emadi, Ali
    2018 IEEE ELECTRICAL POWER AND ENERGY CONFERENCE (EPEC), 2018,
  • [22] Adjoint-Based Sensitivity and Optimization of Turbulent Reacting Flows
    Kord, Ali
    ProQuest Dissertations and Theses Global, 2022,
  • [23] Calibrating models for MPC of energy systems in buildings using an adjoint-based sensitivity method
    Artiges, Nils
    Nassiopoulos, Alexandre
    Vial, Franck
    Delinchant, Benoit
    ENERGY AND BUILDINGS, 2020, 208
  • [24] Adjoint-based sensitivity analysis of periodic orbits by the Fourier-Galerkin method
    Sierra, J.
    Jolivet, P.
    Giannetti, F.
    Citro, V.
    JOURNAL OF COMPUTATIONAL PHYSICS, 2021, 440 (440)
  • [25] Adjoint-Based Sensitivity and Uncertainty Analysis for Density and Composition: A User's Guide
    Favorite, Jeffrey A.
    Perko, Zoltan
    Kiedrowski, Brian C.
    Perfetti, Christopher M.
    NUCLEAR SCIENCE AND ENGINEERING, 2017, 185 (03) : 384 - 405
  • [26] An Adjoint-Based Hybrid Computational Method for Crosswell Seismic Inversion
    Cao, Danping
    Liao, Wenyuan
    COMPUTING IN SCIENCE & ENGINEERING, 2014, 16 (06) : 60 - 67
  • [27] Optimizing spectral wave estimates with adjoint-based sensitivity maps
    Orzech, Mark
    Veeramony, Jay
    Flampouris, Stylianos
    OCEAN DYNAMICS, 2014, 64 (04) : 487 - 505
  • [28] Sliding plane formalism for aeroacoustic and adjoint-based sensitivity calculations
    Glazkov, Anton
    de Pando, Miguel Fosas
    Schmid, Peter J.
    He, Li
    COMPUTER PHYSICS COMMUNICATIONS, 2025, 307
  • [29] Adjoint-based limit cycle oscillation instability sensitivity and suppression
    He, Sicheng
    Jonsson, Eirikur
    Martins, Joaquim R. R. A.
    NONLINEAR DYNAMICS, 2023, 111 (04) : 3191 - 3205
  • [30] Adjoint-based shape sensitivity of multi-row turbomachinery
    Simão S. Rodrigues
    André C. Marta
    Structural and Multidisciplinary Optimization, 2020, 61 : 837 - 853