150 likes | 309 Vues
MAD-X & UAL Linked by SXF. Nikolay Malitsky. Outline. Standard eXchange Format (SXF) MADX – UAL – ROOT approach eRHIC electron ring application Next steps. SXF: Standard eXchange Format http://www.ual.bnl.gov/ref/sxf/index.html. rhic_injection.sxf. unique element name. MAD element type.
E N D
MAD-X & UAL Linked by SXF Nikolay Malitsky
Outline • Standard eXchange Format (SXF) • MADX – UAL – ROOT approach • eRHIC electron ring application • Next steps
SXF: Standard eXchange Format http://www.ual.bnl.gov/ref/sxf/index.html
rhic_injection.sxf unique element name MAD element type design element name design element attributes deviations (individual element attributes)
MADX-UAL-ROOT Integrated Approach MAD SXF MAD-X Modeling UAL Simulation ROOT Analysis errors misalignments aperture
MADX/UAL/ROOT Integrated ApproachCurrent activities • MADX vs MAD8 • eRHIC project: IR design, electron ring (S. Tepikian) • SXF • coordination (F.Pilat) • maintenance and upgrade of RHIC filters (V.Ptitsyn) • parser upgrade with aperture attributes (R.Fliller III) • porting to the Windows platform (Y.Malitsky) • UAL • APDF-based Framework (N.Malitsky, T.Satogata, R.Talman) • SIMBAD (A.Luccio, N.D’Imperio) • Accelerator Instrumentation Model (P.Cameron, M.Blaskiewicz, R.Calaga, N.Malitsky)
MADX/UAL/ROOT Integrated ApproachCurrent activities (Continued) • ROOT • UAL/ROOT interface (R.Fliller III) • CORAANT: COmprehansive Root-based Accelerator ANalysis Toolkit (R.Fliller III)
eRHIC Electron Ring ApplicationInfrastructure. S.Tepikian DB DB MAD 8 Lattice MAD X Lattice + Commands SXF J.Cardona UAL MAD 8 MAD X MaryLie ? Twiss functions One-turn map Dynamic aperture (radiation effects, errors, …)
eRHIC Electron Ring ApplicationMAD8 and MADX input files (S.Tepikian) … qf: line = (hqf, hqf) dipole: sbend, l = ldiparc, angle = bangle basic: line = (qf, dfree, dipole,dfree, qd, dfree, dipole, dfree) use, basic CELL VARY, KF, STEP = 0.001 VARY, KD, STEP = 0.001 CONSTRAINT, RANGE = #E, MUX = 0.2, MUY = 0.2 LMDIF, CALLS =2000, TOLERANCE = 1.0E-12 ENDMATCH all: line = (81*basic) use,all TWISS, SAVE, tape ="ering.twiss" SURVEY, TAPE ="ering.surv“ BMPM, SYNRAD = true STATIC, MAP STOP … qf: line = (hqf, hqf); dipole: sbend, l = ldiparc, angle = bangle; basic: line = (qf, dfree, dipole,dfree, qd, dfree, dipole, dfree); use, period = basic; match; VARY, name = KF, STEP = 0.001; VARY, name = KD, STEP = 0.001; CONSTRAINT, RANGE = #E, MUX = 0.2, MUY = 0.2; LMDIF, CALLS =2000, TOLERANCE = 1.0E-12; ENDMATCH; all: line = (81*basic); use, period = all; TWISS, file ="ering.twiss"; SURVEY, file ="ering.surv"; ! BMPM, SYNRAD = true; SXFWRITE, FILE = "ering.sxf"; STOP; MAD8 MAD-X
eRHIC Electron Ring applicationUAL vs MaryLie one-turn maps (J.Cardona) MaryLie t1( 7)=t1( 20 00 00 )=-7.88441118112219E-03 t1( 8)=t1( 11 00 00 )=-7.44663722471176E-02 t1( 12)=t1( 10 00 01 )= -182.37873312661 t1( 13)=t1( 02 00 00 )= 1.1310106616053 t1( 17)=t1( 01 00 01 )= 932.52726333337 t1( 18)=t1( 00 20 00 )=-9.94522091482141E-03 … u1( 28)=u1( 30 00 00 )= -2.4042953970614 u1( 29)=u1( 21 00 00 )= 61.704391209667 u1( 33)=u1( 20 00 01 )= -1.7864568352575 u1( 34)=u1( 12 00 00 )= -573.16855097684 u1( 38)=u1( 11 00 01 )= 37.097640576928 u1( 39)=u1( 10 20 00 )= -2.4202943300694
SectorTracker DriftTracker MltTracker BPM Collimator RfCavityTracker Next StepsAccelerator Propagator Description Format (APDF) Catalog of Algorithms Accelerator (SXF) d1 … <link algorithm=“SectorTracker” sector=“d1, qf1”/> <link algorithm=“DriftTraker” types=“Default”/> <link algorithm=“MltTracker” types=“Quadrupole|Sextupole”/> <link algorithm=“BPM” elements=“bpm1”/> … qf1 qd1 sd1 bpm1
TIBETAN ACCSIM TEAPOT SPINK ICE ZLIB PAC AIM UAL Element-Algorithm-Probe Framework UAL Catalog of Algorithms Accelerator Propagator APDF file APDF Builder
APDF-based applications • Longitudinal Dynamics: sector 2D matrices + RF + • Dynamic Aperture: element-by-element tracker with type-based associations • Online model: sector maps + trackers of selected elements (e.g. Fast Teapot) • Instrumentation modeling (e.g. MIA, BTF) : conventional tracker + diagnostics devices • Space charge studies: conventional tracker + space charge insertions (e.g. SIMBAD) • Spin studies: Spin tracker as a wrapper of conventional tracker (e.g. SPINK ) • eRHIC: conventional tracker with synchrotron radiation effects
Next StepsPost processing environment. XMGR MAD FORT.8 MAD Twiss file Qt GUI CORAANT UAL/ROOT UAL ROOT