Sensitivity Calculations for fun and profit

Similar documents
Multiscale, multiphysics modeling of turbulent transport and heating in collisionless, magnetized plasmas

Coupled radius-energy turbulent transport of alpha particles

Gyrokinetic simulations of magnetic fusion plasmas

Sensitivity to Model Parameters

Chapter 13. Eddy Diffusivity

b) The system of ODE s d x = v(x) in U. (2) dt

Gyrokinetic Large Eddy Simulations

Ensemble prediction and strategies for initialization: Tangent Linear and Adjoint Models, Singular Vectors, Lyapunov vectors

Rotation and Neoclassical Ripple Transport in ITER

Phase space, Tangent-Linear and Adjoint Models, Singular Vectors, Lyapunov Vectors and Normal Modes

Math 471 (Numerical methods) Chapter 3 (second half). System of equations

Gyrokinetic Transport Driven by Energetic Particle Modes

Intrinsic rotation due to non- Maxwellian equilibria in tokamak plasmas. Jungpyo (J.P.) Lee (Part 1) Michael Barnes (Part 2) Felix I.

Bred Vectors, Singular Vectors, and Lyapunov Vectors in Simple and Complex Models

Gyrokinetic Simulations of Tokamak Microturbulence

Review for Chapter 2 Test

Bounce-averaged gyrokinetic simulations of trapped electron turbulence in elongated tokamak plasmas

EMAFF: MAgnetic Equations with FreeFem++

Self-consistent particle tracking in a simulation of the entropy mode in a Z pinch

Turbulent Transport due to Kinetic Ballooning Modes in High-Beta Toroidal Plasmas

The effect of asymmetric large-scale dissipation on energy and potential enstrophy injection in two-layer quasi-geostrophic turbulence

Dr Ian R. Manchester

OPTIMAL CONTROL AND ESTIMATION

Energy and potential enstrophy flux constraints in quasi-geostrophic models

The linear equations can be classificed into the following cases, from easier to more difficult: 1. Linear: u y. u x

Electromagnetic Turbulence Simulations with Kinetic Electrons from the the Summit Framework

Validating Simulations of Multi-Scale Plasma Turbulence in ITER-Relevant, Alcator C-Mod Plasmas

Space Charge Mi-ga-on

MATHEMATICS COMPREHENSIVE EXAM: IN-CLASS COMPONENT

Stochastic Mechanics of Particles and Fields

MATH 54 - WORKSHEET 1 MONDAY 6/22

AMSC 663 Project Proposal: Upgrade to the GSP Gyrokinetic Code

Time-Dependent Invariant Manifolds Theory and Computation

UCIrvine. Gyrokinetic Studies of Turbulence Spreading IAEA-CN-116/TH1-4

Size Scaling and Nondiffusive Features of Electron Heat Transport in Multi-Scale Turbulence

Reducing the cost of shadowing-based adjoint sensitivity analysis for turbulent flows

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

Space Charge in Linear Machines

1 THC/P4-01. Shear flow suppression of turbulent transport and self-consistent profile evolution within a multi-scale gyrokinetic framework

Homework Set #1 Solutions

How big is the family of stationary null scrolls?

i.e. the conservation of mass, the conservation of linear momentum, the conservation of energy.

Relationship between Singular Vectors, Bred Vectors, 4D-Var and EnKF

An exact solution for 2+1 dimensional critical collapse

An Introduction to Functional Derivatives

Computer Intensive Methods in Mathematical Statistics

Advanced Compact Models for MOSFETs

The Fastest Convolution in the West

CS 468 (Spring 2013) Discrete Differential Geometry

Biasing the CE Amplifier

Sequential Monte Carlo Samplers for Applications in High Dimensions

By Nadha CHAOS THEORY

Full Waveform Inversion via Matched Source Extension

Variational assimilation Practical considerations. Amos S. Lawless

SMSTC (2007/08) Probability.

Malliavin Calculus in Finance

Closed-loop fluid flow control with a reduced-order model gain-scheduling approach

Dynamics of heavy quarks in charged N = 4 SYM plasma

