Reconstruction of the equilibrium of the plasma in a Tokamak and - - PowerPoint PPT Presentation

reconstruction of the equilibrium of the plasma in a
SMART_READER_LITE
LIVE PREVIEW

Reconstruction of the equilibrium of the plasma in a Tokamak and - - PowerPoint PPT Presentation

Reconstruction of the equilibrium of the plasma in a Tokamak and identification of the current density profile in real time. EQUINOX Blaise Faugeras Jacques Blum et C edric Boulbe GT Plasma, F evrier 2012 BF () EQUINOX GT Plasma, F


slide-1
SLIDE 1

Reconstruction of the equilibrium of the plasma in a Tokamak and identification of the current density profile in real time. EQUINOX

Blaise Faugeras Jacques Blum et C´ edric Boulbe GT Plasma, F´ evrier 2012

BF () EQUINOX GT Plasma, F´ evrier 2012 1 / 38

slide-2
SLIDE 2

Outline

1

Introduction

2

Mathematical modelling of axisymmetric equilibrium

3

Input measurements

4

Inverse problem

5

Verification and Validation

BF () EQUINOX GT Plasma, F´ evrier 2012 2 / 38

slide-3
SLIDE 3

JET : vacuum vessel and plasma

BF () EQUINOX GT Plasma, F´ evrier 2012 3 / 38

slide-4
SLIDE 4

Tokamak

BF () EQUINOX GT Plasma, F´ evrier 2012 4 / 38

slide-5
SLIDE 5

Introduction

Equilibrium of a plasma : a free boundary problem Equilibrium equation inside the plasma, in axisymmetric configuration : Grad-Shafranov equation Right-hand side of this equation is a non-linear source : the toroidal component of the plasma current density

Goal

Identification of this non-linearity from experimental measurements. Perform the reconstruction of 2D equilibrium and the identification of the current density in real-time.

BF () EQUINOX GT Plasma, F´ evrier 2012 5 / 38

slide-6
SLIDE 6

Mathematical modelling of the equilibrium

Momentum equation : ρ(∂u ∂t + u.∇u) + ∇p = j × B At the slow resistive diffusion time scale ρ(∂u ∂t + u.∇u) ≪ ∇p

Equilibrium equations

   ∇p = j × B (Conservation of momentum) ∇.B = 0 (Conservation of B) ∇ × B = µj (Ampere’s law) + axisymmetric assumption => Grad-Shafranov equation

BF () EQUINOX GT Plasma, F´ evrier 2012 6 / 38

slide-7
SLIDE 7

Model

2D problem. Cylindrical coordinates (r, φ, z) State variable ψ(r, z) poloidal magnetic flux Bp = 1 r ∇ψ⊥

In the plasma : Grad-Shafranov equation

−∆∗ψ := ∂ ∂r ( 1 µ0r ∂ψ ∂r ) + ∂ ∂z ( 1 µ0r ∂ψ ∂z ) = rp′(ψ) + 1 µ0r (ff ′)(ψ)

In the vacuum

−∆∗ψ = 0    −∆∗ψ = [rp′(ψ) + 1 µ0r ff ′(ψ)]1Ωp(ψ) in Ω ψ = g

  • n

Γ

BF () EQUINOX GT Plasma, F´ evrier 2012 7 / 38

slide-8
SLIDE 8

Definition of the free plasma boundary

Two cases

  • utermost flux line inside the limiter (left)

magnetic separatrix : hyperbolic line with an X-point (right)

BF () EQUINOX GT Plasma, F´ evrier 2012 8 / 38

slide-9
SLIDE 9

z r ΩCi Ω0

B probe

Ωp

ΓL

⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗

Γ flux loop

bC

−∆∗ψ = 0 −∆∗ψ = j(r, ψ) −∆∗ψ = ji

BF () EQUINOX GT Plasma, F´ evrier 2012 9 / 38

slide-10
SLIDE 10

From discrete magnetic measurements to Cauchy conditions on a fixed contour

Magnetic measurements

Flux loops : ψ(Mi) B probes : Bp(Ni).di

Cauchy conditions (ψ, ∂nψ) on Γ = ∂Ω

