Tune Correction
Posted: 06 Nov 2015, 05:27
Hi all,
I am correcting the tune in an elegant Diamond model, and was warned that in the manual use of ONLY TWO quad families is recommended.
Not knowing that I have been "happily" using all the 6 families we utilize in the real machine, like this:
&correct_tunes
quadrupoles = "Q1D Q2D Q3D Q3B Q2B Q1B",
n_iterations = 20,
change_defined_values = 1,
tune_x = <nux>
tune_y = <nuy>
&end
elegant seems to cope quite well with it, to the point that I had never realized this limitation.
The output seems to be consistent with the demanded action, and a (2x6) response matrix + its inverse are computed:
Computing tune influence matrix for all named quadrupoles.
6 instances of Q1D found
10 instances of Q2D found
10 instances of Q3D found
36 instances of Q3B found
36 instances of Q2B found
36 instances of Q1B found
family dNUx/dK1 dNUy/dK1
Q1D: 2.767659841836205e+00 -2.164981056828040e+00
Q2D: 1.018815337729133e+01 -4.511958898097328e+00
Q3D: 2.242069211361089e+00 -4.165355398602401e+00
Q3B: 8.453112974746261e+00 -1.290344052327592e+01
Q2B: 3.531437639160008e+01 -1.474791226255616e+01
Q1B: 1.130394033447765e+01 -1.470227659855234e+01
family dK1/dNUx dK1/dNUy
Q1D: -8.125000000000000e-01 -3.125000000000000e-01
Q2D: -4.687500000000000e-02 9.375000000000000e-02
Q3D: 6.250000000000000e-01 1.250000000000000e-01
Q3B: -3.125000000000000e-02 -6.250000000000000e-02
Q2B: 1.015625000000000e-01 1.562500000000000e-02
Q1B: -1.875000000000000e-01 0.000000000000000e+00
all six families are varied separately, as I 'd expect. So, what is really happening? Is it so wrong to use >2 quad families?
Thanks
Marco
I am correcting the tune in an elegant Diamond model, and was warned that in the manual use of ONLY TWO quad families is recommended.
Not knowing that I have been "happily" using all the 6 families we utilize in the real machine, like this:
&correct_tunes
quadrupoles = "Q1D Q2D Q3D Q3B Q2B Q1B",
n_iterations = 20,
change_defined_values = 1,
tune_x = <nux>
tune_y = <nuy>
&end
elegant seems to cope quite well with it, to the point that I had never realized this limitation.
The output seems to be consistent with the demanded action, and a (2x6) response matrix + its inverse are computed:
Computing tune influence matrix for all named quadrupoles.
6 instances of Q1D found
10 instances of Q2D found
10 instances of Q3D found
36 instances of Q3B found
36 instances of Q2B found
36 instances of Q1B found
family dNUx/dK1 dNUy/dK1
Q1D: 2.767659841836205e+00 -2.164981056828040e+00
Q2D: 1.018815337729133e+01 -4.511958898097328e+00
Q3D: 2.242069211361089e+00 -4.165355398602401e+00
Q3B: 8.453112974746261e+00 -1.290344052327592e+01
Q2B: 3.531437639160008e+01 -1.474791226255616e+01
Q1B: 1.130394033447765e+01 -1.470227659855234e+01
family dK1/dNUx dK1/dNUy
Q1D: -8.125000000000000e-01 -3.125000000000000e-01
Q2D: -4.687500000000000e-02 9.375000000000000e-02
Q3D: 6.250000000000000e-01 1.250000000000000e-01
Q3B: -3.125000000000000e-02 -6.250000000000000e-02
Q2B: 1.015625000000000e-01 1.562500000000000e-02
Q1B: -1.875000000000000e-01 0.000000000000000e+00
all six families are varied separately, as I 'd expect. So, what is really happening? Is it so wrong to use >2 quad families?
Thanks
Marco