Study of TMCI

Moderators: cyao, michael_borland

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Study of TMCI

Post by arahim » 06 Nov 2018, 07:23

Is simulation of TMCI is possible in Elegant.

lindberg
Posts: 4
Joined: 07 Nov 2018, 14:47

Re: Study of TMCI

Post by lindberg » 07 Nov 2018, 15:04

Yes. Short-range transverse wakefields (impedances) are modeled using the TRWAKE or (ZTRANSVERSE) element. One published example that uses ZTRANSVERSE to determine the transverse instability threshold is described in Section IV of PRSTAB 19, 124402 (2016); there are many other examples [e.g., end of Sec. IV in PRAB 21, 024402 (2018)], although typically without much detail of how to implement things in elegant.

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Re: Study of TMCI

Post by arahim » 05 Apr 2019, 08:25

I am using ztransverse for the simulation of TMCI. I have given the command in the following way..
zz_rw_trans: ztransverse, &
zxreal="rw_cdr2014v1.impe1=f+ReZxH", zximag="rw_cdr2014v1.impe1=f+ImZxH", &
zyreal="rw_cdr2014v1.impe1=f+ReZyH", zyimag="rw_cdr2014v1.impe1=f+ImZyH", &
n_bins=4096, bin_size=4.2e-12, smoothing=0, &
ramp_passes=0, bunched_beam_mode = 1

I am getting an error of "you must give an input file and freqcolumn " but in the impedance file frequency is already mentioned in f column.

Here should I use Z or effective Z in both the transverse planes.

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

Re: Study of TMCI

Post by michael_borland » 05 Apr 2019, 09:09

ZTRANSVERSE doesn't use the <filename>=<x>+<y> syntax. Instead, you give the filename with the INPUTFILE option, then name the various columns. For example,

zz_rw_trans: ztransverse, inputfile="rw_cdr2014v1.impe1",freqcolumn="f",&
zxreal="ReZxH", zximag="ImZxH", &
zyreal="ReZyH", zyimag="ImZyH", &
n_bins=4096, bin_size=4.2e-12, smoothing=0, &
ramp_passes=0, bunched_beam_mode = 1

--Michael

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Re: Study of TMCI

Post by arahim » 06 Apr 2019, 01:06

Thanks a lot..it works..

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Re: Study of TMCI

Post by arahim » 29 May 2019, 07:50

I am tracking 10 ps (one sigma) bunch for microwave threshold in a storage ring. The input for longitudinal impedance is as follows:
zz: zlongit,broad_band=1,freq=30e9,Rs=42e3,Q=1,bin_size=4.2e-12,n_bins=0
I have given the option for auto resizing the number of bins. It works for low beam current but for high beam current (1.8mA in my case), tracking is stopped with some warning. I have attached the doc file containing two snaps of warnings. In first snap, current is 1.5mA, tracking is successfully performed. In second snap current is 1.8mA, tracking stopped after few turns. In second warning, it is suggested to choose the option for auto scaling for number of bins but that I have already done by giving the option n_bins=0. Looking for your comment.
Attachments
Doc.docx
(183.96 KiB) Downloaded 205 times

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

Re: Study of TMCI

Post by michael_borland » 30 May 2019, 22:07

The problem is that at a certain current, bunch lengthening or instability occurs (probably instability), which results in the total length of the bunch being too great for the span (nBins*binSize). Unfortunately, the number of bins is chosen once at the beginning. I suggest setting the number of bins manually to a larger value.

--Michael

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Re: Study of TMCI

Post by arahim » 16 Jun 2019, 02:41

I want to incorporate amplitude dependent tune shift (ADTS) in TMCI simulation. During calculation of ADTS by elegant, particle is being lost in few hundred of turns but in Accelerator tool box particle is surviving after 1000 turns even with higher initial launching amplitude. What is wrong with my elegant files. I have attached the elegant files for your reference. Thanks in advance.

Abdurrahim
Attachments
Basic.ele
(769 Bytes) Downloaded 198 times
Test.lte
(1.74 KiB) Downloaded 200 times

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

Re: Study of TMCI

Post by michael_borland » 24 Jun 2019, 11:33

Abdurrahim,

The main problem is that you've included an SREFFECTS element (synchrotron radiation) but the rf cavity (RFCA element) is not configured. More fundamentally, you shouldn't include either of these elements if you are interested in ADTS. Further, you are using matrix-based tracking (quad, sben, sext elements) when symplectic tracking is more appropriate (kquad, csben, ksext).

See attached files.

--Michael
Attachments
Test.lte
(2.18 KiB) Downloaded 231 times
Basic.ele
(900 Bytes) Downloaded 230 times

arahim
Posts: 26
Joined: 08 Jun 2012, 05:28

Re: Study of TMCI

Post by arahim » 26 Jun 2019, 07:25

Thanks a lot. It worked..

Post Reply