1/28 lynton appel – anu faculty of physics meeting may 2010 efit++ equilibrium reconstruction §...

37
1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre, Oxon, UK Lynton Appel § Michele Romanelli § David Muir § John Storrs § Clive Michael § Maarten de Bock § Nicolas Mercadier – Ecole Centrale Paris Martin David - Ecole Centrale Paris Frederic Imbeaux – CEA Gabriele Manduchi – Padua, Italy. Jakub Urban – IPP Prague, Czech. Guiseppe Calabro, Edmondo Giovanozzi -Frascati, Italy CCFE is the fusion research arm of the United Kingdom Atomic Energy Authority

Upload: calvin-oliver

Post on 27-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

1/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ Equilibrium Reconstruction

§ EURATOM/CCFE Fusion Association, Culham Science Centre, Oxon, UK

Lynton Appel§

Michele Romanelli§ David Muir§ John Storrs§

Clive Michael§

Maarten de Bock§

Nicolas Mercadier – Ecole Centrale ParisMartin David - Ecole Centrale Paris

Frederic Imbeaux – CEAGabriele Manduchi – Padua, Italy.Jakub Urban – IPP Prague, Czech.

Guiseppe Calabro, Edmondo Giovanozzi -Frascati, Italy

CCFE is the fusion research arm of the United Kingdom Atomic Energy Authority

Page 2: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

2/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 3: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

3/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Background

• EFIT++ is a rewrite of Lang Lao’s original EFIT1 code

1996 Porting of EFIT to CCFE from GA.

2005 Machine independent EFIT; interface to ITM.

2006 New C++ driver.

2007 Development of documentation, test suite.

2008 Development of module to compute Boozer coordinates.

2009 Generalised MSE constraint, netCDF-4 file output

1Lao, L L et al, Nuclear Fusion 25 (1985) 1611.

Page 4: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

4/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ solves the equation of equilibrium force balance in a tokamak in the presence of finite toroidal rotation , ω, and zero poloidal rotation:

