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
beam current ramping
beam current ramping
- Attachments
-
- TestRun.tar
- (17.38 MiB) Downloaded 184 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beam current ramping
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
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
Re: beam current ramping
michael_borland wrote: ↑14 Sep 2023, 14:54Chao,
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
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: beam current ramping
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
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
Re: beam current ramping
michael_borland wrote: ↑19 Sep 2023, 12:31Chao,
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.