Gyrokinetic simulations with GYSELA: Main current issues in physics & numerics

Tangent linear and adjoint models for variational data assimilation

Conservation Laws in Ideal MHD

FFTs in Graphics and Vision. The Laplace Operator

Critical gradient formula for toroidal electron temperature gradient modes

NIMROD Boundary Conditions

The pros and cons of swimming in a noisy environment

BEAM INSTABILITIES IN LINEAR MACHINES 1.

An Introduction to Sparse Approximation

AMS 212A Applied Mathematical Methods I Appendices of Lecture 06 Copyright by Hongyun Wang, UCSC. ( ) cos2

Functional renormalization for ultracold quantum gases

Gyrokinetic Turbulence Simulations at High Plasma Beta

Chaos and Liapunov exponents

7 EQUATIONS OF MOTION FOR AN INVISCID FLUID

Econ 504, Lecture 1: Transversality and Stochastic Lagrange Multipliers

ON ESTIMATION OF TEMPERATURE UNCERTAINTY USING THE SECOND ORDER ADJOINT PROBLEM

Basic Aspects of Discretization

Gyrokinetic Turbulence in Tokamaks and Stellarators

A Vivace Introduction to Solar Oscillations and Helioseismology

THE PATH TOWARDS A LONGER LIFE: ON INVARIANT SETS AND THE ESCAPE TIME LANDSCAPE

Evolution of Analysis Error and Adjoint-Based Sensitivities: Implications for Adaptive Observations

Geometric Series and the Ratio and Root Test

Applications of adjoint based shape optimization to the design of low drag airplane wings, including wings to support natural laminar flow

EE451/551: Digital Control. Chapter 8: Properties of State Space Models

Parameter Norm Penalties. Sargur N. Srihari

Chapter 6. Finite Element Method. Literature: (tiny selection from an enormous number of publications)

ENGI Partial Differentiation Page y f x

Data-driven signal processing

Dirichlet s Theorem. Martin Orr. August 21, The aim of this article is to prove Dirichlet s theorem on primes in arithmetic progressions:

Comparison of Critical Values of R/L Te. for ETG Modes Based on an Analytic Expression. with GKS Simulations for DIII-D Discharges

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Global gyrokinetic particle simulations with kinetic electrons

Williamsville C.U.S.D. #15 Mathematics Curriculum

MATH 312 Section 2.4: Exact Differential Equations

Footprints: outline Üllar Rannik University of Helsinki

Ion vs. Electron Heating by Plasma Turbulence

Relationship between Singular Vectors, Bred Vectors, 4D-Var and EnKF

Investigating advection control in parabolic PDE systems for competitive populations

