Longitudinal Beam Dynamics Simulations with BLonD 1 tCSC2015, Danilo Quartullo, CERN Longitudinal Beam Dynamics Simulations with BLonD Danilo Quartullo,

Slides:



Advertisements
Similar presentations
Linear Collider Bunch Compressors Andy Wolski Lawrence Berkeley National Laboratory USPAS Santa Barbara, June 2003.
Advertisements

Helmholtz International Center for Oliver Boine-Frankenheim GSI mbH and TU Darmstadt/TEMF FAIR accelerator theory (FAIR-AT) division Helmholtz International.
Longitudinal motion: The basic synchrotron equations. What is Transition ? RF systems. Motion of low & high energy particles. Acceleration. What are Adiabatic.
July 22, 2005Modeling1 Modeling CESR-c D. Rubin. July 22, 2005Modeling2 Simulation Comparison of simulation results with measurements Simulated Dependence.
Numerical Methods of Longitudinal Beam Dynamics
Eric Prebys, FNAL.  We consider motion of particles either through a linear structure or in a circular ring USPAS, Knoxville, TN, Jan , 2014 Lecture.
Introduction Status of SC simulations at CERN
Topic Three: Perturbations & Nonlinear Dynamics UW Spring 2008 Accelerator Physics J. J. Bisognano 1 Accelerator Physics Topic III Perturbations and Nonlinear.
Code optimization in BLonD D. Quartullo 30/10/2014HEADTAIL working group meeting1 Acknowledgements: T. Argyropoulos, B. Hegner, A. Lasheen, J. E. Muller,
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
S.J. Brooks RAL, Chilton, OX11 0QX, UK Options for a Multi-GeV Ring Ramping field synchrotron provides fixed tunes and small.
22/03/1999A.Blas1 Hollow bunches A. Blas, S. Hancock, S. Koscielniak, M. Lindroos, F. Pedersen, H. Schonauer  Why: to improve space charge related problems.
Oliver Boine-FrankenheimSIS100-4: High current beam dynamics studies SIS 100 ‘high current’ design challenges o Beam loss in SIS 100 needs to be carefully.
History and motivation for a high harmonic RF system in LHC E. Shaposhnikova With input from T. Argyropoulos, J.E. Muller and all participants.
Proton Driver: Status and Plans C.R. Prior ASTeC Intense Beams Group, Rutherford Appleton Laboratory.
Elias Métral, CERN Accelerator School, Darmstadt, Germany, October 3rd, 2009 /221 TRANSVERSE INSTABILITIES E. Métral (CERN) Time (20 ns/div)  The purpose.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
1.Institute For Research in Fundamental Science (IPM), Tehran, Iran 2.CERN, Geneva, Switzerland Mohsen Dayyani Kelisani Thermionic & RF Gun Simulations.
 Advanced Accelerator Simulation Panagiotis Spentzouris Fermilab Computing Division (member of the SciDAC AST project)
