Kazuro Furukawa, KEK, Sep.2006. Envelope Simulation with Space-charge SAD Workshop 2006 1 Beam Envelope Simulation with Space Charge in SAD Kazuro Furukawa.

Slides:



Advertisements
Similar presentations
IIAA GPMAD A beam dynamics code using Graphics Processing Units GPMAD (GPU Processed Methodical Accelerator Design) utilises Graphics Processing Units.
Advertisements

Transverse Emittance and Energy Spread Measurements for IFMIF-EVEDA C. OLIVER Contributors: P. A. Phi NGHIEM, C. Marolles ABI Workshop on Emittance Diagnostics.
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,
J. Rudolph, Helmholtz-Zentrum Berlin EuCARD 2nd ANNUAL MEETING Slice emittance measurements at the ELBE superconducting RF photoinjector.
1 ILC Bunch compressor Damping ring ILC Summer School August Eun-San Kim KNU.
Linear Collider Bunch Compressors Andy Wolski Lawrence Berkeley National Laboratory USPAS Santa Barbara, June 2003.
Ion instability at SuperKEKB H. Fukuma (KEK) and L. F. Wang (SLAC) ECLOUD07, 12th Apr. 2007, Daegu, Korea 1. Introduction 2. Ion trapping 3. Fast ion instability.
SLAC is focusing on the modeling and simulation of DOE accelerators using high- performance computing The performance of high-brightness RF guns operating.
July 22, 2005Modeling1 Modeling CESR-c D. Rubin. July 22, 2005Modeling2 Simulation Comparison of simulation results with measurements Simulated Dependence.
Accelerator Physics  Basic Formalism  Linear Accelerators  Circular Accelerators  Magnets  Beam Optics  Our Accelerator Greg LeBlanc Lead Accelerator.
Alessandro Cappelletti for CTF3 collaboration 5 th May 2010 RESULTS OF BEAM BASED RF POWER PRODUCTION IN CTF3.
Introduction Status of SC simulations at CERN
CSR calculation in ERL merger section Tsukasa Miyajima KEK, High Energy Accelerator Research Organization 8 November, 2010, 13:30 Mini Workshop on CSR.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
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.
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, N.Kazarinov.
1 Bunched-Beam RMS Envelope Simulation with Space Charge Christopher K. Allen Los Alamos National Laboratory.
Incoherent pair background processes with full polarizations at the ILC Anthony Hartin JAI, Oxford University Physics, Denys Wilkinson Building, Keble.
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,
TOF Meeting, 9 December 2009, CERN Chiara Zampolli for the ALICE-TOF.
CHRISTOPHER K. ALLEN, ORNL HIROYUKI SAKO, JAEA MASANORI IKEGAMI, KEK GUOBAO SHEN, JAEA HIROSHI IKEDA, VIC TOMOHIRO OHKAWA, JAEA AKIRA UENO, JAEA XAL Online.
Development of Simulation Environment UAL for Spin Studies in EDM Fanglei Lin December
LLRF Cavity Simulation for SPL
Matching recipe and tracking for the final focus T. Asaka †, J. Resta López ‡ and F. Zimmermann † CERN, Geneve / SPring-8, Japan ‡ CERN, Geneve / University.
DTL: Basic Considerations M. Comunian & F. Grespan Thanks to J. Stovall, for the help!
Details of space charge calculations for J-PARC rings.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Two Longitudinal Space Charge Amplifiers and a Poisson Solver for Periodic Micro Structures Longitudinal Space Charge Amplifier 1: Longitudinal Space Charge.
Alexei Fedotov, 02/02/12 1 Potentials for luminosity improvement for low-energy RHIC (with electron cooling) February 2, 2012.
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)
November 14, 2004First ILC Workshop1 CESR-c Wiggler Dynamics D.Rubin -Objectives -Specifications -Modeling and simulation -Machine measurements/ analysis.
Beam Dynamics and FEL Simulations for FLASH Igor Zagorodnov and Martin Dohlus Beam Dynamics Meeting, DESY.
1 Bunched-Beam Envelope Simulation with Space Charge within the SAD Environment Christopher K. Allen Los Alamos National Laboratory.
J-PARC Trace3D Upgrades Christopher K. Allen Los Alamos National Laboratory.
Alexander Molodozhentsev KEK for MR-commissioning group September 20, 2005 for RCS-MR commissioning group September 27, 2005 Sextupole effect for MR -
Accumulator Stacktail Cooling Paul Derwent December 18, 2015.
Max Cornacchia, SLAC LCLS Project Overview BESAC, Feb , 2001 LCLS Project Overview What is the LCLS ? Transition from 3 rd generation light sources.
Midwest Accelerator Physics Meeting. Indiana University, March 15-19, ORBIT Electron Cloud Model Andrei Shishlo, Yoichi Sato, Slava Danilov, Jeff.
Tuesday, 02 September 2008FFAG08, Manchester Stephan I. Tzenov1 Modeling the EMMA Lattice Stephan I. Tzenov and Bruno D. Muratori STFC Daresbury Laboratory,
J-PARC Accelerator and Beam Simulations Sep. 7th, SAD2006 Masahito Tomizawa J-PARC Main Ring G., KEK Outline of J-PARC Accelerator Characteristics of High.
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.
26 Oct 2010PC Physics Requirements of Software from Chris R ~19 Oct. My.
CERN, BE-ABP (Accelerators and Beam Physics group) Jürgen Pfingstner Adaptive control scheme for the main linac of CLIC Jürgen Pfingstner 21 th of October.
Lecture 4 - E. Wilson - 23 Oct 2014 –- Slide 1 Lecture 4 - Transverse Optics II ACCELERATOR PHYSICS MT 2014 E. J. N. Wilson.
Ion effects in low emittance rings Giovanni Rumolo Thanks to R. Nagaoka, A. Oeftiger In CLIC Workshop 3-8 February, 2014, CERN.
FASTION (by end 2007) A code to study the fast ion instability in a transport line Multi-bunch code, ions and electrons are macro-particles Ions of an.
HINS Linac Simulations : Benchmarking, Jitter and Stripping. Jean-Paul Carneiro FNAL Accelerator Physics Center Accelerator Physics and Technology Workshop.
BBFP J. Wei’s Fokker-Planck solver for bunched beams November 21 st, 2007 CLIC Beam dynamics meeting Y. Papaphilippou.
ICFA Workshop on Future Light Source, FLS2012 M. Shimada A), T. Miyajima A), N. Nakamura A), Y. Kobayashi A), K. Harada A), S. Sakanaka A), R. Hajima B)
Vacuum specifications in Linacs J-B. Jeanneret, G. Rumolo, D. Schulte in CLIC Workshop 09, 15 October 2009 Fast Ion Instability in Linacs and the simulation.
Intra-Beam scattering studies for CLIC damping rings A. Vivoli* Thanks to : M. Martini, Y. Papaphilippou *
Prebunching electron beam and its smearing due to ISR-induced energy diffusion Nikolai Yampolsky Los Alamos National Laboratory Fermilab; February 24,
USPAS 2005 Recirculated and Energy Recovered Linacs1 CHESS / LEPP USPAS Course on Recirculated and Energy Recovered Linacs I. V. Bazarov Cornell University.
Envelope tracking as a tool for low emittance ring design
Orbit Response Matrix Analysis
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‡
402.5 MHz Debunching in the Ring
Andrei Shishlo ORNL SNS Project Florence, Italy November 2015
Electron Cooling Simulation For JLEIC
Sabrina Appel, GSI, Beam physics Space charge workshop 2013, CERN
R. Bartolini Diamond Light Source Ltd
Lecture 4 - Transverse Optics II
Electron Rings Eduard Pozdeyev.
Lecture 4 - Transverse Optics II
Dark current in TESLA linac
Physics 417/517 Introduction to Particle Accelerator Physics
Presentation transcript:

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Beam Envelope Simulation with Space Charge in SAD Kazuro Furukawa (KEK) Christopher K. Allen (LANL) Sep. 6, 2006 Workshop SAD2006

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Contents  Background  KEKB, J-PARC, SNS, Space Charge, Beam loss, Commissioning-tool  Envelope Simulation with Space Charge  Linear Calculation, Assumption  Adaptive Stepping  Find Appropriate Step for Space Charge Matrix  For SAD  Example, Comparison

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Background  Success of KEKB with SAD  Fast Commissioning Tool was a Primary Concern  to Compete with SLAC/PEPII  Pre-SAD  Data Collection - Data Manipulation - Compare/Fit to Simulation - Feedback to Machine  In Several Programs, by Several persons, may take a week  SAD  In one Panel, by one person, in a minute  All-in-one (All but Kitchen-sink)  Accelerator Modeling, Machine Controls, Data Archives, Data Manipulations, GUI  Anyone can Write  List-oriented (Mathematica-like) Scripting Language  Was Quicker to Achieve Higher Luminosity

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Background  J-PARC  Fast Commissioning Tool Again  Determine/Calibrate Accelerator Equipment  Optimize Parameters one-by-one  Quicker Turn-around  Space Charge Calculation is Expensive  Linear Optics vs. Space Charge  Envelope Simulation vs. Tracking Simulation  At least Linac need Space Charge Handling from the Beginning  Peak Current cannot be Reduced, only Pulse Width can be reduced  RCS/MR may start with Linear Optics (?)  SNS  Adaptive Envelope Simulation under XAL/Java Environment  Possible J-PARC Strategy(?), with Online and Offline Models  Envelope Online Tools for Commissioning  Tracking Offline Tools for Detailed Beam-loss Estimation

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Background  Chance to Invite Christopher K. Allen  Experience to Develop Envelope Simulation  XAL/Java Environment  Same Method under SAD(?)  Possible Application to Electron Machines(?)

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Beam Simulation Overview  Extension of Linear Beam Optics  In a straightforward manner, the linear beam optics model for single particle dynamics can be extended to the dynamics for the second moments of the beam.  For intense beams, space charge effects are significant and must be included. For a beam optics model, this means a matrix  sc that accounts for space charge (linear force!). It is accurate only over short distance.  For ellipsoidally symmetric beams, we can produce such a  sc that is almost independent of the actual beam profile.

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Beam Simulation Overview  In the SAD environment we are given the full transfer matrix  n for each element n. We must take the N th root of each  n where N = L n /  s is the number of space charge “kicks” to be applied within the element.  Propagate moment matrix  through each element using above transfer matrix and the space charge matrix  sc computed for each step  s  Since the second moments depend upon  sc and  sc depends upon the second moments, we have self-consistency issues. We employ an adaptive propagation algorithm that maintains certain level of consistency.

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Envelope Simulation  RMS envelope simulation is based on the following:  Phase space coordinates z = (x x’ y y’ z dp) T  Linear beam optics - transfer matrices z n+1 =  n z n  Moment operator ,  g    g(z)f(z)d 6 z  Moment matrix  =  zz T   Propagation of moment matrix  n+1 =  n  n  n T

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Implementation under SAD  Initialization  We can obtain {  n } and {L n }, the lengths of the elements, from calls to the SAD environment {  n } = TransferMatrices/.Emittance[Matrix->True]; {L n } = LINE[“LENGTH”];  The initial moment matrix  0 is built from the initial Twiss parameters  0 = CorrelationMatrix6D[{ , ,  } x, { , ,  } y, { , ,  } z ]

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Implementations  Sub-Dividing Beamline Elements (the N th root of  n )  The transfer matrix  n for an element n has the form  n = exp(L n F n ) where L n is the length of the element and F n is the generator matrix which represents the external forces of element n.  To sub-divide element n, we require the matrix F n, given by F n = log(  n )/L n  The “sub-transfer matrix”  n (  s) for element n can then be computed as  n (  s)= exp(  sF n )

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Implementations  Transfer Matrices with Space Charge  Whether using the equations of motion or Hamiltonian formalism, within a section  s of a element n we can write the first-order continuous dynamics as z’(s) = F n z(s) + F sc (  )z(s)  where the matrix F n represents the external force of element n and F sc (  ) is the matrix of space charge forces.  For F sc (  ) constant, the solution is z(s) = exp[s(F n + F sc )]z 0.  Thus, the full transfer matrix including space charge should be  n = exp[  s(F n +F sc )]

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Field Calculations  S pace charge effects are included by assuming the beam has ellipsoidal symmetry with dimensions corresponding to the statistics in . f(z) = f(z T   1 z)  A nalytic field expressions for such a bunch distributions are available where a, b, c, are the semi-axes of the ellipsoid (depends upon  ) and (x,y,z) are the coordinates along the semi-axes  Second-order Accurate Transfer-Matrix can be generated

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Stepping  Approach  Form Form a transfer matrix  (s;s 0 ) that includes space effects to second order (2 nd order accurate)  Choose error tolerance  in the solution (~ to )  Use  (s;s 0 ) to propagate  in steps h whose length is determined adaptively to maintain 

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Codeing Example ! ! ! MODULE ScheffTest ! ! ! ! Module for testing the envelope space charge routines in ! SADScript. Specifically for testing the functions found ! in the packages ! ! Scheff.n ! Trace3dToSad.n ! TwissUtility.n ! ! Currently the file is set up to simulation the J-PARC transport ! line at 181 MeV. ! ! Author : Christopher K. Allen ! Created : November, 2005 ! !!======================================== !! !! Initialize SAD !! !!======================================== FFS;! Begin SADScript ! ! GLOBAL CONSTANTS ! strBeamline = "L3BT01all"; ! beamline strFileOut = "ScheffTestOut.txt" ! output file name ! ! Load Beamline ! GetMAIN["~ckallen/J-Parc/linac/simdb-LI_L3BT01-nopmq0000.sad"]; !GetMAIN["~ckallen/J-Parc/linac/simdb-NoBends.sad"]; L3BT01 = ExtractBeamLine["L3BT01all"]; ! !Initialize SAD Environment ! USE L3BT01; TRPT; INS; CAL; NOCOD; RFSW; $DisplayFunction = CanvasDrawer; ! !Define the Initial Beam Particle ! !MASS = GEV; !CHARGE = -1; !MOMENTUM = GEV; !InitialOrbits = {{ 0.0,0.0,0.0,0.0,0.0,0.0 }};

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop ! ! ! FUNCTION SaveMatrix ! ! ! ! Function saving an arbitrary matrix to persistent storage. ! ! Parameters ! strFile file name to store matrix ! mat matrix to be stored ! ! Returned Value ! None ! ! Author : Christopher K. Allen ! Created : November, 2005 ! SaveMatrix[strFile_, mat_] := Module[ { dims, ! matrix dimensions vector M, ! number of rows N, ! number of columns m, ! loop control - rows n, ! loop control - columns fos ! file output stream }, dim = Dimensions[mat]; M = dim[[1]]; N = dim[[2]]; fos = OpenWrite[strFile]; Write[fos, "Matrix Dimensions ", M, "x", N]; For[m=1, m<=M, m++, For[n=1, n<=N, n++, WriteString[fos," : ", mat[[m,n]]] ]; Write[fos, " : "]; ]; Close[fos]; ]; ! ! INITIALIZE SIMULATION ! ! TRACE3D Parameters ! f = 324.0e6; ! RF frequency (Hz) Er = e6; ! particle rest energy (eV) W = e6; ! beam kinetic energy (eV) XI = 30.0e-3 ! beam current (A) vecTwissXt3d = { , 5.774, 1.889}; vecTwissYt3d = { , , 1.706}; vecTwissZt3d = {0.3095, , }; ! !Numerical Parameters ! h0 = 0.01;! initial step length errSoln = 1.0e-5;! solution error tolerance hmax = 0.0;! maximum step length (=0 turned off) hslack = 0.05;! adaptive step backlash tolerance ! ! Convert to SAD Parameters ! Q = XI/f; ! beam bunch charge (C) vecTwissX = TraceToSadTransTwiss[vecTwissXt3d]; vecTwissY = TraceToSadTransTwiss[vecTwissYt3d]; vecTwissZ = TraceToSadLongTwiss[f, Er, W, vecTwissZt3d];

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop ! ! RUN SIMULATION ! ! Compute generalized perveance and initial moment matrix K0 = ComputePerveance[f, Er, W, Q]; sig0 = CorrelationMatrix6D[vecTwissX, vecTwissY, vecTwissZ]; ! Run simulation !{lstPos, lstGamma, lstSig} = ScheffSimulate[K0, sig0]; {lstPos, lstGamma, lstSig} = ScheffSimulate[K0, sig0, h0, errSoln, hslack, hmax]; ! Store results SaveBeamMatrixData[strFileOut, lstPos, lstGamma, lstSig]; ! Look at the Results PlotBeamBeta[lstPos, lstSig]; !{lstPos, lstGamma, lstTm} = GetBeamlineElementData[]; !TmRf = lstTm[[161]]; !posRf = lstPos[[161]]; !SaveMatrix["SadRfGapMatrix.txt",TmRf]; Exit[];

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Comparison to Trace3D  Simulation Test  J-PARC Beam Transport Line from Linac to RCS  181MeV, 30mA  Good Agreement  Small Discrepancy  Symplectic transfer matrix  Adaptive Stepping

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop Summary  Envelope Simulation with Space Charge was Implemented in SAD Environment  There are Several Other Efforts  Application to Electron is Rather Difficult with Envelope  Oide-san’s Poisson Solver is Possible

Kazuro Furukawa, KEK, Sep Envelope Simulation with Space-charge SAD Workshop