How to properly fiducialize an RFMODE element

Moderators: cyao, michael_borland

Post Reply
duanz
Posts: 48
Joined: 30 May 2009, 01:50

How to properly fiducialize an RFMODE element

Post by duanz » 17 Oct 2021, 03:58

Hi Michael,

I'm trying to simulate a bunch injecting into an empty booster. I use a two-page bunch distribution in the tracking, the first page is a single-particle bunch for fiducialization, so that the second page can be the real bunch with a specified temporal error. However, RFMODE seems to accumulate the beam-induced voltage of the single particle bunch in the first page, using the same bunch charge as the second page. This obviously is not what I want. What is your suggested way to treat this fiducialization issue? Thanks!

Best,

Zhe

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

Re: How to properly fiducialize an RFMODE element

Post by michael_borland » 15 Nov 2021, 12:52

Zhe,

Sorry for the long delay in responding. I think you are trying to model the combination of transient beamloading and jitter when injecting into a ring. The way I'd do this is to send in a single bunch, but set the charge to a very low value and the timing offset to zero. Then, on the second pass, increase the charge to the desired value (using modulate_elements) and impart the timing error (using MALIGN,ON_PASS=2,...). In this way, the cavity is set up at the nominal voltage and phase, waiting for the beam to arrive.

If the beam has a large energy spread such that there is significant time-dispersal in one turn, you may want to perform an initial run to backwards track the beam through the ring one turn, then load the output of that run into your injection simulation.

An example is attached.

--Michael
Attachments
injectRfmode.zip
(5.02 KiB) Downloaded 79 times

duanz
Posts: 48
Joined: 30 May 2009, 01:50

Re: How to properly fiducialize an RFMODE element

Post by duanz » 16 Nov 2021, 20:04

Thanks, Michael! This is exactly what I need.

Cheers,

Zhe

Post Reply