Double RF system at IUCF Shaoheng Wang 06/15/04. Contents 1.Introduction of Double RF System 2.Phase modulation  Single cavity case  Double cavity case.
Paul Derwent 14 Dec 00 1 Stochastic Cooling Paul Derwent 14 Dec 00
Effect of nonlinearity on Head-Tail instability 3/18/04.
Physics of electron cloud build up Principle of the multi-bunch multipacting. No need to be on resonance, wide ranges of parameters allow for the electron.
Improved electron cloud build-up simulations with PyECLOUD G. Iadarola (1),(2), G. Rumolo (1) (1) CERN, Geneva, Switzerland, (2) Università di Napoli “Federico.
Midwest Accelerator Physics Meeting. Indiana University, March 15-19, ORBIT Electron Cloud Model Andrei Shishlo, Yoichi Sato, Slava Danilov, Jeff.
Update on injection studies of LHC beams from Linac4 V. Forte (BE/ABP-HSC) Acknowledgements: J. Abelleira, C. Bracco, E. Benedetto, S. Hancock, M. Kowalska.
IPM EM Simulations 9 th DITANET Topical Workshop on Non-Invasive Beam Size Measurement for High Brightness Proton and Heavy Ion Accelerators April.
GWENAEL FUBIANI L’OASIS GROUP, LBNL 6D Space charge estimates for dense electron bunches in vacuum W.P. LEEMANS, E. ESAREY, B.A. SHADWICK, J. QIANG, G.
DEVELOPMENT OF A STEADY STATE SIMULATION CODE FOR KLYSTRONS
1 iCSC2015, Helga Timko, CERN Numerical Challenges & Limitations of Longitudinal Beam Dynamics Simulation of Longitudinal Beam Dynamics Problems in Synchrotrons.
INTENSITY LIMITATIONS (Space Charge and Impedance) M. Zobov.
Example: Longitudinal single bunch effects Synchrotron tune spread Synchrotron phase shift Potential well distortion Energy spread widening (microwave.
Chapter 10 Rüdiger Schmidt (CERN) – Darmstadt TU , version E 2.4 Acceleration and longitudinal phase space.
Main activities and news from the Impedance working group.
Eric Prebys, FNAL.  We consider motion of particles either through a linear structure or in a circular ring USPAS, Hampton, VA, Jan , 2015 Longitudinal.
IBS and luminosity evolution with higher harmonic RF Tom Mertens (former Technical Student now doing PhD in Quantum Field Theory in Brussels) Some changes.
GUINEA-PIG: Beam-beam interaction simulation status M. Alabau, P. Bambade, O. Dadoun, G. Le Meur, C. Rimbault, F. Touze LAL - Orsay D. Schulte CERN - Genève.
BBFP J. Wei’s Fokker-Planck solver for bunched beams November 21 st, 2007 CLIC Beam dynamics meeting Y. Papaphilippou.
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,
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,
Lecture 4 Longitudinal Dynamics I Professor Emmanuel Tsesmelis Directorate Office, CERN Department of Physics, University of Oxford ACAS School for Accelerator.
Managed by UT-Battelle for the Department of Energy Python ORBIT in a Nutshell Jeff Holmes Oak Ridge National Laboratory Spallation Neutron Source Space.
Synchrotron frequency shift as a probe of the CERN SPS reactive impedance s HB2014 – 11/13/14 A. Lasheen, T. Argyropoulos, J. Esteban Müller, D. Quartullo,
Halo and Tail Generation Studies and Application to the CLIC Drive Beam Presented by: Miriam Fitterer Acknowledgements: Erik Adli, Ijaz Ahmed,
OPERATED BY STANFORD UNIVERSITY FOR THE U.S. DEPT. OF ENERGY 1 Alexander Novokhatski April 13, 2016 Beam Heating due to Coherent Synchrotron Radiation.
Accumulation Experiments with Stochastic Cooling in the ESR
Longitudinal Dynamics of Charged Particle
Modelling of diagnostics for the ISIS ring
Session 5: Instability Modeling, Observations and Cures
Lecture 2 Live Feed – CERN Control Centre
TRANSVERSE RESISTIVE-WALL IMPEDANCE FROM ZOTTER2005’S THEORY
Beam-beam R&D for eRHIC Linac-Ring Option
Introduction to particle accelerators
All our thanks to Kevin Li and Michael Schenck BE/ABP-HSC CERN
Lecture 6 ACCELERATOR PHYSICS MT 2011 E. J. N. Wilson.
Longitudinal Dynamics & RF Capture
A Head-Tail Simulation Code for Electron Cloud
Chapter 8: Sorting in Linear Time
J. Uythoven, W. Venturini Delsolaro, CERN, Geneva
Lecture 6 ACCELERATOR PHYSICS MT 2015 E. J. N. Wilson.
Electron Rings Eduard Pozdeyev.
DEMONSTRATION OF TRIPLE BUNCH SPLITTING IN THE CERN PS
Explanation of the Basic Principles and Goals
Simulating transition crossing in the PS with HeadTail
Chapter 8: Sorting in Linear Time
Accelerator Physics G. A. Krafft, A. Bogacz, and H. Sayed
Accelerator Physics Coupling Control
PSB magnetic cycle 900 ms MeV to 2 GeV
Elena Benedetto, CERN 16/12/08
Presentation transcript:

Longitudinal Beam Dynamics Simulations with BLonD 1 tCSC2015, Danilo Quartullo, CERN Longitudinal Beam Dynamics Simulations with BLonD Danilo Quartullo, Helga Timko CERN, BE-RF Thematic CERN School of Computing, May 2015

Longitudinal Beam Dynamics Simulations with BLonD 2 tCSC2015, Danilo Quartullo, CERN The CERN Accelerator Complex

Longitudinal Beam Dynamics Simulations with BLonD 3 tCSC2015, Danilo Quartullo, CERN Motivation  Why do we care about the beam evolution over time?  To design our machines  To control/manipulate the beam (splitting, shaping…)  PSB: 1 bunch (800 ns) in each of 4 rings, LHC: 2808 bunches (1.2 ns)  To ensure stable beams and safe operation  Unstable beams  loss of luminosity, radiation/safety issue – Full LHC beam stores 350 MJ, can drill a hole into the beam pipe!  What do we need to model?  Charged particles on electromagnetic fields  Intensity effects (beam-machine interaction)  Feedback loops (machine dependent)  Complex machines, numerical models needed!

Longitudinal Beam Dynamics Simulations with BLonD 4 tCSC2015, Danilo Quartullo, CERN Synchrotron model  Equations of motion  Nonlinear differential equations  Sinusoidal potential  Independent particle treatment  Intensity effects  Accumulated effect from all particles “in front” (convolution)  Particles depend on each other  Feedback loops  Interaction between RF frequency/phase and particles

Longitudinal Beam Dynamics Simulations with BLonD 5 tCSC2015, Danilo Quartullo, CERN Visual example  Beam capture in LHC  Time axis = coordinate along the beam pipe  Energy axis = particle’s energy offset from the synchronous particle  “Bucket” (red) = the limit of closed trajectories  De-bunching outside of it * grey = particles that hit the separatrix Simulated withhttp://blond.web.cern.chhttp://blond.web.cern.ch

Longitudinal Beam Dynamics Simulations with BLonD 6 tCSC2015, Danilo Quartullo, CERN Histogram in python  Python built-in functions can be handy but also expensive  E.g. numpy.histogram always does a sorting  For M macroparticles and S slices the routine scales linear in M and S for M > (=2 16 ) Numpy.histogram: ( a = coordinate array, bins =e dge array, M = len(a), S = len(bins)-1 ) block = for i in arange(0, len(a), block): sa = sort(a[i:i+block]) n += np.r_[sa.searchsorted(bins[:-1], 'left'), \ sa.searchsorted(bins[-1], 'right')] n = np.diff(n) ~ 2 16 log × M/2 16 ~ S log × M/2 16 ~ S Σ = 16 M (1 + S/2 16 ) + S

Longitudinal Beam Dynamics Simulations with BLonD 7 tCSC2015, Danilo Quartullo, CERN Histogram in c++  In comparison, the ‘hand-made’ histogram that uses no sorting is linear in M, but independent of S (because access time doesn’t depend on array length) cpp_histogram: ( input = array of coordinates, output = array of edges, M = len(input), S = len(output) – 1 ) inv_bin_width = n_slices / (cut_right - cut_left); for (i = 0; i < n_macroparticles; i++) { a = input[i]; if ((a cut_right)) continue; fbin = (a - cut_left) * inv_bin_width; ffbin = (uint)(fbin); output[ffbin] = output[ffbin] + 1.0; } ~ c 1 ~ c 2 M ~ c 3 M ~ c 4 M ~ c 5 M ~ c 6 M ~ c 7 M Σ = c 1 + C M

Longitudinal Beam Dynamics Simulations with BLonD 8 tCSC2015, Danilo Quartullo, CERN An example of potential speed-up  Profiled with M = 50000, S = 100, 1000 iterations on a PC  Improved histogram, VDT sine function, vectorised tracking numpy.histogram, python tracker C++ histogram, C++ tracker