Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII...
Transcript of Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII...
![Page 1: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/1.jpg)
Simulation for EXFEL SASE3
and FLASHII
Guangyao Feng 16.09.2013
MPY, DESY
![Page 2: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/2.jpg)
Contents
The plan for last month
Achieved progress
The plan for this month
![Page 3: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/3.jpg)
The plan for last month
1.The particle distribution file conversion from
genesis output to Astra input at the exit of
SASE1 for 0.5nC charge case. (100%)
2.Beam dynamics simulation between SASE1
and SASE3 for 0.5nC charge case. (50%)
![Page 4: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/4.jpg)
Particle distribution files conversion from Genesis to Astra (Done)
1. The newest version of Genesis which supports HDF5 output.
2. Setting IONE4ONE=1.
The macro particles have the same charges per slice. The
number of particles in each slice can be adjusted automatically to
keep the original current profile (Npar=8000).
3. ZSEP=20
Nslice=(s1-s0)/(ZSEP×XLAMDs)
![Page 5: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/5.jpg)
Two methods to get the Genesis output particle distribution file
(1) IDMPPAR
Dumping the particle distribution at the exit of the undulator.
(2) IPPART and ISPART
Writing the particle distribution to file at each IPPARTth integration step.
Wrting the particle distribution to file for every ISPART slice.
Genesis output
HDF5 file
Particle distribution
with Normal 6D phase
space
Astra particle distribution
input file
![Page 6: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/6.jpg)
Beam dynamics simulation and radiation calculation for SASE3 (Done)
Q=0.5nC, E~17.5GeV, Ipeak~5kA
SASE3 simulation for two cases:
Before SASE1
(1) SASE1 switched off
(2) SASE1 switched on
![Page 7: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/7.jpg)
(1)
(2)
![Page 8: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/8.jpg)
(1)
(2)
![Page 9: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/9.jpg)
SASE3 calculation
0 20 40 60 80 100 120 140
1E-4
1E-3
0.01
0.1
1
Rad
iatio
n e
ne
rgy [m
J]
z [m]
SASE3
Q=0.5nC
SASE1 Switch off
E=2.64mJ at the exit of SASE3
(SASE1 switched off)
0 20 40 60 80 100 120 140
1E-4
1E-3
0.01
0.1
1
Radia
tion e
nerg
y [m
J]
z [m]
SASE3
Q=0.5nC
SASE1 Switch on
E=0.85mJ at the exit of SASE3
(SASE1 switched on)
One random seed
![Page 10: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/10.jpg)
Simulation for FLASHII
At the end of the linac E=1.0GeV
Ipeak=~2.5kA
Beam energy at some key positions
E3=1.0GeV E1=145.5MeV E2=450MeV
gun ACC1
ACC39
ACC2,3 ACC4,5,6,7 BC2 BC3
Extraction arc
12 degree
In horizontal plane
![Page 11: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/11.jpg)
Charge
Q,
nC
Curvature
radius in
BC2
r1 [m]
Momentum
compaction
factor in BC2,
R56,2 [mm]
compr.
In
BC2
Curvature
radius in
BC3
r2 [m]
Momentum
compaction
factor in BC3,
R56,3 [mm]
Total
compr.
C
1.0 1.618 180.7 2.7 5.770 83.6 55
0.5 1.618 180.7 4.7 6.615 63.5 82
0.25 1.618 180.7 6.4 7.210 53.4 120
0.10 1.618 180.7 11.7 8.770 36.0 298
0.02 1.618 180.7 54.8 14.000 14.1 670
Parameters for the bunch compressors
Parameter Settings
Exciting current* IBC2~ 70.93A IBC3~ <62.00A
E1=145.5MeV, E2=450MeV
# Igor Zagorodnov, Beam Dynamics and FEL Simulations for FLASH, 2010, BD meeting, DESY
* Estimation formula from Martin Dohlus
11.4 1.93m
r 25.3 16.8
m
r Curvature radius in BCs#
![Page 12: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/12.jpg)
Parameter Settings
Charge
nC
Vacc1
[MV]
φacc1
[deg]
Vacc39
[MV]
φacc39
[deg]
Vacc2,3
[MV]
Φacc2,3
[deg]
Vacc4,5,67
[MV]
Φacc4,5,6,7
[deg]
1.0 160.4 -3.2 21.9 153.4 337.3 25.0 550.0 0.0
0.50 159.5 2.4 19.8 162.6 337.3 25.0 550.0 0.0
0.25 159.9 1.9 20.5 160.5 337.3 25.0 550.0 0.0
0.10 160.0 -1.0 21.9 152.6 337.3 25.0 550.0 0.0
0.02 160.4 3.3 21.0 162.0 337.3 25.0 550.0 0.0
RF settings in accelerating modules for different bunch charge cases
*RF power restrictions:
Maximum energy gain for accelerating modules
ACC1 165 MeV
ACC39 22 MeV
ACC2/3 345 MeV
ACC4/5 320 MeV
ACC6/7 430 MeV
![Page 13: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/13.jpg)
Beam dynamics simulation for FLASHII for different bunch charge cases
W3
TM W1 2W1
TM
4W1
TM
ASTRA ( tracking with space charge effects, cylindrical symmetric algorithm )
W1 -TESLA cryomodule wake (TESLA Report 2003-19, DESY, 2003)
W3 - ACC39 wake (TESLA Report 2004-01, DESY, 2004)
TM - transverse matching to the design optics
CSRtrack (tracking with CSR effects)
300000 particles
gun ACC1
ACC39
ACC2,3 ACC4,5,6,7 BC2 BC3
Genesis
![Page 14: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/14.jpg)
Beam dynamics simulation for FLASHII for Q=1.0nC
Current profile along the beam line
![Page 15: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/15.jpg)
Beam dynamics simulation for FLASHII for Q=1.0nC
4% bad particles are removed
413fs
![Page 16: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/16.jpg)
Beam dynamics simulation for FLASHII
4% bad particles are removed
189fs
CSR impact
Q=0.5nC
55fs
CSR impact
Q=0.25nC
![Page 17: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/17.jpg)
Beam dynamics simulation for FLASHII
45fs
1.8fs
![Page 18: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/18.jpg)
Radiation calculation for FLASHII for different bunch charge cases
SASE FEL simulation*
' 'x y x y x yx y x y I
Slice parameters are extracted from s2e simulations for SASE simulation
* The magnet description file for the undulator system comes from Matthias Scholz.
λu=31.4mm, K=1.87
17.0 17.5 18.0 18.5 19.0 19.5 20.0 20.50
50000
100000
150000
200000
250000
300000
350000
P(
) [a
.u.]
[nm]0 5 10 15 20 25 30 35 40
10-6
1x10-5
1x10-4
10-3
10-2
10-1
100
No
rma
lize
d R
ad
iatio
n E
ne
rgy E
/Q [
mJ]
z [m]
Q=1.0nC
Q=0.5nC
Q=0.25nC
Q=0.1nC
Q=0.02nC
10 random seeds for each
bunch charge case
![Page 19: Simulation for EXFEL SASE3 and FLASHII · 2013-09-16 · Simulation for EXFEL SASE3 and FLASHII Guangyao Feng 16.09.2013 MPY, DESY . Contents The plan for last month Achieved progress](https://reader033.fdocuments.us/reader033/viewer/2022041801/5e51b8977b9ccf0883638d48/html5/thumbnails/19.jpg)
The plan for this month
Preparing the internal report for EXFEL simulation.