Grad-Shafranov equation

),(* ZRRJop

),()(1

),( RpRffR

ZRJ ppo

dt

dp m

vBj

Rm Rp e2

Resulting Grad-Shafranov equation is1

where

2)(

)(exp)(),(

22

R

cpRp

ps

ppop

in which

RBf p )(

mTc ps /)(and is the ion sound speed.

1Thyaragaraja, A and McClements, K.G., Phys of Plasmas 13 026502 (2006)

Page 5: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

5/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ requires J to be a linear function of the flux functions. This is possible in the limit ωR/cs<1

Grad-Shafranov equation

yielding

)()()(1

),(2

`22

pwT

Tpp

o

pRR

RRpRff

RZRJ

)()(2

`22

1 pwT

Tp p

R

RRpp

2`2

)(

)(

2

)()(

ps

ppoTpw c

pRp

where

)()()(1 pwpop ppp

and

Page 6: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

6/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ Flux Functions

Users select either polynomial flux-functions

ni

ii

nni

i

ii Hg

11

1 ~~)~(

~~~~1

sinh

~~sinh)~( 11

12 i

i

ii

ii

ii

h

g

hTh

T

T

gg

i

i

ii

ii

ii

h

g

hTh

T

T

g ~~~~1

sinh

~~sinh 121

•Continuity in g’ enforced at each internal knot.

•Users can prescribes g or g’’ at any knot location.

iiih ~~1

1Cline, A,,K, ACM 17 (1974) 218

)/()(~ axisp

LCFSp

axispp

(with H=0 or H=1), or a tension spline1 representation:

Page 7: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

7/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Update Field

EFIT++ needs to solve a 2-D nonlinear elliptic equation of the form

EFIT++ algorithm

}){,),(),(),((*pfpwppp IRppffF

Update Currents:

Read data

Initialize p(R,Z)

ff p pfI ),( ZRp

Converged?no

Algorithm uses a Picard’s iteration scheme. Each iteration solves two separate problems:

Given obtain .

Given obtain

}){,,,, pfw IRppff ),( ZRp),( ZRp}){,,,, pfw IRppff

wp

Page 8: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

8/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ Picard Iteration

1) Given obtain . }){,,,, pfw IRppff ),( ZRp

Min

N

ii

1

22

2

2

i

iii

PM

Mi is measured value of constraint i input by user

abs (absolute error) and rel (relative error) input by user

Wi (weight) input by user

i

MAXirelabsi W

M

,

Currents and Flux function coefficients

dRdZRJZRrGIrrGrPplasma

mr

mq

mp

mpi

j

mjpfjpfiii ),,,,(),;();()( )1(

1)1(

1)1(

1)()1(

)()(

Obtain chi-squared fit to spline coefficients and poloidal currents

Form linearised constraint equations, eg. for magnetic detectors:

Page 9: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

9/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ Picard Iteration

2) Given obtain . }){,,,, pfw IRppff ),( ZRp

using Finite Difference Grid with boundary-integral to represent external fields.

Field solution by solving linearised Grad-Shafranov equation

RJop *

Page 10: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

10/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Configurable constraints

•Flux and saddle loops.

•Magnetic pick-up coils.

•Pf circuits.

•q0

•Plasma current

•Diamagnetic flux and Bphi.

•Total pressure

•Rotational pressure

•B-poloidal

•Position of Separatrix

•Iso-flux surfaces

•Faraday Rotation

•MSE

•p’ proportional to ff’

•Relational constraints: p’ , ff’ , prot, fcoils.

Page 11: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

11/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 12: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

12/28Lynton Appel – ANU Faculty of Physics meeting May 2010

E = Es + v x Bv

B

gMSE principle:

Measure polarisation angle Stark lines parallel (p) or

perpendicular (s) to (local) electric field

where

• if vbeam and Es are known, B can be determined:

eg for an inifinitesimal collection volume,

MSE

•MSE on MAST operates routinely intershot with

•35 channels close to mid-plane.

•Spatial resolution: 2.5cm

•Time-resolution 0.5ms.

•RMS noise 0.5o.

•Reliable MSE-controlled EFIT++ reconstructions.

BvEE beams

plasmaplasmaplasmas vvq

mp

qnBvE

1

BABABA

BABABA

Rz

Rzo

543

21tan

Page 13: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

13/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE constraint

• Generalised MSE constraint requires full description of Neutral beam and MSE optics.

Entire system is implemented with 21 object classes.

MseChannels

MseChannel

TimeTraceOpticalFibre

OpticalFibreBundles

OpticalFibreBundle

OpticalLenses

OpticalLens

OpticalFilters

OpticalFilter

NeutralInjectorBoxes

NeutralInjectorBox

NeutralBeamlet

NeutralBeam

TimeSliceMseChannels

TimeSliceMseChannel

TimeSliceOpticalFibreBundle

EfitMseChannels

EfitMseChannel

DataSelection

EfitNeutralInjectorBoxes

MSE hardware

Neutral Beam systems

Time-slice structures

Code-specific data

Time-dependent signal:f(t)

Page 14: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

14/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE constraint

• Tokamak data structures MSE-system

mseChannels mseChannel

id

timeTrace

nameneutralBeamIds

opticalFibreBundleId

opticalFilterId

array of pairs of {NIB, neutralBeam}Id’s

opticalFibre

opticalFibreBundles opticalFibreBundle

id

nameopticalLensId

diametercollectionEndCoordinates

detectorEndCoordinatesopticalLenses opticalLens

idnamediameteropticalAxisopticalPlaneVector

opticalFilters opticalFilter

idname

wavelengthValuestransferFunctionValues

filterModel

TcentralWavelengthfullWidthHalfMaximum

order

Page 15: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

15/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE constraint

• Tokamak data structures representing neutral beams

neutralInjectorBoxes neutralInjectorBox

id

neutralBeamlet

namemassUnits

launchPlaneMidpointnormalToLaunchPlane

id

neutralBeam

name

voltageTracedivergenceaxialAttenuationhorizontalFocusverticalFocusorigin

Example system, JET with 2 Neutral Injector

Boxes (NIBS), each with 8 Positive Ion Neutral

Injectors (PINIS), each PINI being composed of

many beamlets.

Page 16: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

16/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Rad

ius

of M

SE

cha

nnel

Centre of inboard magnetics

•Fit to MSE data typically best near magnetic

axis on outboard size

•Poorest fits for MSE channels

inboard of magnetic axis.

near outer edge of plasma.

•Analysis of constraint matrix (S) reveals cause of

inconsistency close to outer edge.

•Construct SS-1 (S-1 is the SVD psuedo-inverse)

•Large off-diagonal values of SS-1 indicate co-

variance between outer MSE channels and

inboard magnetic signals.

Inconsistencies in MSE data

Page 17: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

17/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE on MAST: Hollow current profiles

da

sh

ed

lin

es

in

dic

ate

ma

gn

eti

c a

xis

MSE on MAST

Example MAST reconstruction constrained with 35 MSE channels, pressure measurements, and magnetics.

Evidence of hollow current and reversed q-profiles.

Page 18: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

18/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 19: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

19/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Flux coordinates

• EFIT++ solves Grad Shafranov equation in cylindrical (R,φ,Z) coordinates

whereas HAGIS code uses flux-coordinates.

• Originally, flux-coordinates were computed by HELENA.

Particles could not be followed outside the separatrix.

• EFIT++ now extended:

Flux coordinates computed directly from the unbounded EFIT++

equilubrium.

Flux coordinates continuous over both interior and exterior domains.

Page 20: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

20/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Flux coordinates: implementation

• HAGIS coordinates are

• Interior plasma EFIT++ region uses HAGIS

coordinates.

• But singularity problem at separatrix due to x-point!

)()(),( pppp gIB

2B

gqIJ

.

.

B

B

d

dq

pp qB

Contours of constant and θ of

MAST equilibrium (red lines

indicate SXR sight lines)

Page 21: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

21/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Flux coordinates: implementation

Singularity avoided in EFIT++

• For construct straightfield line coordinates.

• For construct Boozer coordinates on open flux surface

between zmin<z<zmax

and maximal variation of θ on a surface p:

95.00 p

N

edgep

eI

II N

edgepedge

1

N

edgep

eN

edgepedge

1

95.0p

• In exterior region, I(p) and q(p) are arbitrary

functions.

Ensure that I(p) and q(p) match at

boundary; also define

Page 22: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

22/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Hagis simulation

• EFIT++-generated flux surfaces interfaced to HAGIS code.

Now possible to tracking energetic particle motion across the separatrix..

Hagis simulation of a 200keV Deuteron travelling across the separatrix

Page 23: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

23/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 24: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

24/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Induced Currents

• Induced currents are included with a separate programme

INDUCTION

Solves induction equation on all passive structures.

Plasma current contribution modelled as a distributed curent source

scaled to the measured plasma current signal.

Option exists to run INDUCTION iteratively using EFIT++-

generated plasma current distribution.

Page 25: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

25/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 26: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

26/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Treatment of errors

• EFIT++ obtains ‘optimum’ solution of currents and plasma function

coefficients by solving linearised constraint equation

• In case where all flux functions are polynomials, solution is obtained

using SVD of A,

• Least squares solution and covariances are

• Errors of derived parameters, eg given by

n

i i

kijkkjjk w

VVXXCov

12

),(

BXA

T

n

V

w

w

UA 1

T

n

U

w

w

VX

/1

/1 1

)(Xfq

i j

ijj

o

i

oq X

Xf

X

Xf )()(2

where denotes optimal solution)oX

;;

Page 27: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

27/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 28: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

28/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Running EFIT++

Four ways to run EFIT++:

1. Invoke EFIT++ executable directly (for the expert only).

2. Execute EFIT++ using efit++ shell command:

efit++ [-h] –[d] [–e<executable>] [-pN] [-f<hostFile>] [-g] –[i<plasmaCutoffCurrent] [-o<dir>]

[shotBegin] [shotEnd]

3. Execute EFIT++ using IDL controller efit4idl

A range of pre-configured run configurations.

Group-settings of run parameters.

Run-time

Output plots generated.

4. Execute EFIT++ using MC3.

Integrated analysis packagage

Sophisticated visualisation and run-time control.

• Parallelisation implemented using MPI

Page 29: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

29/28Lynton Appel – ANU Faculty of Physics meeting May 2010

XML input

• User-interface mirrors underlying OO code. Two generic types of data

Tokamak data: data specific to tokamak device.

Code-specific data: data specific to EFIT++.

• Data input

Using IDAM from JET/COMPASS/MAST/FTU data repositories including via

MDS+ database.

XML data files.

• Input XML can be split into multiple files as desired by user.

• Most code parameters configurable as time-dependent or time-independent, eg:

<numericalControls

interpolationMethod=3

timeMargin=0.2

times =“0.1 0.2 0.3 0.4” />

<pp ndeg ="2 3 6 7" edge="1" func="0" />

</numericalControls> </Top>

Page 30: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

30/28Lynton Appel – ANU Faculty of Physics meeting May 2010

XML input

<Top>  <include file="tokamakDataSource.xml" />   <include file="debug.xml" /> <include file="outputOptions.xml" />   <include file="times.xml" />   <include file="numericalControls.xml" />

  <include file="relationalffprime.xml" />   <include file="relationalpprime.xml" />   <include file="relationalrotationalpprime.xml" />   <include file="grid.xml" />   <include file="current.xml" />

<include file="efitOptions_submse.xml" />

  <include file="boundary.xml" />

  <include file="pressure.xml" />

  <include file="cx.xml" />

  <include file="efitOptions_subpf.xml" />

  <include file="efitOptions_submp.xml" />

  <include file="efitOptions_subfl.xml" />

</Top>

• Example tokamakData.xml file.

Page 31: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

31/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ Output

• Output written to HDF5 and/or netCDF4 data files.

Interpreters for both formats widely available eg in Mathematica, Matlab, IDL…

EFIT++-specific data visualizers available within IDL4EFIT and MC3.

Page 32: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

32/28Lynton Appel – ANU Faculty of Physics meeting May 2010

I. EFIT++ code

II. MSE

III. Flux Coordinates

IV. Induced Currents

V. Errors

VI. Running EFIT++

VII. Documentation

Page 33: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

33/28Lynton Appel – ANU Faculty of Physics meeting May 2010

EFIT++ documentation

• Extensive user’s documentation and programmer’s documentation

https://mastweb.fusion.org.uk/svndocs/efit++/index.html

• EFIT++ code maintained in ‘open-access’ SVN repository

• Extensive benchmark tests run prior to each code release.

Specific tests for JET,MAST,FTU, COMPASS.

• All previous releases maintained online.

https://mastweb.fusion.org.uk/svnroot/efit++/development/

• Current information and views in EFIT WIKI

http://fusweb1/culham.CCFE.org.uk/fusionwiki/index.php/EFIT

Page 34: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

34/28Lynton Appel – ANU Faculty of Physics meeting May 2010

………………..access to EFIT++

• EFIT++ svn repository, and WEB documentation located at https://

mastweb.fusion.org.uk/svndocs/

• Read access available to anyone with a JETNET domain or FUSION

domain account.

Page 35: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

35/28Lynton Appel – ANU Faculty of Physics meeting May 2010

Conclusions

• EFIT++ computes equilibrium reconstruction to provide

Routine reconstructions.

Tailored reconstructions.

Operation as a module of the ITM

Flexible XML-based input removes ‘requirement’ to introduce short-term hacks.

• Code implementation is machine independent

EFIT++ in use on MAST, JET, COMPASS and FTU tokamaks.

• Integral test-suite run routinely.

• Comprehensive web-based documentation.

• International project team.

Page 36: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

36/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE constraint

• Tokamak data structure representation of one timeSlice

opticalLens

id

name

diameteropticalAxis

opticalPlaneVector

neutralInjectorBoxes neutralInjectorBox

id

neutralBeamlet

namemassUnits

launchPlaneMidpointnormalToLaunchPlane

id

neutralBeam

name

voltageTracedivergenceaxialAttenuationhorizontalFocusverticalFocusorigin

opticalLens

timeSliceMseChannels timeSliceMseChannel

value

timeSliceOpticalFibreBundle

weightsigma

neutralBeamIds

opticalFibrediametercollectionEndCoordinates

detectorEndCoordinates

opticalFilter

Page 37: 1/28 Lynton Appel – ANU Faculty of Physics meeting May 2010 EFIT++ Equilibrium Reconstruction § EURATOM/CCFE Fusion Association, Culham Science Centre,

37/28Lynton Appel – ANU Faculty of Physics meeting May 2010

MSE constraint

• Code-specific data structures

efitMseChannels

efitMseChannel

id

times

weights

polarisationStates

dataSelection

quantumNumbers

amplitudes

unshiftedSpectralWavelength

radialLensDiscretisation

angularLensDiscretisationefitNeutralInjectorBoxes dataSelection

dataSelection

interpolationMethod

timeWindowtimeMargin

opticalVolumeDiscretisation

beamLaunchPlaneDiscretisation