beam current ramping

Moderators: cyao, soliday

Post Reply
li.chao
Posts: 49
Joined: 18 Aug 2021, 08:59

beam current ramping

Post by li.chao » 12 Sep 2023, 14:24

Dear Michael,

I am tying to make a test run which ramps the beam current in the first several hundreds turns.
Somehow, not be able to do that.

The attached files shows the script I prepared, could you please take a look and help me to fix it.

PS: I found that the output of the &ramp_elements command, showing the charge ramping as expected. Whereas in the *.wp file, the
Charge column does not change. Since I have longitudinal impedance in the lattice. I did not see extra bunch lengtheing due to the longitudinal
impedance. It seems like that the the charge stays at the initial value during the tracking.

Great thanks

yours Chao
Attachments
TestRun.tar
(17.38 MiB) Downloaded 184 times

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

Re: beam current ramping

Post by michael_borland » 14 Sep 2023, 14:54

Chao,

The problem is that your CHARGE element is downstream of a recirculation element (RC). So the beam only sees the CHARGE element on the first pass through the beamline. I don't think you need the recirculation element.

--Michael

li.chao
Posts: 49
Joined: 18 Aug 2021, 08:59

Re: beam current ramping

Post by li.chao » 18 Sep 2023, 13:49

michael_borland wrote:
14 Sep 2023, 14:54
Chao,

The problem is that your CHARGE element is downstream of a recirculation element (RC). So the beam only sees the CHARGE element on the first pass through the beamline. I don't think you need the recirculation element.

--Michael

Thanks Michael,

Great thanks for your answers. I got it.
For a further question, What is the purpose of of the recirculation element? What this element did to beam?
I noticed that, with IBS tracking, this recirculation element has to be removed also, is it?

yours Chao

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

Re: beam current ramping

Post by michael_borland » 19 Sep 2023, 12:31

Chao,

The recirculation element is to allow setup steps to take place prior to multi-turn tracking in a ring. The original inspiration was to allow tracking through a transport line and injection elements, followed by multi-turn tracking.

Although the feature is kept for backward compatibility, it is rarely if ever really needed. It is usually easier to perform to separate runs, e.g., one for the transport line that creates an SDDS output particle file and one for turns in the ring that uses that file.

The other reason not to use recirculation elements is that it can interfere with some calculations, such as IBS tracking. This is due to confusion about where to start the beam size calculations. It could be fixed, but it is easier just to leave the recirculation element out.

--Michael

li.chao
Posts: 49
Joined: 18 Aug 2021, 08:59

Re: beam current ramping

Post by li.chao » 20 Sep 2023, 08:22

michael_borland wrote:
19 Sep 2023, 12:31
Chao,

The recirculation element is to allow setup steps to take place prior to multi-turn tracking in a ring. The original inspiration was to allow tracking through a transport line and injection elements, followed by multi-turn tracking.

Although the feature is kept for backward compatibility, it is rarely if ever really needed. It is usually easier to perform to separate runs, e.g., one for the transport line that creates an SDDS output particle file and one for turns in the ring that uses that file.

The other reason not to use recirculation elements is that it can interfere with some calculations, such as IBS tracking. This is due to confusion about where to start the beam size calculations. It could be fixed, but it is easier just to leave the recirculation element out.

--Michael

I see. Great thanks.

Post Reply