Kicker setting

Moderators: cyao, michael_borland

Post Reply
SDastan
Posts: 38
Joined: 21 May 2018, 07:08

Kicker setting

Post by SDastan » 03 Sep 2018, 11:25

Hello Michael and all friends,

I have a problem and It will be great if you can help me. I want to put 4 local bumps in 2 dipole for hitting a defined target, so (x) should be offset during these bumps and then become zero. I put the value for these bumps in lattice and track particle in ELEGANT and MAD. You can see the results below:
ELEGANT 10 mm Bumps.jpg
MAD-X 10(mm) Bumps.jpg
Bumps in MAD act locally but in ELEGANT doesn't act locally so I decided to use ejectionOptimization example for defining the values of bumps in the ELEGANT, when I put bumps in the first of lattice the values of bumps become correct and bumps act locally,
x-s.png
x-s.png (9.68 KiB) Viewed 8833 times
Last edited by SDastan on 04 Sep 2018, 02:30, edited 1 time in total.
Sara

SDastan
Posts: 38
Joined: 21 May 2018, 07:08

Re: Kicker setting

Post by SDastan » 03 Sep 2018, 11:29

but when I put bumps in their real place (2 of them are placed in the begining of lattice and two of them at the end of lattice) everything goes wrong.
x-sfalse.png
x-sfalse.png (10.49 KiB) Viewed 8832 times
It will be great if you can take a look at these files and said me what is my problem in my works.

regards,
Sara
Attachments
runtest.ele
(2.08 KiB) Downloaded 292 times
BumpESR.lte
(2.52 KiB) Downloaded 302 times
Sara

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Kicker setting

Post by michael_borland » 04 Sep 2018, 11:48

Sara,

I'm guessing that you want a symmetric bump, so it is best to optimize for that explicitly. I did this and it seems to work as expected. See attached.
bumpExample.png
--Michael
Attachments
BumpESR.lte
(2.54 KiB) Downloaded 302 times
runtest.ele
(1.95 KiB) Downloaded 307 times

SDastan
Posts: 38
Joined: 21 May 2018, 07:08

Re: Kicker setting

Post by SDastan » 04 Sep 2018, 12:12

Dear Michael,
Thank you for your answer and sorry if I don't explain the problem in a good way.
Let me explain the problem in different way, when I put strengths of bumps equal to below values and do tracking in elegant and MAD, the results show different effect as I attached below.
kick of bump1=-0.000431
kick of bump2=0.00253
kick of bump3=0.00251
kick of bump4=-0.00431
I want to know, is there any way to have a similar results from both codes? (As I know the MAD result is more acceptable in this case)

regards,
Sara
Attachments
ELEGANT 10 mm Bumps.jpg
MAD-X 10(mm) Bumps.jpg
Sara

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Kicker setting

Post by michael_borland » 04 Sep 2018, 12:55

Sara,

The issue seems to be that in elegant, you are using the fixed-length constraint on the orbit, whereas in MAD-X you are not. If I turn off this feature in elegant (using the fixed_length parameter of &closed_orbit), the results look like those from MAD-X.
bumpComparison.png
Whenever there is dispersion at the location of the steering elements, you'll have this effect. It's particularly prominent in small rings, where the dispersion is large. In practice, it can be suppressed by changing the rf frequency, if there is freedom to do that.

--Michael

SDastan
Posts: 38
Joined: 21 May 2018, 07:08

Re: Kicker setting

Post by SDastan » 05 Sep 2018, 03:29

Dear Michael,
I put the fixed_length=0 and it works, thank you so much for your help. As I understand from the manual of ELEGANT, fixed_length refers to momentum of particles, so when I turn on this command, I do tracking for on momentum particle, is it correct?
I will talk to RF group to see if we have this freedom to change the RF frequency or not?

regards,
Sara
michael_borland wrote:
04 Sep 2018, 12:55
Sara,

The issue seems to be that in elegant, you are using the fixed-length constraint on the orbit, whereas in MAD-X you are not. If I turn off this feature in elegant (using the fixed_length parameter of &closed_orbit), the results look like those from MAD-X.
bumpComparison.png

Whenever there is dispersion at the location of the steering elements, you'll have this effect. It's particularly prominent in small rings, where the dispersion is large. In practice, it can be suppressed by changing the rf frequency, if there is freedom to do that.

--Michael
Last edited by SDastan on 07 Sep 2018, 11:08, edited 1 time in total.
Sara

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Kicker setting

Post by michael_borland » 05 Sep 2018, 08:42

Sara,

The fixed-length constraint does indeed affect the momentum of the particles on the closed orbit. With fixed_length=1, the momentum is allowed to change in order to keep the length of the orbit fixed, which means it is synchronized to the nominal rf frequency defined by the nominal circumference. With fixed_length=0, the momentum is kept fixed, which means the path length changes and therefore the rf frequency would have to change.

--Michael

SDastan
Posts: 38
Joined: 21 May 2018, 07:08

Re: Kicker setting

Post by SDastan » 05 Sep 2018, 08:46

michael_borland wrote:
05 Sep 2018, 08:42
Sara,

The fixed-length constraint does indeed affect the momentum of the particles on the closed orbit. With fixed_length=1, the momentum is allowed to change in order to keep the length of the orbit fixed, which means it is synchronized to the nominal rf frequency defined by the nominal circumference. With fixed_length=0, the momentum is kept fixed, which means the path length changes and therefore the rf frequency would have to change.

--Michael
Thanks a lot Michael, now every thing looks clear.

regards,
Sara
Sara

Post Reply