## Search found 1798 matches

31 Jan 2023, 19:54
Forum: Bugs
Topic: Misalignment of a tilted csbend
Replies: 2
Views: 94

### Re: Misalignment of a tilted csbend

Zhe,

Thanks, I'll check it out and let you know.

--Michael
30 Jan 2023, 10:14
Forum: Linac Tracking
Topic: How to change the KQUAD from K1 to pole tip field?
Replies: 1
Views: 76

### Re: How to change the KQUAD from K1 to pole tip field?

Cai, If you want to compute the pole-tip field after the fact, you can use data in the parameter file (obtained via the parameters field in run_setup) as in sddsprocess run.param run.Btip -match=column,ElementParameter=K1 \ -define=parameter,H,"<energyInGeV> 1e9 * c_mks /",units=T*m \ -define=col,Bt...
30 Jan 2023, 10:09
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 3
Views: 149

### Re: rf feedback in rfmode element

Chao,

y[n] = \sum a_i y_{i-1} + \sum b_i y_{i-1}
should be
y[n] = -\sum a_i y_{i-1} + \sum b_i x_{i-1}

--Michael
30 Jan 2023, 10:01
Forum: General
Topic: Centroid Shift without any magnet alignment error
Replies: 2
Views: 114

### Re: Centroid Shift without any magnet alignment error

Without a lattice file it isn't possible to say what the problem might be.

--Michael
09 Dec 2022, 15:50
Forum: Ring Tracking
Topic: rf feedback in rfmode element
Replies: 3
Views: 149

### 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...
29 Nov 2022, 09:45
Forum: Ring Tracking
Topic: modulate_elements command
Replies: 2
Views: 118

### 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...
28 Nov 2022, 17:21
Forum: General
Topic: FodoCell
Replies: 2
Views: 144

### Re: FodoCell

Perhaps the attached example will help.

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

### 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...
16 Nov 2022, 10:20
Forum: General
Topic: ~10x Speed up for multi-bunch studies with short+long range impedance
Replies: 2
Views: 145

### 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
16 Nov 2022, 10:19
Forum: Bugs
Topic: Veresion 2022.2 released
Replies: 0
Views: 160

### 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