11/03/2015CAoPAC - F. Schmidt CERN1 Concepts of CERN Optics Codes MAD - Traditional Optics Code PTC – Transition to an more modern Approach SixTrack –

Slides:



Advertisements
Similar presentations
CLIC TeamMAD-X Day, September 4, 2003 MAD-X for CLIC H. Braun, R. Corsini, T.d’Amico, A. Faus-Golfe, M. Korostelev, S. Redaelli, T. Risselada, D. Schulte,
Advertisements

The HiLumi LHC Design Study is included in the High Luminosity LHC project and is partly funded by the European Commission within the Framework Programme.
IIAA GPMAD A beam dynamics code using Graphics Processing Units GPMAD (GPU Processed Methodical Accelerator Design) utilises Graphics Processing Units.
Mad-X Status Purpose of the Second MAD-X Day Program of the Workshop MAD-X Code Facts MAD-X History and Future Services MAD-X Collaborators Manpower Needs.
Mad-X AB/ABP Meeting Agenda: 1.Latest MAD-X developments &Plan 2.Module Keeper Crises –My Tasks –Module Keeper Tasks –Uncovered Modules 3.A.O.B.
Lecture 5: Beam optics and imperfections
Introduction Status of SC simulations at CERN
Status of BDSIM Developments at RHUL L. Nevay, S. Boogert, H. Garcia-Morales, S. Gibson, R. Kwee-Hinzmann, J. Snuverink Acknowledgments: R. Bruce, S. Redaelli.
MapleSim and the Advantages of Physical Modeling
GRD - Collimation Simulation with SIXTRACK - MIB WG - October 2005 LHC COLLIMATION SYSTEM STUDIES USING SIXTRACK Ralph Assmann, Stefano Redaelli, Guillaume.
Topic Three: Perturbations & Nonlinear Dynamics UW Spring 2008 Accelerator Physics J. J. Bisognano 1 Accelerator Physics Topic III Perturbations and Nonlinear.
Loss maps of RHIC Guillaume Robert-Demolaize, BNL CERN-GSI Meeting on Collective Effects, 2-3 October 2007 Beam losses, halo generation, and Collimation.
Particle Studio simulations of the resistive wall impedance of copper cylindrical and rectangular beam pipes C. Zannini E. Metral, G. Rumolo, B. Salvant.
Spin Tracking Using the Bmad Software Library David Sagan Cornell Laboratory for Accelerator-Based Sciences and Education.
The HiLumi LHC Design Study is included in the High Luminosity LHC project and is partly funded by the European Commission within the Framework Programme.
1 Optics Code MAD-X and Tracking code SixTrack at CERN - An Overview oPAC Topical - F. Schmidt.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
Computation of Taylor Maps and Applications to Accelerator Physics Six lectures with emphasis on examples and their computer implementations Etienne Forest.
HSM Meeting - HPC - FS High Performance Computing (HPC) Support from IT 1 Historical Overview of IT Computing Support & Present State Present.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, N.Kazarinov.
SixTrack Status Speaker: R. De Maria Special thanks to: F. Schmidt, E. McIntosh, volunteers. Developers: A. Aviral, J. Barranco, D. Banfi, L.
PTC Integration into MAD-X What is PTC? (Etienne’s words) Some Facts about PTC What are the advantages for MAD-X? Magnet Treatment in PTC How will we use.
PS Booster Studies with High Intensity Beams Magdalena Kowalska supervised by Elena Benedetto Space Charge Collaboration Meeting May 2014.
Winni Decking Single Particle Beam Dynamics Codes Winni Decking DESY –MPY- HHH Workshop CERN 2004.
Development of Simulation Environment UAL for Spin Studies in EDM Fanglei Lin December
Stability Properties of Field-Reversed Configurations (FRC) E. V. Belova PPPL 2003 International Sherwood Fusion Theory Conference Corpus Christi, TX,
Status of Space-Charge Simulations with MADX Valery KAPIN ITEP & MEPhI, Moscow GSI, 19-Feb-2009
Serge Andrianov Theory of Symplectic Formalism for Spin-Orbit Tracking Institute for Nuclear Physics Forschungszentrum Juelich Saint-Petersburg State University,
Stephan I. Tzenov STFC Daresbury Laboratory,
Optimization of Field Error Tolerances for Triplet Quadrupoles of the HL-LHC Lattice V3.01 Option 4444 Yuri Nosochkov Y. Cai, M-H. Wang (SLAC) S. Fartoukh,
TRANSITION-FREE LATTICES C Johnstone and B. Eredelyi Fermilab NuFact02 Imperial College, London July1-6, 2002 *special thanks to A. Thiessan WG1 July 4.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Office of Science U.S. Department of Energy Containing a.
Nonlinear Dynamic Study of FCC-ee Pavel Piminov, Budker Institute of Nuclear Physics, Novosibirsk, Russia.
Frank SchmidtSpace Charge # 31 Style of the Meeting I have agreed with Elias that we want meetings without fear to ask any crazy question! Fancy presentations.
Dr Jukka Klem CHEP06 1 Public Resource Computing at CERN – Philippe Defert, Markku Degerholm, Francois Grey, Jukka Klem, Juan Antonio.
“WISE” Simulation of optical imperfections in LHC P. Hagen AT/MCS Acknowledgements: Colleagues in AT/MAS, AT/MEL, AT/MTM, AB/ABP CERN, October 2006.
Status of BDSIM Simulation L. Nevay, S. Boogert, H. Garcia-Morales, S. Gibson, R. Kwee-Hinzmann, J. Snuverink Royal Holloway, University of London 17 th.
Frequency map analysis workshop - Orsay 1 - 2/04/04Mahdia Belgroune 1 Role of the frequency map analysis in the choice of the working point of SOLEIL M.
By Verena Kain CERN BE-OP. In the next three lectures we will have a look at the different components of a synchrotron. Today: Controlling particle trajectories.
Panel Discussion on Single Particle Codes 1.Catalogue of existing codes 2.Transparency of input and output between different codes: what is the status.
Beam Based Optics Measurements CTF3 Collaboration meeting CERN Yu-Chiu Chao, TJNAF.
The HiLumi LHC Design Study (a sub-system of HL-LHC) is co-funded by the European Commission within the Framework Programme 7 Capacities Specific Programme,
PLACET User experiences with PLACET and examples of use for the Drive Beam CLIC Workshop 2008 Erik Adli, CERN/University of Oslo, October 16 th 2008 Lots.
R. Bartolini, John Adams Institute, 27 January 20161/23 HT Lecture on Nonlinear beam dynamics (I) Motivations: nonlinear magnetic multipoles Phenomenology.
1 Task particle simulations studies: progress report M. Giovannozzi Objectives To study the field quality tolerances for new magnetic elements for.
1 Trip to BNL Goal Installation of newest MAD-X at BNL Setting up space charge for RHIC in frozen mode They do not really want a renormalization of sigma.
Evan Li, Brown University 2012 Evan Li Xiaobiao Huang SLAC National Accelerator Laboratory August 12, 2010.
Intrabeam scattering simulations and measurements F. Antoniou, Y. Papaphilippou CLIC Workshop 2013, 30/1/2013.
SLAC LET Meeting Global Design Effort 1 CHEF: Recent Activity + Observations about Dispersion in Linacs Jean-Francois Ostiguy FNAL.
BNL trip  Goal of the BNL-FERMILAB- CERN collaboration  The codes  BB tune foot-prints  DA studies.
1 Dynamic Aperture and Field Quality BeMa14 - F. Schmidt What is the Dynamic Aperture (DA)? Definition The Tracking Engine LHC DA Experiment.
SC-25 FS1 Code Overview PTC-Orbit Synergia Micromap MAD-X with Frozen Space Charge 8/29/2013.
Frank SchmidtLHCCWG - 8 May LHC On-Line Modeling The LHC On-line Model: what it is NOT! What is it then? The Team and the Tasks SDDS MAD-X Version.
Threading / LTC/ JW1 How difficult is threading at the LHC ? When MADX meets the control system … J. Wenninger AB-OP &
The Cockroft Institute
Weiming Guo Accelerator Physics Group / ASD Advanced Photon Source
Orbit Response Matrix Analysis
HT Lecture on Nonlinear beam dynamics (I)
Benchmarking MAD, SAD and PLACET Characterization and performance of the CLIC Beam Delivery System with MAD, SAD and PLACET T. Asaka† and J. Resta López‡
Multi-Turn Extraction studies and PTC
Optimization of Triplet Field Quality in Collision
Field quality to achieve the required lifetime goals (single beam)
Space Charge Study Group
Multiturn extraction for PS2
SC Overview 2013 White & Rouge The Codes in Comparison The Noise Issue
The new 7BA design of BAPS
Near Future Plans for the Space Charge Team after SC-13
PEPX-type BAPS Lattice Design and Beam Dynamics Optimization
Some Issues on Beam-Beam Interaction & DA at CEPC
Non-linear (Effective) Modeling of Accelerators
Presentation transcript:

