MAD-X V3 with Space Charge via Macros (2010) Benchmarking (GSI) with other Codes Implementing Space Charge directly into MADX-SC V5 (2012)  latest version.

Slides:



Advertisements
Similar presentations
Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
Advertisements

1 PIC versus Frozen? 5/27/2013 FSOutcome of SC-13 PIC codes are definitely needed when coherent effects are relevant. In our case in presence of strong.
AGS pp Status Feb. 6, 2015 RSC Meeting Haixin Huang.
July 22, 2005Modeling1 Modeling CESR-c D. Rubin. July 22, 2005Modeling2 Simulation Comparison of simulation results with measurements Simulated Dependence.
Introduction Status of SC simulations at CERN
Loss maps of RHIC Guillaume Robert-Demolaize, BNL CERN-GSI Meeting on Collective Effects, 2-3 October 2007 Beam losses, halo generation, and Collimation.
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
Proton beams for the East Area The beams and their slow extraction By : Rende Steerenberg PS/OP.
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
25-26 June, 2009 CesrTA Workshop CTA09 Electron Cloud Single-Bunch Instability Modeling using CMAD M. Pivi CesrTA CTA09 Workshop June 2009.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, N.Kazarinov.
Eric Prebys, FNAL.  Let’s look at the Hill’ equation again…  We can write the general solution as a linear combination of a “sine-like” and “cosine-like”
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.
Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda, H. Sako, H. Suzuki,
PS Booster Studies with High Intensity Beams Magdalena Kowalska supervised by Elena Benedetto Space Charge Collaboration Meeting May 2014.
New Progress of the Nonlinear Collimation System for A. Faus-Golfe J. Resta López D. Schulte F. Zimmermann.
Study of Slow Extraction Relevant to the FAIR Project Markus Kirk Fair-Synchrotrons Group GSI mbH Blockseminar, Riezlern, 8 th March 2007.
Development of Simulation Environment UAL for Spin Studies in EDM Fanglei Lin December
Studies on Lattice Calibration With Frequency Analysis of Betatron Motion R. Bartolini DIAMOND Light Source Ltd FMA workshop, Orsay, LURE, 1 st and 2 nd.
Proton Driver: Status and Plans C.R. Prior ASTeC Intense Beams Group, Rutherford Appleton Laboratory.
Details of space charge calculations for J-PARC rings.
Space charge simulation using MAD-X with account of longitudinal motion Valery KAPIN MEPhI & ITEP, Moscow FNAL, Batavia, 31-Mar-2010 MEPhI.
Status of Space-Charge Simulations with MADX Valery KAPIN ITEP & MEPhI, Moscow GSI, 19-Feb-2009
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Oliver Boine-Frankenheim, High Current Beam Physics Group Simulation of space charge and impedance effects Funded through the EU-design study ‘DIRACsecondary.
1 FFAG Role as Muon Accelerators Shinji Machida ASTeC/STFC/RAL 15 November, /machida/doc/othertalks/machida_ pdf/machida/doc/othertalks/machida_ pdf.
 Advanced Accelerator Simulation Panagiotis Spentzouris Fermilab Computing Division (member of the SciDAC AST project)
