Search found 29 matches

by li.chao
13 Dec 2022, 11:10
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 3
Views: 138

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: 3
Views: 138

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: 2820

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...
by li.chao
01 Nov 2022, 15:54
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael Thanks for your reply. Then we are using the same algorithm for this simulation. Another thing has to take case is the time distance between bunches when bunches are soft. Within bunch, it is bin-by-bin process. Among bunches, the time distance from ith bunch to (i+1)th bunch become the...
by li.chao
28 Oct 2022, 03:34
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael I am doing benchmark when there are multi-particles in bunches in beam loading simulation. One thing I would like to confirm is about the approaches used in elegant. For example, when we cut one bunch into bins, I assume in elegant, the bunch passes through the cavity in a bin-by-bin pr...
by li.chao
26 Oct 2022, 09:24
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael, Great thanks for your reply. I think I got the approaches used in elegant for RFMode simulation. The confusion always comes from the reference frame chosen for rotation and "head" or "tail" particle convention. In my previous simulations, I always chose the reference rotation frame wit...
by li.chao
11 Oct 2022, 13:07
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael, The attached file includes an elegant input for my recent simulation, single cavity (RFMode element) only. It also includes 3 figures for comparison among the result between elegant and our code developed in house. Still one macro-particle in one bunch. The are several findings in my s...
by li.chao
10 Oct 2022, 17:03
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael, I thought elegant will turn turn off the quantum excitation effect once there is only one particle in one bunch. Following your suggestion, set QEXCITATION=0 on SREFFECTS elements helps to get a smooth beam induced voltage phase. As to the bunch separation time distance, it is supposed...
by li.chao
07 Oct 2022, 07:31
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael Thanks for your explanation. I got it. Assuming I have Np particle per bunch, in my script to prepare the train.sdds, I ensure that IDSlotsPerBunch=Np for all pages. And particleID in the first page varies from 1 to Np, in the 2nd page varies from np+ 1 to 2*Np... Then, if I set only on...
by li.chao
06 Oct 2022, 17:16
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 18
Views: 2820

Re: rfmode element in a active harmonic cavity

Dear Michael The explanation of the IDSlotSSperBunch: Number of particle ID slots reserved to a bunch" I guess I can simply set IDSlotSSperBunch value at the ith page as particleID (start_id at the i+1 page) - particleID( end_id at ith page). Or probably the safe way is to set IDSlotSSperBunch value...