11/03/2015CAoPAC - F. Schmidt CERN1 Concepts of CERN Optics Codes MAD - Traditional Optics Code PTC – Transition to an more modern Approach SixTrack – Tracking Engine

11/03/2015CAoPAC - F. Schmidt CERN2 About this talk I concentrate on CERN tools since they have penetrated the field of optics design around the world accelerator laboratories. At most places you will find one or the other tool, albeit potentially in various incarnations. However, there are various other excellent codes: E.G. the SAD code from KEK and SYNERGIA from Fermilab spring to my mind. But there are many others! Both for general and specific tasks. Given the limited time and my pleasure and hopefully yours I will try to explain some concepts rather than bore you with long list of features.

11/03/2015CAoPAC - F. Schmidt CERN3 History 1.MAD Traces of early MAD versions are difficult to find. MAD8 has been introduced in the 1980s by C. Iselin and H. Grote. It is still being used at various places (E.G. BNL, Fermilab). MAD9 was a massive re-write till about 2001 in C++ fashionable at the time. It could not been made operational for the LHC in time and maintenance proved to be a major effort. MAD-X was started in 2001 by H. Grote and myself. The code was operational as of In 2011 L. Deniau and his team took over and the plan is a complete re-write available in a couple of years. 2.PTC Etienne Forest has started the PTC project around In close collaboration with CERN it was integrated from the start into MAD-X NormalForm and new approach of accelerator design. 3.SixTrack Originally “Racetrack” by A. Wrulich Theory by G. Ripken & software development by myself. Massive Tracking with run environment by 2001 E. McIntosh and myself. Code development is lead since 2012 by R. de Maria from CERN.

