Results not matching with MAD

Moderators: cyao, michael_borland

Post Reply
amal
Posts: 17
Joined: 04 May 2011, 23:30

Results not matching with MAD

Post by amal » 30 Aug 2011, 13:31

Hello,


I am computing R56 for a transfer line using Elegant (without CSR) and the result obtained is -0.539m for a particular optics. For same optics MAD8 provides R56=0.30m. Sign is anyway different due to MAD conventions (-ct). The electron beam energy is 300MeV, so beta (relativistic) can not bring such change. MAD results are matched with MATLAB AT toolbox (and roughly with hand calculations). I am not able to detect, what is going wrong? I am looking the R56 from Elegant in the .fin file. For reference, I am attaching the .lte and .ele files here.


Thanks and regards,
Amalendu Sharma.
Attachments
chk.rar
.ele and .lte file for transfer line.
(3.77 KiB) Downloaded 1315 times

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

Re: Results not matching with MAD

Post by michael_borland » 30 Aug 2011, 14:00

Amalendu,

The dispersion and beta functions appear to be mismatched in your system (see attached). I'd guess there is a problem with translation of the quadrupole settings or perhaps the FINT/HGAP parameters on the dipoles. An element-by-element comparison of the twiss parameters may help resolve this.

--Michael
Attachments
lattice.png
lattice.png (8.85 KiB) Viewed 6595 times

amal
Posts: 17
Joined: 04 May 2011, 23:30

Re: Results not matching with MAD

Post by amal » 31 Aug 2011, 01:11

Thanks Michael!!!

In conversion from MAD to Elegant, the edge effects were not converted correctly by me in file for rectangular bends.... Now results are matching....

Regards,
Amalendu.

Post Reply