Kicker setting
Moderators: cyao, michael_borland
Kicker setting
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: 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,
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: 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,
Last edited by SDastan on 04 Sep 2018, 02:30, edited 1 time in total.
Sara
Re: Kicker setting
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.
regards,
Sara
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 351 times
-
- BumpESR.lte
- (2.52 KiB) Downloaded 363 times
Sara
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Kicker setting
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.
--Michael
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.
--Michael
- Attachments
-
- BumpESR.lte
- (2.54 KiB) Downloaded 370 times
-
- runtest.ele
- (1.95 KiB) Downloaded 369 times
Re: Kicker setting
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
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
Sara
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Kicker setting
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. 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
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. 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
Re: Kicker setting
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
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:55Sara,
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
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Kicker setting
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
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
Re: Kicker setting
Thanks a lot Michael, now every thing looks clear.michael_borland wrote: ↑05 Sep 2018, 08:42Sara,
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
regards,
Sara
Sara