Dirichlet BC : direct problem Neumann BC : inverse problem

Numerical methods

Direct Interpolation (TCV, ToreSupra) Reconstruction of ψ in the vacuum - plasma boundary identification

◮ JET - Xloc : ∆∗ψ = 0, ψ piecewise polynomial ◮ ToreSupra Apolo : ψ(ρ, θ), spline interp. in θ on ref. contour, Taylor

expansion in ρ

◮ Toroidal harmonics + PFcoils current filaments model BF () EQUINOX GT Plasma, F´ evrier 2012 10 / 38

slide-11
SLIDE 11

Explicit solutions to ∆∗ψ = 0

Laplacian in cylindrical coordinates

If ∆∗ψ(r, z) = 0 in D then Ψ(r, z, φ) = 1 r ψ(r, z) cos φ, ∆Ψ = 0 in D′

Bipolar (Toroidal) coordinates

× ×

a a B A M r z η O τ = log(MA MB ) η =

  • AMB

× ×

a a B A r z O r2 + (z − a cot η)2 = a2 sin2 η (r − a coth τ)2 + z2 = a2 sinh2 τ

Quasi-separable solution

  • Ψ(τ, η, φ) =
  • cosh τ − cosh ηA(τ)B(η) cos φ

BF () EQUINOX GT Plasma, F´ evrier 2012 11 / 38

slide-12
SLIDE 12

Complete set of solutions

  • T P,Q

c,s,k

  • k∈N =

a sinh τ √cosh τ − cos η P1

k− 1

2 (cosh τ)

Q1

k− 1

2 (cosh τ)

  • cos(kη)

sin(kη)

k∈N

References

P.M. Morse and H. Feshbach. Methods of Theoritical Physics. 1953

  • E. Durand. Magn´
  • etostatique. 1968

N.N. Lebedev. Special Functions and their Applications. 1972

  • J. Segura and A. Gil. Evaluation of toroidal harmonics. CPC. 1999
  • Y. Fischer. PhD. 2011

BF () EQUINOX GT Plasma, F´ evrier 2012 12 / 38

slide-13
SLIDE 13

Flux in the vaccum

ψ(r, z) =

N

  • k=0

(βP,Q

c,s,k)(T P,Q c,s,k) +

  • k

ψf (r, z; rk, zk) B(r, z) =

N

  • k=0

(βP,Q

c,s,k)Bk(r, z) +

  • k

Bf (r, z; rk, zk)

PF coils modelized by filaments of current

Current Ik at (rk, zk) : ψf (r, z; rk, zk) = µ0Ik απ √rrk[(1 − α2 2 )J1(α) − J2(α)], Bf = . . . Compute (βP,Q

c,s,k)k=1:N) by least-square fit to magnetic measurements

ψ in the vacuum Ω0 \ (Ωp ∪ ΩCi) Evaluate (ψ, ∂nψ) on Γ

BF () EQUINOX GT Plasma, F´ evrier 2012 13 / 38

slide-14
SLIDE 14

Experimental measurements

magnetic ”measurements” ψ(Mi) = gi and 1 r ∂ψ ∂n (Nj) = hj on Γ

  • n mesh boundary (experimental measurements if possible, or outputs

from other codes : toroidal harmonics, XLOC (JET) and APOLO (ToreSupra)) interferometry and polarimetry on several chords

  • Cm

ne(ψ)dl = αm,

  • Cm

ne(ψ) r ∂ψ ∂n dl = βm motional Stark effect fj(Br(Mj), Bz(Mj), Bφ(Mj)) = γj

BF () EQUINOX GT Plasma, F´ evrier 2012 14 / 38

slide-15
SLIDE 15

BF () EQUINOX GT Plasma, F´ evrier 2012 15 / 38

slide-16
SLIDE 16

Statement of the inverse problem

State equation    −∆∗ψ = λ[ r R0 A( ¯ ψ) + R0 r B( ¯ ψ)]1Ωp(ψ) in Ω ψ = g

  • n Γ

Least square minimization J(A, B, ne) = J0 + K1J1 + K2J2 + Jǫ with J0 =

j(1

r ∂ψ ∂n (Nj) − hj)2 J1 =

