Chromaticity in Recirculation
Posted: 13 Apr 2015, 09:09
Dear all,
I am currently working on a calculation of the (horizontal) chromaticity of the recirculations of an recirculating linac. I consider only one recirculation at a time, so the beam travels only through magnets.
My first approach is an integration over all quadrupoles and sextupoles in the lattice, where I integrate betax*k1/(4*pi) or betax*r16*k2/(4*pi) respectively and sum up these contributions.
Another possibility would be to use the chromaticity parameter from the twiss_output command, but the results do not agree with my physical understanding: I get large vertical chromaticities (of several hundred), but as r36=0 for our machine, the sextupoles should not contribute, which would result in a rather low chromaticity. Also, turning off the sextupoles changes the vertical chromaticity (which would not be the case if they do not contribute anyway).
As these approaches brought different results, I tried to calculate betax from the enveloppe and emittance (via betax=s1²/ex), as our group did before in a non-elegant simulation. The result was that this betax and the one from the twiss-file differ significantly (see the attched picture, black: from twiss_output, red: calculated from enveloppe). Consequently, this resulted again in a completely different chromaticity.
(The resulting chromaticities from these three approaches were about 36, 3 and 254 respectively.)
A last attempt was to calculate the chromaticity from a calculation of the tune for different momenta (by varying an malign element, similarly to elegantExamples/Par/chromTracking2). But I encountered similar problems when I calculated the tunes. I used the tunes from twiss_output and I calculated them by an integration of 1/(2*pi*betax). For the integration I tried mathematica and sddsinteg. As the resulting tunes were already different for these methods (they ranged from 2.86 to 2.88, 1.95 to 2.09 and 2.29 to 2.52 respectively), I did not see any benefit in calculating even more different chromaticities.
My questions now are:
1. How does elegant calculate quantities like chromaticity and tune?
2. Where could the difference between the two beta-functions in the picture above come from?
3. Where could the different chromaticities and tunes come from?
I attached the .lte and .ele file I used for the chromaticity calculations.
If you are interested, I can also upload the files where I calculated the tune for different momenta.
Regards,
Jonas
I am currently working on a calculation of the (horizontal) chromaticity of the recirculations of an recirculating linac. I consider only one recirculation at a time, so the beam travels only through magnets.
My first approach is an integration over all quadrupoles and sextupoles in the lattice, where I integrate betax*k1/(4*pi) or betax*r16*k2/(4*pi) respectively and sum up these contributions.
Another possibility would be to use the chromaticity parameter from the twiss_output command, but the results do not agree with my physical understanding: I get large vertical chromaticities (of several hundred), but as r36=0 for our machine, the sextupoles should not contribute, which would result in a rather low chromaticity. Also, turning off the sextupoles changes the vertical chromaticity (which would not be the case if they do not contribute anyway).
As these approaches brought different results, I tried to calculate betax from the enveloppe and emittance (via betax=s1²/ex), as our group did before in a non-elegant simulation. The result was that this betax and the one from the twiss-file differ significantly (see the attched picture, black: from twiss_output, red: calculated from enveloppe). Consequently, this resulted again in a completely different chromaticity.
(The resulting chromaticities from these three approaches were about 36, 3 and 254 respectively.)
A last attempt was to calculate the chromaticity from a calculation of the tune for different momenta (by varying an malign element, similarly to elegantExamples/Par/chromTracking2). But I encountered similar problems when I calculated the tunes. I used the tunes from twiss_output and I calculated them by an integration of 1/(2*pi*betax). For the integration I tried mathematica and sddsinteg. As the resulting tunes were already different for these methods (they ranged from 2.86 to 2.88, 1.95 to 2.09 and 2.29 to 2.52 respectively), I did not see any benefit in calculating even more different chromaticities.
My questions now are:
1. How does elegant calculate quantities like chromaticity and tune?
2. Where could the difference between the two beta-functions in the picture above come from?
3. Where could the different chromaticities and tunes come from?
I attached the .lte and .ele file I used for the chromaticity calculations.
If you are interested, I can also upload the files where I calculated the tune for different momenta.
Regards,
Jonas