Search found 1794 matches

by michael_borland
09 Dec 2022, 15:50
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 1
Views: 13

Re: rf feedback in rfmode element

Chao, Your understanding of the basic process is correct. The filter coefficients are dimensionless. For the voltage feedback, the voltage error is multiplied by 2(1+beta)/Ra to convert it to a current error. There is no separate gain control. The filter coefficients determine the gain. The manual p...
by michael_borland
29 Nov 2022, 09:45
Forum: Ring Tracking
Topic: modulate_elements command
Replies: 2
Views: 60

Re: modulate_elements command

Pradeep, To understand the expression, you should first realize that before the expression is executed, the beam arrival time (Ct) is pushed onto the stack. In the example, T0=3.68e-6 is the revolution time, so "3.68e-6 /" results in the turn number (Ct/T0) being on the top of the stack. We then div...
by michael_borland
28 Nov 2022, 17:21
Forum: General
Topic: FodoCell
Replies: 2
Views: 73

Re: FodoCell

Perhaps the attached example will help.

--Michael
by michael_borland
18 Nov 2022, 18:43
Forum: Ring Tracking
Topic: RFMODE with multiple bunches
Replies: 4
Views: 2260

Re: RFMODE with multiple bunches

Sara, I identified several issues The bunch interval (duplicate_stagger in makeBeam.ele) is wrong for your 500 MHz rf system. It should be a multiple of 1/MainRfFrequency. The Q of your harmonic cavity is very high. Even for SC cavities, we need to load the cavity to prevent very high beam-induced v...
by michael_borland
16 Nov 2022, 10:20
Forum: General
Topic: ~10x Speed up for multi-bunch studies with short+long range impedance
Replies: 2
Views: 106

Re: ~10x Speed up for multi-bunch studies with short+long range impedance

These improvements are incorporated into the latest release, version 2022.2.

--Michael
by michael_borland
16 Nov 2022, 10:19
Forum: Bugs
Topic: Veresion 2022.2 released
Replies: 0
Views: 56

Veresion 2022.2 released

Version 2022.2 of elegant has been released. This includes bug fixes and feature enhancements, as described in the updated manual.

--Michael
by michael_borland
16 Nov 2022, 10:19
Forum: General
Topic: Version 2022.2 released
Replies: 0
Views: 32

Version 2022.2 released

Version 2022.2 of elegant has been released. This includes bug fixes and feature enhancements, as described in the updated manual.

--Michael
by michael_borland
10 Nov 2022, 09:42
Forum: General
Topic: Highlighting mode for emacs and vim
Replies: 10
Views: 3589

Re: Highlighting mode for emacs and vim

Thanks for posting this. It's good to have more editor options.

--Michael
by michael_borland
10 Nov 2022, 09:41
Forum: Ring Tracking
Topic: rfmode element in a active harmonic cavity
Replies: 19
Views: 2711

Re: rfmode element in a active harmonic cavity

Chao, I'm glad to hear that you are now getting the same results as elegant after finding a problem. I'll look into the KAverage issue. To vary the charge per bunch in elegant, at present you have to vary the number of particles per bunch. The reason is that elegant assigns the same charge to each m...
by michael_borland
03 Nov 2022, 12:17
Forum: General
Topic: ~10x Speed up for multi-bunch studies with short+long range impedance
Replies: 2
Views: 106

Re: ~10x Speed up for multi-bunch studies with short+long range impedance

I think this is a perfectly legitimate approach and will see how it can be implemented in the code in a flexible fashion. A very easy way is just to provide START_PID and END_PID parameters for the short-range wake elements. There is an alternative, use of pseudo-multi-bunch mode, but that assumes t...