Beam Loss Simulation in the Main Injector at Slip-Stacking Injection A.I. Drozhdin, B.C. Brown, D.E. Johnson, I. Kourbanis, K. Seiya June 30, 2006 A.Drozhdin.
M.E. Biagini, M. Boscolo, T. Demma (INFN-LNF) A. Chao, M.T.F. Pivi (SLAC). Status of Multi-particle simulation of INFN.
Frank SchmidtICE 5th of December ) Development of MAD-X with Space Charge and preliminary Application to the Fermilab Booster 2) Benchmarking of.
Main Ring + Space charge effects WHAT and HOW … Alexander Molodozhentsev for AP_MR Group May 10, 2005.
Alexander Molodozhentsev KEK for MR-commissioning group September 20, 2005 for RCS-MR commissioning group September 27, 2005 Sextupole effect for MR -
Nonlinear Dynamic Study of FCC-ee Pavel Piminov, Budker Institute of Nuclear Physics, Novosibirsk, Russia.
PTC tracking - progress report (the first month experience) Valery KAPIN D.Sc., Kyoto Univ. ITEP, Moscow Relevant background: a) Fortran-77/90 programming.
E Levichev -- Dynamic Aperture of the SRFF Storage Ring Frontiers of Short Bunches in Storage Rings INFN-LNF, Frascati, 7-8 Nov 2005 DYNAMIC APERTURE OF.
4 th Order Resonance at the PS R. WASEF, S. Gilardoni, S. Machida Acknowledgements: A. Huschauer, G. Sterbini SC meeting, 05/03/15.
1 EMMA Tracking Studies Shinji Machida ASTeC/CCLRC/RAL 4 January, ffag/machida_ ppt & pdf.
Simplified Modeling of Space Charge Losses in Booster at Injection Alexander Valishev June 17, 2015.
PTC-ORBIT code for CERN machines (PSB, PS, SPS) Alexander Molodozhentsev (KEK) Etienne Forest (KEK) Group meeting, CERN June 1, 2011 current status …
UPDATE IN PTC-ORBIT PSB STUDIES Space charge meeting ( ) * Vincenzo Forte * Follows LIS meeting presentation 16/04/2012.
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.
Orbits, Optics and Beam Dynamics in PEP-II Yunhai Cai Beam Physics Department SLAC March 6, 2007 ILC damping ring meeting at Frascati, Italy.
Tunes modulation in a space charge dominated beam: The particles behavior in the “necktie” Space charge meeting – CERN - 21/11/2013 Vincenzo Forte Thanks.
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,
1 IMPACT: Benchmarking Ji Qiang Lawrence Berkeley National Laboratory CERN Space-Charge Collaboration Meeting, May 20-21, 2014.
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.
2 February 8th - 10th, 2016 TWIICE 2 Workshop Instability studies in the CLIC Damping Rings including radiation damping A.Passarelli, H.Bartosik, O.Boine-Fankenheim,
SC-30 FS1 Communication from SYNERGIA about GSI benchmarking 14/11/2013.
Pushing the space charge limit in the CERN LHC injectors H. Bartosik for the CERN space charge team with contributions from S. Gilardoni, A. Huschauer,
F Project X: Recycler 8.9 GeV/c Extraction D. Johnson, E. Prebys, M. Martens, J. Johnstone Fermilab Accelerator Advisory Committee August 8, 2007 D. Johnson.
ADSR Inst.July 2009 From PAMELA to ADSR, T.Yokoi From PAMELA to ADSR Takeichiro Yokoi (JAI)
1 Tracking study of muon acceleration with FFAGs S. Machida RAL/ASTeC 6 December, ffag/machida_ ppt.
SC-25 FS1 Code Overview PTC-Orbit Synergia Micromap MAD-X with Frozen Space Charge 8/29/2013.
PTC-ORBIT issues for PSB simulations V. Forte – E. Benedetto – M. Martini S.c. meeting (18/07/2013)
Fix-lines and stability G. Franchetti and F. Schmidt GSI, CERN AOC-Workshop - CERN 6/2/2015 G. Franchetti and F. Schmidt1.
Orbit Response Matrix Analysis
Computation of Eigen-Emittances (and Optics Functions!)
Dynamic Aperture Studies with Acceleraticum
Visit at Fermilab (Aug – Nov 2012)
Multi-Turn Extraction studies and PTC
Frozen SC Model in MADX-SC – Developments
Sabrina Appel, GSI, Beam physics Space charge workshop 2013, CERN
Jeffrey Eldred, Sasha Valishev
Multiturn extraction for PS2
SC Overview 2013 White & Rouge The Codes in Comparison The Noise Issue
Update on PTC/ORBIT space charge studies in the PSB
ICFA Mini-Workshop, IHEP, 2017
Progress in Code Benchmarking
Physics 417/517 Introduction to Particle Accelerator Physics
Presentation transcript:

MAD-X V3 with Space Charge via Macros (2010) Benchmarking (GSI) with other Codes Implementing Space Charge directly into MADX-SC V5 (2012)  latest version (2013) by present MAD-X custodian L. Deniau Application to the Fermilab Debuncher and comparison with ORBIT Frozen space charge model in MAD-X with adaptive intensity and sigma calculation on behalf of Valery Kapin Acknowledgements: Y. Alexahin, G. Franchetti, F. Schmidt, P. Zenkevich

