AT vs elegant MA calculation

Moderators: cyao, michael_borland

Post Reply
Posts: 1
Joined: 09 Jan 2015, 16:50

AT vs elegant MA calculation

Post by androula.alekou » 31 Mar 2016, 10:29


We are comparing the momentum aperture calculations between AT and elegant.

In elegant we use RF, with SREFFECTS,QEXCITATION=0 but still the obtained MA obtained is different than what we get with AT (black vs red line in attachment).

We think that elegant is calculating the MA around a closed orbit that has no radiation and no RF. When we remove the radiation and RF effect in
AT the plots agree (blue line in attachment).

Can we choose to calculate the MA around the closed orbit with radiation and RF in elegant?

Thank you

Posts: 1818
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory

Re: AT vs elegant MA calculation

Post by michael_borland » 04 Apr 2016, 12:45


If you include the &closed_orbit command in your .ele file before the &momentum_aperture command, then elegant will include the effect of the closed orbit.

Also, you may wish to use element-by-element synchrotron radiation, which you can do by setting SYNCH_RAD=1 and ISR=0 on the CSBEND, KQUAD, and KSEXT elements. It's also good to ensure that your rf cavities are in the right locations in the lattice. These two steps will give more accurate results than the common short-cut of using the SREFFECTS element for synchrotron radiation and putting a single RFCA right after it.

I'll be interested to see the comparison with AT when you've tried this.


Post Reply