11/03/2015CAoPAC - F. Schmidt CERN4 General Concept for MAD-X in View of the LHC 1/2 Given time constraints at the start of the LHC era we were looking for a pragmatic approach to construct a family of codes to design and commission this complex machine. Use as much as possible trusted and versatile code to do the job in a reliable fashion. Code Elegance was NOT the primary goal! Instead: Various computer languages. Grande schemes had to delayed to a later day. Team of developers of mostly actual users of the code with limited software background. Use help of external collaborators. Thorough Benchmarking!

11/03/2015CAoPAC - F. Schmidt CERN5 General Concept for MAD-X in View of the LHC 2/2 Provide all reliable features of MAD8. In particular, TWISS, MATCH, ERROR, PLOT, SURVEY, EMIT & DYNAP. Drop doubtful modules. Build new and consistent modules: APERTURE, IBS, TOUSCHEK, C6T (SixTrack convertor), treatment of LHC two-in- one structure. Mildly upgrade where possible: dynamic memory allocation in C, symplectic tracking, SVN repository, HTML documentation, module keepers, debugging etc. Modernize MAD language (similar to MAD9). Integrate MAD-X with PTC.

11/03/2015CAoPAC - F. Schmidt CERN6 PTC Integration Link MAD-X accelerator structure with PTC. Very thorough benchmarking with the physics of MAD-X ➔ agree with MAD-X when correct or improve! Provide truncated Taylor Maps and NormalForm: higher order momentum compaction, detuning with amplitudes, resonance driving terms. Create various PTC modules (with equivalent MAD-X output): PTC_TWISS, PTC_NORMAL, PTC_TRACK. More modern features: Flexible symplectic integrator, expanded and exact Hamiltonian, choice of coordinate system. Besides this compatibility mode there is also a stand-alone mode for a more modern accelerator design!

ICAP09, Sept 2, 2009MAD-X Update/Future7 E. Courant et al, “A comparison of several Lattice Tools for Computation of Orbit Functions of an Accelerator”, published in PAC2003 Portland, shown is x versus  p/p for a simple cyclotron. Standard MAD-X (green curve) deviates due to a well known deficiency with respect to  p/p. In PTC the exact attribute allows to approximate the true Hamiltonian. Note, that PTC operates on the same lattice as provided by MAD-X. Cyclotron Example

