Search found 46 matches

by li.chao
22 Jun 2023, 11:16
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

Re: RFCW element

Dear Michael,

I got the answer of my previous post.
Change KQUAD element to Quad and limit transfer matrix order to 1. The emittance growth in linac is gone.

Thanks a lot.
yours Chao
by li.chao
20 Jun 2023, 09:02
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

Re: RFCW element

Dear Michael, Thanks a lot for your reply, and I need your help of one more thing, which related to the emittance growth in the linac. As discussed in the previous post, I am now cutting the cavity into sub-parts and inserting quadrupoles in between to model the overlapping between cavity and quadru...
by li.chao
16 Jun 2023, 08:22
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

Re: RFCW element

Dear Michael Thanks for a nice discussion. I think I got it. There is one more question I need you help. It relates to the subject we discussed. At this moment, I am prepare to simulate a linac. Unfortunately, on top of the cavities, there are some quads, which mean there existing element overlappin...
by li.chao
15 Jun 2023, 06:45
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

Re: RFCW element

Chao, The kick algorithm is drift-kick-drift, which is a higher-order integration than kick-drift (O(h^2) vs O(h)). If N_KICKS=0, an analytically-derived transfer matrix is used. That matrix assumes ultra-relativistic motion, which gives constant phase. --Michael I see, which means if n_kicks=50, t...
by li.chao
14 Jun 2023, 17:05
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

Re: RFCW element

Dear Michael, Thanks for your replying. However, I have to ask one more round to confirm my understanding. "The RFCA element is a special case of the RFCW element, using the same code for simulation of the accelerating fields." and "The N_KICKS parameter, if non-zero, for RFCA/RFCW controls the numb...
by li.chao
13 Jun 2023, 17:12
Forum: Linac Tracking
Topic: RFCW element
Replies: 9
Views: 1323

RFCW element

Hi Michael, I am trying to simulate a linac with the elegant. The travel cavity is modeled by the element RFCW. There are several questions hopefully you can help me. 1, Assume I have a 50 cells in total, in the RFCW, which parameter in this RFCW element give the information of number ofcells in tot...
by li.chao
08 Feb 2023, 05:54
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 5
Views: 5742

Re: rf feedback in rfmode element

Dear Michael, Great thanks, I do have a better understanding the cavity feedback model in elegant. I have one other question about the impedance beam can sample when the feedback comes into the system, because of that both the transient beam loading effect and the longitudinal both instability are r...
by li.chao
13 Dec 2022, 11:10
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 5
Views: 5742

Re: rf feedback in rfmode element

Dear Michael Great thanks. It gives me really a better feeling about the modelling of the cavity feedbacks. There is another thing about the cavity feedback. I found that in the filter file AmpFeedbakcFilters.sdds It includes two pages and each page representing one digital filter. As written in the...
by li.chao
07 Dec 2022, 08:24
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 5
Views: 5742

rf feedback in rfmode element

Dear Michael In the past days, I spent some time to go back to the papers on the low level rf control and cavity state-space theory. Now I think I get a better understanding on your IPAC15 paper about rf-feedback in rfmode element. Still, I would like to discuss a little bit to make sure my understa...
by li.chao
04 Nov 2022, 17:24
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 8251

Re: rfmode element in a active harmonic cavity

Dear Michael Thanks for your nice discussion and suggestion. I did not know valgrind before. And I looked into it during the past days. It is a very nice tool. I also look into my code again. All of a sudden, I realize my average process to get the average voltage vector in polar coordinate system i...