i(

  • Ci

ne r ∂ψ ∂n dl − αi)2 J2 =

i(

  • Ci

nedl − βi)2 Jǫ = ǫ 1 (∂2A ∂ ¯ ψ2 )2d ¯ ψ + ǫ 1 (∂2B ∂ ¯ ψ2 )2d ¯ ψ + ǫne 1 (∂2ne ∂ ¯ ψ2 )2d ¯ ψ

BF () EQUINOX GT Plasma, F´ evrier 2012 16 / 38

slide-17
SLIDE 17

Numerical method

Finite element resolution

       Find ψ ∈ H1 with ψ = g on Γ such that ∀v ∈ H1

0,

1 µ0r ∇ψ∇vdx =

  • Ωp

λ[ r R0 A( ¯ ψ) + R0 r B( ¯ ψ)]vdx with A(x) =

i aifi(x),

B(ψ) =

i bifi(x), u = (ai, bi)

Fixed point

Kψ = Y (ψ)u + g K modified stiffness matrix, u coefficients of A and B, g Dirichlet BC

Direct solver : (ψn, u) → ψn+1

ψn+1 = K −1[Y (ψn)u + g]

BF () EQUINOX GT Plasma, F´ evrier 2012 17 / 38

slide-18
SLIDE 18

Numerical method

Least-square minimization

J(u) = C(ψ)ψ − d2 + uTAu d : experimental measurements A : regularization terms

Approximation

J(u) = C(ψn)ψ − d2 + uTAu, with ψ = K −1[Y (ψn)u + g] J(u) = C(ψn)K −1Y (ψn)u + C(ψn)K −1g − d2 + uTAu = E nu − F n2 + uTAu

Normal equation. Inverse solver : ψn → u

(E nTE n + A)u = E nTF n

BF () EQUINOX GT Plasma, F´ evrier 2012 18 / 38

slide-19
SLIDE 19

Numerical method. EQUINOX

One equilibrium reconstruction :

Fixed-point iterations :

◮ Inverse solver : ψn → un+1 ◮ Direct solver : (ψn, un+1) → ψn+1 ◮ Stopping condition ||ψn+1 − ψn||

||ψn|| < ǫ

A pulse in real-time :

Quasi-static approach :

◮ first guess at time t = equilibrium at time t − δt ◮ limited number of iterations

Normal equation : ≈ 10 basis func. → small ≈ 20 × 20 linear system Tikhonov regularization parameters unchanged K = LU and K −1 precomputed and stored once for all Expensive operations : update products C(ψ)K −1 and C(ψ)K −1Y (ψ)

BF () EQUINOX GT Plasma, F´ evrier 2012 19 / 38

slide-20
SLIDE 20

Numerical Results : Tore Supra and JET characteristics

ToreSupra JET Finite element mesh Number of triangles 1382 2871 Number of nodes 722 1470 functions A and B Basis type Bspline Bspline Number of basis func. 8 8 Computation time (1.80GHz) One equilibrium 20 ms 60 ms Real-time requirement : 100 ms

BF () EQUINOX GT Plasma, F´ evrier 2012 20 / 38

slide-21
SLIDE 21

Tore Supra - Magnetics and polarimetry

BF () EQUINOX GT Plasma, F´ evrier 2012 21 / 38

slide-22
SLIDE 22

JET - Magnetics and polarimetry

BF () EQUINOX GT Plasma, F´ evrier 2012 22 / 38

slide-23
SLIDE 23

Algorithm verification : twin experiments

Method

Functions A and B given. Generate ”measurements” with direct code Test the possibility to recover the functions by solving the inverse problem

Noise free experiments. Magnetics only.

With a well-chosen regularization parameter ε , A and B are well recovered. Averaged current density and q profiles are not very sensitive to ε.

Experiments with noise. Magnetics only and mag+polarimetry.

Averaged current density and q profiles are less sensitive to noise than A and B. With polarimetry A and B are better constrained.

BF () EQUINOX GT Plasma, F´ evrier 2012 23 / 38

slide-24
SLIDE 24

Average over magnetic surfaces

< g >= ∂ ∂V

  • V

gdv = 1 V ′

  • S