11/03/2015CAoPAC - F. Schmidt CERN8 Normal Form LHC Example 1/2 NormalForm is a transformation from the laboratory frame into a Normal Space in which phase space deformation are removed and the dynamics only depend on the action. This transformation allows to determine the non- linear terms of the system: detuning with amplitude and resonance driving terms. LHC at collision energy with strong Landau damping Octupoles switched on. Horizontal motion from 1 – 10 

11/03/2015CAoPAC - F. Schmidt CERN9 Normal Form LHC Example 2/2

11/03/2015CAoPAC - F. Schmidt CERN10 PTC Stand-Alone Mode – Example LHC 1.All Accelerator Elements remain thick, i.e. no need to explicitly cut them to introduce Kicks. ➔ Helps in Compatibility Mode as well & it allows to connect other codes like ORBIT. 2.Locate the Accelerator Elements in 3D Space at their actual Position. In fact, ideally one would want to link up PTC with a CAD system, so that the Planning of Elements and Accelerator Structure could directly be checked. 3.There are various ways to link elements between the 2 rings creating Twin and Girder Structures and to allow misalignment of both the individual elements and these more complex structures 4.Patching of skewed or misaligned Element Positions. 5.Treat arcs, Common Regions, Separation Dipoles and Transfer Lines to construct the full Accelerator Structure. 6.This has been fully achieved for the LHC. ➔ Particles are being pushed through the two-in-one structure.

11/03/2015CAoPAC - F. Schmidt CERN11 PTC stand-alone: LHC 2-in-1 Structure

1. Accelerator Structure Optimizing SixTrack for speed while covering all accelerator components. Full benchmarking with MAD-X. 2.Stability Criteria Dynamic Aperture Motion Type: Regular and Chaotic Motion Survival Plot & Resonance Wandering 3.Massive Tracking Engine Concepts for Single Particle Tracking with SixTrack 11/03/201512CAoPAC - F. Schmidt CERN

Dynamic Aperture Scheme >=2D Unbounded Motion Stable Islands in chaotic sea Fine chaotic layers in stable regime Onset of Global Chaos Mostly stable particle motion Chaotic Sea BeMa14 - F. Schmidt

2D Stable and Chaos 11/03/201514CAoPAC - F. Schmidt CERN

11/03/2015CAoPAC - F. Schmidt CERN15 Survival Plots and Resonance Wandering 1/2 (F. Galluccio et al.) The survival plots depict the number of turns particles stay in the machine for a given amplitude. In this particular example we tracked an ensemble of particles started in a tiny volume of phase space. The width of the survival times tends to grow inverse proportionally with amplitude since the chaotic motion becomes weaker. There is no known method that could predict the evolution to smaller amplitudes toward the onset of global chaos.

11/03/2015CAoPAC - F. Schmidt CERN16 Resonance Wandering >=2D 2/2

For LHC tracking we are using SixTrack which is kept rigorously bug-free while continuously optimizing the code for speed. The lattice is transferred from MAD-X. MAD-X, SixTrack & PTC are benchmarked against each other. Great care has been taken to sample the 6D phase space appropriately! We have prepared a SixTrack run environment which allows to automatically launch 10’000 of jobs at a time and storing all output data in a elaborate directory structure. After all jobs have been finished automatic post-processing procedure are being launched for a full analysis of the data. Tracking Engine for massive LHC Tracking Studies 1/2 Many Thanks to Eric McIntosh 11/03/201517CAoPAC - F. Schmidt CERN

Jobs can be sent to various batch systems, e.g. a local CERN batch cluster with hundreds nodes is at our disposal. Moreover, we have created Presently about >100’000 volunteers have sign up to contribute world-wide. The so-called BOINC system organizes the flow of jobs to the contributors and sends back the results into our directory structure. Special care has been taken Eric McIntosh to guarantee bit-by- bit accuracy on any computer platform. A checkpoint-restart mechanism is implemented as well. Tracking Engine for massive LHC Tracking Studies 2/2 11/03/201518CAoPAC - F. Schmidt CERN

In collaboration with experts from Fermilab MAD-X can now simulate with a frozen model of Space Charge. A major upgrade driven by L. Deniau of a new MAD including TPSA will be expected in a year or 2. PTC has started to play an essential role in self-consistent Space Charge studies both in PTC-ORBIT and pyORBIT. SixTrack remains available for massive tracking with distributed computing. It is continuously upgraded for the needs of HL-LHC by R. de Maria and his team. Recent Developments 11/03/201519CAoPAC - F. Schmidt CERN