Replies: 3 comments 2 replies
-
Hello @lnadolski
This gives something like this (C style): /* calculate angles from momentums */
p_norm = 1/(1+r[4]);
xpr = r[1]*p_norm;
ypr = r[3]*p_norm;
/* momentum step */
ddp = K * SQR(1+r[4]). /• K: nominal momentum step */
r[4] -= ddp;
/* recalculate momentums from angles after losing energy for radiation */
p_norm = 1/(1+r[4]);
r[1] = xpr/p_norm;
r[3] = ypr/p_norm; To be checked, I did not try ! I think that with this, the computation of damping times and emittances are correct. There will be no diffusion associated with this element, which makes sense only if the loss occurs in a non-dispersive section. Adding diffusion terms for wigglers and other radiating elements like this one has been already discussed, it's more complicated. It's easy to provide a new passmethod for that. To have the I can look at that if you think it's an interesting development! |
Beta Was this translation helpful? Give feedback.
-
Dear @lfarv I am not sure to understand the (1+delta)^2 factor for the energy. Laurent. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks. |
Beta Was this translation helpful? Give feedback.
-
Dear All,
I would like to simulate the impact of energy loss per turn on the beam dynamics in a consistent way in AT.
The net energy loss per turn is the contribution of
For SOLEIL that total energy loss can by twice the energy loss U0 for a bare lattice.
Discussing with colleagues, we could add a fake element at the end of each turn to add some extra energy loss (a marker with energy shift in T1(5) will do the job).
This help to better simulate the longitudinal transverse dynamic as shown in the following picture.
But damping times are not affected by such a trick.
The good point is that my RF bucket and RF voltage are more consistent with the total energy loss by turn.
Any ideas or suggestions would be welcome.
Laurent.
Beta Was this translation helpful? Give feedback.
All reactions