Week 8. Topics: Next deadline: Viscous fluid flow (Study guide 14. Sections 12.4 and 12.5.) Bolus flow (Study guide 15. Section 12.6.

Lectures in Discrete Differential Geometry 2 Surfaces

Microturbulence in optimised stellarators

Greg Hammett Imperial College, London & Princeton Plasma Physics Lab With major contributions from:

Transcription:

Sensitivity Calculations for fun and profit I. G. Abel 1 2 G. W. Hammett 2 1 Princeton Center for Theoretical Science 2 Princeton Plasma Physics Laboratory Vienna Shindig 2016

Outline Sensitivity Calculations 1 Sensitivity Calculations 2 3 4

Outline Sensitivity Calculations 1 Sensitivity Calculations 2 3 4

Outline Sensitivity Calculations 1 Sensitivity Calculations 2 3 4

Outline Sensitivity Calculations 1 Sensitivity Calculations 2 3 4

Sensitivity Calculations... What the?? What are they? Derivatives of functionals of our system, with respect to input parameters. Paradigmatically, Qi (R/ LTi ) (1) Uses Stiffness Implicit Transport Algorithms (TRINITY) Dynamical Reduction Uncertainty Quantification Gradient-Driven optimization

Adjoint Methods for Sensitivity Calculations If your forward system is F (g; m) = 0 Your functional is Q[g, m], then Q m = Q g g m + Q Q m = g, g + Q m m g m satisfies Use inner product structure λ, F g = λ, F g m m F g g m = F m implies F g λ, g = λ, F m m (2) (3) (4) Hence, if F λ = Q g g Then Q m = λ, F + Q m m (5)

Adjoint Methods for Sensitivity Calculations II Direct Methods OR Just make a two-point approximation. Differentiate with respect to paramter, solve tangent equtions. Scales linearly with number of paramters to vary. Adjoint Methods Solve adjoint state equation (backwards in time, around reference value) Take inner product of adjoint solution to get needed derivatives. Scales linearly with number of functionals to differentiate.

The Gyrokinetic System Use g s = h s Zse T s δϕ R F s to isolate the time derivative, Then the Gyrokinetic system is given by With g s t = (Lg) s + (C GK g) s c B b δϕ R R s (Lg) s = ( ) v b + V Ds R s δϕ = c B [ s F 0s ψ b δϕ[g] R ψ. R s ( g s + Zse T s δϕ[g] R F 0s gs R s. (6) ] 1 Zs 2e2 n s (1 Γ 0s ) Z se d 3 w g s T r, (8) s s ) (7)

Free Energy as an Inner Product This conserves W [g] = s d 3 w Tsg2 s + 1 δϕ[g] Φδϕ[g] 2F 0s 2 ψ, (9) ψ We use this as a norm, and can show that it has a consistent inner product given by g (1), g (2) = s d 3 w Tsg(1) s g (2) s + 1 [ 2F s 2 δϕ g (1)] [ Φδϕ g (2)], (10) ψ This is consistent in that W = g 2 = g, g. This is a good norm for subcritical studies, but we also need a time average. Thus we use g (1), g (2) = d 3 w Tsg(1) s g (2) s + 1 [ T 2F s s 2 δϕ g (1)] [ Φδϕ g (2)], (11) turb ψ

The Adjoint Gyrokinetic Operator We then calculate the adjoint gyrokinetic operator in this norm: (L g) s = ( ( ) v b + V Ds g s + Zse ) δϕ[g] R s T R F 0s s Zse F 0s b ζ[g] R ψ. T s R s (12) The adjoint source field ζ is given by ( Zs 2 e 2 n s ζ[g] = T s s + s ) 1 c B { s [ ( d 3 εs wt s 3 T s 2 ( ) d ln d 3 Ns wt sg s + Z sen sγ 0s δϕ[g] dψ ) g s + Z sen sγ 1s δϕ[g] ] } (13) d ln Ts dψ

The Adjoint Gyrokinetic State Equation Now we know L we can define the adjoint state equation to be ( t + L C GK + N[g 0 ] c ) B b δϕ[g 0] R g = S Q (14) R s The source depends on the quantitiy of interest, and is given by the functional derivative ( ) S Q = Q i g = c δϕ[g 0 ] R m i v 2 3 B y 2 2 T i F i δ(s = i) + c B Z se s Z s 2 e 2 /T s d 3 v y ( m i v 2 2 3 2 T i ) g 0i r This is formally solved backwards in time with final conditions g (T ) = 0. (see later) This equation is derived around a fixed background state g 0, and gives the derivative at that point. R (15)

Expressions for Q/ ( ) Now we can compute Q i R/L Ti = g, cb δ(s = i) ( m i v 2 2 3T i 2 ) δϕ[g 0 ] F i y Or any other derivative, with appropriate RHS, e.g. in shifted circles, Q i q = + 1 ( g, v g 0s + Zseδϕ[g ) 0] F s q T s (16) (17)

As above, we can do this all over again for perturbations around a transport solution

Obvious Distraction Sensitivity Calculations

What I didn t Tell You Sensitivity Calculations Problems Adjoints grow without bound This is due to the butterfly effect, and interchange of averaging limits in our derivation. This is why adjoints aren t used in fluid turbulence Solutions Ensemble Adjoint Method run backwards from noise for intermediate times Shadowing trajectories pick a g (T ) to prevent trajectory flying away Variations on the theme perhaps a mixture of both May Be Expensive

Summary & Future Developments Adjoint Methods may save the day But they may be expensive Test This! Profit