V. Kapin (F. Schmidt)SC-132 MAD-X V3 with Space Charge for Debuncher (V. Kapin 2010) Utilizing the BB elements to create a frozen space charge model but adapting emittances and Twiss parameters for the sigma determination. Using the MAD-X Macro technique for all operations Phase-I: Lattice Preparation Splitting the elements (at least once) and introduce SC kicks in between Making sure that the lattice is stable including SC and proper sigma values (  next slide) Transferring thick lattices into thin ones (symplectic and only way to track in MAD-X) Phase-II: Running (turn-by-turn due to Macro procedures) Time varying magnet strengths, phase trombone Emittance and sigma recalculation after every turn via TWISS Output (losses, emittances, etc)

V. Kapin (F. Schmidt)SC-133 The 2nd order ray tracing integrator for a number of S-C kicks

V. Kapin (F. Schmidt)SC-134 Procedure to determine Beam Sizes with large SC Tune Swings TWISS fails for integer and/or half integer tunes  Trick to avoid it: turn on SC tune-shift in small steps and let tunes converge at each step Lines represent Laslett formula Reference: Valery Kapin talk at GSI 2009

Y.Alexahin, A.Drozhdin, N.Kazarinov, “direct space charge in Fermilab Booster with MAD8”, Beams-doc-2609-v1, 2007 Unfortunately TRACK module of MAD8 (frozen, only executable file) does not permit to have more than 200 BB elements. Thereby the particle tracking has been fulfilled with 197 BB elements with average distance between ~ to 2.4 m. Number of particle Beam emittance Red – horizontal, blue – vertical Turn by Turn run of MAD8 under control of Mathematica

V. Kapin (F. Schmidt)SC-136 BB-sizes for 6D simulations Conte & MacKay, “Intro to Phys. Part. Acc”, 1991, 5.5 Dispersion: trajectories x(s) is composed of two parts: a)betatron oscillations x  (s), and particular solution due to dispersion x D (s)=D(s)  p. b)Statistically beam size is   tot =    + [ D(s)  p ] 2 Beam size in bends ( D x  0)  is increased for beam with  p

V. Kapin (F. Schmidt)SC-137 Tracking with many BB in 6D S.C. kicks by BB-elements for non-linear tracking; (C.O. shifts are included; a total number BB-elements is not limited); Thin-lens tracking with MADX (similar to MAD8) with lattice conversion by MAKETHIN command Transverse BB-forces are modulated according to longitudinal Gaussian distribution. Two versions: a) given “fake” harmonical oscillations (GSI- 2009) b)  T from real 6D tracking (FNAL-2010)

V. Kapin (F. Schmidt)SC-138 Benchmarking with 4D & 6D simulations using MADX + Sp.Ch. for SIS18 model (GSI, 2009) vs. G. Franchetti (GSI), MICROMAP S. Machida (RAL), SIMPSON G. Franchetti, “Code Benchmarking on Space Charge Induced Trapping”:

V. Kapin (F. Schmidt)SC-139 Benchmarking SIS18 steps 1-5 for 4D 1) Benchmarking of the Phase Space MADX with BBs

V. Kapin (F. Schmidt)SC ) Benchmarking of the tunes versus particle amplitude. Sextupole OFF.

V. Kapin (F. Schmidt)SC ) Benchmarking of the tunes versus particle amplitude, with sextupole ON.

V. Kapin (F. Schmidt)SC ) Benchmarking of the Tunes versus particle amplitude, with sextupole ON

V. Kapin (F. Schmidt)SC ) Benchmarking of phase space with space charge and sextupole on at Qx = MAD-X with BB’s MICROMAP SIMPSONS

V. Kapin (F. Schmidt)SC ) Benchmarking SIS18 for 6D (fake longitudinal motion) Trapping test particle during 1 synchrotron oscillation Evolution of the transverse rms emittance of a bunch (1000particles)

