ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen,...

14
ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille

Transcript of ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen,...

Page 1: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

ELENA Tracking studies

P.Belochitskii, O.BerrigWith thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille

Page 2: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

BMAD – an alternative tracking program

BMAD is a program from Cornell by D.Sagan. It is symplectic ( which basically means energy conservation: http://en.wikipedia.org/wiki/Symplectic_integrator), and has the added capability of tracking through user defined fields. Since the electron cooler is described by a field map (and the space charge from the electron beam also) it would have been a fine candidate for ELENA.However there were some issues with the running of the program (that has been solved later) which at the time discouraged us from using BMAD.

Plot of the ELENA ring; made by BMAD

Page 3: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

MADX does not calculate correct tunes for off-momentum particles

0.010 0.005 0.005 0.010 PP

0.274

0.276

0.278

0.280

QhorSe x tu p o le s O N ; So le n o id s O FF ; E B E AM O FF ; T ra c k in g w ith M A D X

MADX TWISS

MADX TRACK

0.010 0.005 0.005 0.010PP

0.275

0.276

0.277

0.278

0.279

0.280

QhorSe x tu p o le s O N ; So le n o id s O FF ; E B E AM O FF

PTC_TWISS

PTC_TRACK

MADX

PTC

Even though tunes, chromaticities, etc. are not calculated correctly in MADX, the tracking in MADX is the same as the tracking in PTC up to second order (but only for on-momentum particles; for off-momentum particles there are errors in MADX)See: http://cern-accelerators-optics.web.cern.ch/cern-accelerators-optics/OtherInfo/MADX_PTC_BendingMagnet_difference_14Nov.doc

All simulations were therefore done with PTC

Page 4: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

How to simulate the space charge generated by the electron beam?

The electron beam makes de-focusing of the antiprotons in both planes; This process cannot be simulated by PTC. MADX however, can do simulations with an arbitrary MATRIX element – but only for thin lens optics. We made a model of ELENA with thin lens, however the beta-functions were not perfect.

0 5 10 15 20 25 30s0

2

4

6

8

10

12

14

beta functionC om p a r izo n T h ic k a n d T h in le n s o p t ic s

betx thick

betax thin

0 5 10 15 20 25 30s0

2

4

6

8

10

12

14

beta functionC om p a r izo n T h ic k a n d T h in le n s o p t ic s

bety thick

betay thin

Because of the following arguments:• In order not to spend too much time

optimizing the thin-lens beta-functions (which would in any case always represent an approximation).

• The MATRIX element of MADX only simulate the effect on the protons that are inside the radius of the electron beam, but not the protons that are outside.

• MADX is only precise to second order.

We decided to simulate the electron cooler with Mathematica and the rest of the ring with PTC

Page 5: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

0.04 0.02 0.02 0.04xn

0.04

0.02

0.02

0.04

pxn

0.04 0.02 0.02 0.04yn

0.04

0.02

0.02

0.04

pyn

magenta=10mm, green=20mm, red=30mm, blue=40mm, orange=50mm

0.04 0.02 0.02 0.04xn

0.04

0.02

0.02

0.04

pxn

0.04 0.02 0.02 0.04yn

0.04

0.02

0.02

0.04

pyn

Without sextupoles With sextupoles

Horizontal

Vertical

The simulations on this page were done with the electron cooler simulated with MADX solenoids (the electron beam was not included).

The strength of the sextupoles was nominal, i.e. set to make the chromaticity equal to zero, so that off-momentum particles will not touch neighboring resonances

Since the sextupoles brought too much non-linearity (leading to loss of particles with 50mm amplitude) we decided to temporarily switch off the main sextupoles in order to concentrate on resonances from the rest of the machine (especially the electron cooler)

It was decided to run without the main sextupoles

Page 6: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Philosophical interlude (1) There are no linear magnets, not even quadrupoles and bending magnets.

In reality they contain non-linear elements like sextupoles and octupoles and up to any higher order mode. This is not only because the fringe fields at the end of the magnets are non-linear, but even the magnets themselves. See: http://zwe.home.cern.ch/zwe/talks/cern_nonlinear.pdf

A bending magnet contains e.g. sextupolar components (the larger the bending angle, the larger the sextupolar component). This was already discovered by Karl Brown in 1982: http://www.slac.stanford.edu/cgi-wrap/getdoc/slac-r-075.pdf :

HORIZONTAL motion:

VERTICAL motion:

X2-y2 is a sextupolar component:

D[P[x, y], x]

D[P[x, y], x]

x·y is a sextupolar component, see J.Jowett:\\cern.ch\dfs\Projects\ .. \MultipoleFields.nb

For a bending magnet,h is equal to 1 divided by the bending radius: h=1/r

Page 7: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Compensation of sextupolar component in the main magnets

1. mm

6. mm

11. mm

16. mm

21. mm

26. mm

31. mm

0 .03 0 .02 0 .01 0 .01 0 .02 0 .03xn

0 .03

0 .02

0 .01

0 .01

0 .02

0 .03pxn

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF N o M a th em a t ic aQ x 2 .2 2 Q y 1 .2 0 5 M om e n tum o ffse t 0 .0 0 0

H O R p h a se sp a c e d ia gram

1. mm

6. mm

11. mm

16. mm

21. mm

26. mm

31. mm

0 .03 0 .02 0 .01 0 .01 0 .02 0 .03xn

0 .03

0 .02

0 .01

0 .01

0 .02

0 .03pxn

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF N o M a th em a t ic aQ x 2 .2 2 Q y 1 .2 0 5 M om e n tum o ffse t 0 .0 0 0

H O R p h a se sp a c e d ia gram

NO compensation With compensationsextupole

Page 8: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Philosophical interlude (2) Any machine with non-linear elements will couple the horizontal and vertical planes and lead to lines in the tune diagram that should be avoided:

Avoid tunes that fulfill the equation:

where: l,m and r are integers

See page 69 in http://cds.cern.ch/record/212880/files/CERN-92-01.pdf See also: http://cern.ch/bruening/CAS/Driven_Resonances.ppt and: http://cds.cern.ch/record/1694484/files/CERN-2014-002.pdf

Page 9: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

1. mm

0 .03 0 .02 0 .01 0 .01 0 .02 0 .03yn

0 .03

0 .02

0 .01

0 .01

0 .02

0 .03pyn

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF R e a l f ie ld in so le n o id s

Q x 2 .2 2 Q y 1 .2 0 5 M om e n tum o ffse t 0 .0 0 0

VE R p h a se sp a c e d ia gram

1. mm

6. mm

11. mm

0 .03 0 .02 0 .01 0 .01 0 .02 0 .03yn

0 .03

0 .02

0 .01

0 .01

0 .02

0 .03pyn

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF R e a l f ie ld in so le n o id sQ x 2 .2 6 Q y 1 .2 9 M om e n tum o ffse t 0 .0 0 0

VE R p h a se sp a c e d ia gram

1. mm

6. mm

11. mm

0 .03 0 .02 0 .01 0 .01 0 .02 0 .03yn

0 .03

0 .02

0 .01

0 .01

0 .02

0 .03pyn

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF R e a l f ie ld in so le n o id s

Q x 2 .2 8 Q y 1 .3 0 M om e n tum o ffse t 0 .0 0 0

VE R p h a se sp a c e d ia gram

Qx=2.22 Qy=1.205 Qx=2.26 Qy=1.29 Qx=2.28 Qy=1.30

Page 10: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

1. mm

6. mm

11. mm

200 400 600 800 1000n

20

40

60

80

W xn mm m radSe x tu p o le s O F F ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF R e a l f ie ld in so le n o id s

Q x 2 .2 6 Q y 1 .2 9 M om e n tum o ffse t 0 .0 0 0

W x n x n ^ 2 p x n ^ 2 Ve rsu s tu rn n o .

1. mm

6. mm

11. mm

200 400 600 800 1000n

10

20

30

40

50

60

70W yn mm m rad

Se x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss; E B E AM O FF R e a l f ie ld in so le n o id sQ x 2 .2 6 Q y 1 .2 9 M om e n tum o ffse t 0 .0 0 0

W yn y n^ 2 p y n^ 2 Ve rsu s tu rn n o .

Biggest problem. Vertical emittance is growing – why?

Observe first that there is coupling between the horizontal and vertical planes (Qx-Qy = 1). The signatures of this resonance are seen in the FFT plots (next slide) and in the variations of Wx and Wy versus turn; when one of them is on the crest, the other is in the trough - but amplitude of variations is different for x and y-planes. On top of that, in the vertical plane Wy is growing with number of turns!

1. mm

6. mm

11. mm

16. mm

200 400 600 800 1000n

20

40

60

80

100

120

W xn mm m radSe x tu p o le s O F F ; So le n o id s O N 1 0 0 G a u ss N o Sh ie ld in g Sc a le d ; E B E AM O FF R e a l f ie ld in so le n o id s

Q x 2 .2 6 Q y 1 .2 9 M om e n tum o ffse t 0 .0 0 0W x n x n ^ 2 p x n ^ 2 Ve rsu s tu rn n o .

No shielding – No correctors With shielding – With correctors

1. mm

6. mm

11. mm

16. mm

200 400 600 800 1000n

20

40

60

80

100

W yn mm m radSe x tu p o le s O FF ; So le n o id s O N 1 0 0 G a u ss N o Sh ie ld in g Sc a le d; E B E AM O FF R e a l f ie ld in so le n o id s

Q x 2 .2 6 Q y 1 .2 9 M om e n tum o ffse t 0 .0 0 0W yn y n^ 2 p y n^ 2 Ve rsu s tu rn n o.

Page 11: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Biggest problem. Vertical emittance is growing – why?

No essential difference in the tune spectra, except for the presence of the linear coupling resonance Qx-Qy = 1.But coupling cannot increase the emittance in one plane and not in the other!

No shielding – No correctors With shielding – With correctors

Page 12: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Other observations:1. The electron cooler field without shielding and without correctors is a theoretical calculation

followed by a Mathematica interpolation at a given particle position. The electron cooler field with shielding and with correctors is calculated by OPERA with a given mesh; for tracking we again use Mathematica with interpolation at a given particle position.

2. The curl (=rotB) of the electron cooler field without shielding and without correctors is much smaller than for the electron cooler field with shielding and with correctorsSummary:solenoid (without shielding and without correctors) with   2.5 mm spacing;  the rot B amplitude is 0.0000022solenoid (without shielding and without correctors) with   5   mm spacing;  the rot B amplitude is 0.0000230solenoid (without shielding and without correctors) with 10   mm spacing;  the rot B amplitude is 0.0001600solenoid (with shielding and with correctors)       with   3   mm spacing;  the rot B amplitude is 0.0090000solenoid (with shielding and with correctors)       with   5   mm spacing;  the rot B amplitude is 0.0650000

3. The vertical emittance growth depends on the working point. The vertical emittance grows slower for WP (2.26 ; 1.29) than for WP (2.28 ; 1.30).

Biggest problem. Vertical emittance is growing – why?

Page 13: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Conclusion (1)A. We found that the main bending magnets have strong sextupolar

components. We compensated for these by placing sextupoles (with opposite polarity) around the main bending magnets.

B. We simulated several working pointsC. We simulated off-momentum particles

Problems:1. The vertical emittance is growing. Hypothesis: Numerical imprecision in the

electron cooler field (simulated with OPERA; which is a standard program in CERN for simulating magnets).

2. Comparison of MADX solenoid field with a Mathematica solenoid (with hard edges). Big differences were observed – is it because of fringe fields that are automatically added in MADX. But in that case I would assume that the fringe fields depends on the aperture of the solenoid and since the aperture is not part of the MADX model, it seems there is an error ?

Page 14: ELENA Tracking studies P.Belochitskii, O.Berrig With thanks to: C.Carli, L.Varming Jørgensen, G.Tranquille.

Conclusion (2)Things to do:1. Understand the problem with the vertical emittance growth2. Possibly solve the problem with the vertical emittance growth by making an

extremely fine mesh in OPERA3. Do the simulations with space charge, in order to see the effect of the electron

beam.4. Documentation – how to use Mathematica tracking inside PTC. It is a fairly

simple and modular setup.

Nice things to do:5. Fully compensate the main bending magnets. The compensation with the

sextupoles significantly reduced the coupling in the machine; however quite some coupling remains, especially at large amplitudes. Is the remainder of the coupling linear ?

6. Do more investigations on why a hard edge solenoid does not give the same result as a MADX solenoid

7. Run ELENA as a transfer line. See what compensation gives the best closed orbit solution

8. Decomposition of the magnetic field in the electron-cooler field into thin lenses