gds |∇ρ| =

gdl Bp /

dl Bp ρ a coordinate indexing the magnetic surfaces

BF () EQUINOX GT Plasma, F´ evrier 2012 24 / 38

slide-25
SLIDE 25

Definitions

Current density averaged over magnetic surfaces

r0 < j(r, ¯ ψ) r >= λA( ¯ ψ) + λr2

0 < 1

r2 > B( ¯ ψ)

Safety factor q

For one field line ”q = ∆φ

2π ”.

q = − 1 2π ∂Fφ ∂ψ = − 1 4π2 ∂V ∂ψ f < 1 r2 >= 1 2π

  • C

Bφ rBp dl

BF () EQUINOX GT Plasma, F´ evrier 2012 25 / 38

slide-26
SLIDE 26

Noise free twin experiment. Magnetics only. Identified A and B, and relative error for different ε

BF () EQUINOX GT Plasma, F´ evrier 2012 26 / 38

slide-27
SLIDE 27

Noise free twin experiment. Magnetics only. Mean current density, safety factor and relative error for different ε

BF () EQUINOX GT Plasma, F´ evrier 2012 27 / 38

slide-28
SLIDE 28

1% noise twin exp. Magnetics only. Mean ± stand. dev. (200 exp.) identified A and B for ε = 0.01, 0.1, 1

BF () EQUINOX GT Plasma, F´ evrier 2012 28 / 38

slide-29
SLIDE 29

Same for mean current density and safety factor

BF () EQUINOX GT Plasma, F´ evrier 2012 29 / 38

slide-30
SLIDE 30

1% noise twin exp. Mag. and polar. Mean ± stand. dev. (200 exp.) identified A and B for ε = 0.01, 0.1, 1

BF () EQUINOX GT Plasma, F´ evrier 2012 30 / 38

slide-31
SLIDE 31

Same for mean current density and safety factor

BF () EQUINOX GT Plasma, F´ evrier 2012 31 / 38

slide-32
SLIDE 32

Regularization parameters

A and B : experience ne : L-curve

−4 −3.5 −3 −2.5 −2 −1.5 −1 −4 −3 −2 −1 1 2 3 residual term regularization term L−curve Corner located at εne = 0.01

BF () EQUINOX GT Plasma, F´ evrier 2012 32 / 38

slide-33
SLIDE 33

Code Validation

A database of 130 (JET) + 20 (ToreSupra) shots. Wide range of physical parameters, carefully checked measurements. Efit reconstructions with or without internal measurements and MHD analysis (JET)

Comparison between Equinox and Efit, Xloc ... for global and local quantities (Ip, vol, triang., q95, q0, li, β, rx, zx, RIG, ROG, ...) +Evaluation of the sensitivity of code to mag. measurements errors

BF () EQUINOX GT Plasma, F´ evrier 2012 33 / 38

slide-34
SLIDE 34

Validate the density profile comparing Equinox-Efit-Interferometry. Compare q profiles from Equinox and Efit without/with polar. Compare rq=cte(t) from Equinox and MHD analysis. Left mag only, right mag+polar. Validation of Equinox + necessity of using internal measurements

BF () EQUINOX GT Plasma, F´ evrier 2012 34 / 38

slide-35
SLIDE 35

Conclusion

Real-time equilibrium reconstruction and identification of the current

  • density. EQUINOX

Robust identification of the averaged current density profile and of the safety factor Makes possible future real-time control of current profile

Ref : Blum, Boulbe and Faugeras. Reconstruction of the equilibrium of the plasma in a Tokamak and identification of the current density profile in real time, JCP 2011.

BF () EQUINOX GT Plasma, F´ evrier 2012 35 / 38

slide-36
SLIDE 36

Tore Supra. Magnetics and polarimetry.

BF () EQUINOX GT Plasma, F´ evrier 2012 36 / 38

slide-37
SLIDE 37

Jet 68694. Magnetics only.

BF () EQUINOX GT Plasma, F´ evrier 2012 37 / 38

slide-38
SLIDE 38

Jet 68694. Magnetics and polarimetry.

BF () EQUINOX GT Plasma, F´ evrier 2012 38 / 38