V. Kapin (F. Schmidt)SC-1315 The MACRO technique of MAD-X is working fine but typically one ends up with very complex logic  Therefore quite unpractical for new applications. Macros are inherently slow! Therefore the idea was to reduce the use of Macros as much as possible and to modify the code to do most of the work directly within MAD-X. In detail: Time varying multipoles via turn-by-turn TFS tables Time varying phase trombone (Forest/Schmidt: Don’t use them!) Time varying RF cavity voltage Include the sigma and emittance determination after each turn Allow for stop&go for the MAD-X tracking routine to allow intermediate TWISS calculation at start and the locations of the SC elements Input via several TFS tables. MADX-SC V5 (2012)

V. Kapin (F. Schmidt)SC-1316 Frank has left the MAD-X project 2 years ago. Laurent Deniau at CERN has taken over till then. Frank has been a manager of the code with limited involvement in the actual code writing other than the PTC part. In particular, the core of the code in C has been written exclusively by Hans Grote. In a state of emergency Frank had to be ready to fix the code quickly. MAD-X is not well suited for this task since deferred evaluation does not easily allow to put element parameters back into the database. Various C routines were needed but Hans did not have to help! MAD-X Status

V. Kapin (F. Schmidt)SC-1317 Lattice with variable Parameters M.J.Syphers, “Status of Mu2e Operating Scenario”, Feb, 2010 Beams-doc-3556  Mu2e experiment  Accelerator issue: 8 GeV Accumulator and Debuncher storage rings are used  Compact bunches (<200ns,  <0.025) are prepared in Accumulator ring  Bunches are transferred to Debuncher ring and extracted out to the experiment using 3-rd order resonant extraction with spill times ~150ms. A stable, slow spill with a very intense proton beam is a big challenge.

V. Kapin (F. Schmidt)SC-1318 N_macro_surv vs Turn Number for the Debuncher Timing on CERN computer Macro version ~20-24h MADX-SC ~2-4h MAD-X V3 with Macros MADX-SC V5

V. Kapin (F. Schmidt)SC-1319 Ex,y_rms vs Turn Number for the Debuncher MADX-SC V5MAD-X V3 with Macros

V. Kapin (F. Schmidt)SC-1320 Longitudinal Emittance vs Turn Number for the Debuncher MAD-X V3 with Macros MADX-SC V5

Slow extraction in Debuncher using Orbit Simulations with Orbit code (PIC + matrices) by Vladimir Nagaslaev 3-order resonance with variable tune Qx and sext. str. K2 First “strange” results for extraction: “intensity drop” intensity vs turns Need to simulate in a lattice with variable parameters (Qx, K2)

V. Kapin (F. Schmidt)SC-1322 Simulation Tasks: Compare MADX and ORBIT space-charge simulations using the Debuncher lattice in ORBIT(6x6matr.)-style (created by V. Nagaslaev) Compare simulations for lattices with MAD-style (MAD-8 -> MADX) and ORBIT-style (6x6 matr.) Valery’s task was the code validations and comparisons. The design of slow extraction is used “as is” and out of his scope. “Intensity drop” was resolved simply at the beginning: Valery advised to make mesh refinements PIC: “Total Beam size increases at slow extraction => mesh number should be increased to keep the cell size”

V. Kapin (F. Schmidt)SC-1323 Simulations with ORBIT by V. Nagaslaev Ramps are given in tables; Npart in bunch ~ 2.5e12

V. Kapin (F. Schmidt)SC-1324 MADX-SC is going to be used at CERN as their frozen model tool for space charge studies. Any developments, bugfixes etc will be provided to Fermilab. Most probable I (Valery Kapin) and Yuri Alexahin will use it and CERN will hopefully help in case of problems and/or further developments. There has already been request by both BNL and GSI to apply it for their machines. Code, examples and help has been offered by CERN. In the meantime the code has been implemented into the latest version of MAD-X but a careful checking remains to be done. Documentation will soon be provided  responsibility F. Schmidt Future Developments

V. Kapin (F. Schmidt)SC-1325 Reserve

V. Kapin (F. Schmidt)SC-1326 Self-consistent (linear) BB-sizes Space-charge kicks simulated by the 1st order MATRIX for linear TWISS calculations; Linearly self-consistent beam sizes calculated by iterations with the TWISS; Analytical Laslett's formula and numerical iterations provide near the same tune shifts (for coasting beam !!!)