Understanding Phase Advance Optimization
Posted: Tue 12 Jan 2021 20:14
I am trying to understand optimization of the transverse phase advance and I am having trouble. I have attached a sample .ini and .dat file (zipped together) that contains a sufficiently small example.
First, it isn't clear to me if the phase advance is measured from the command, as the manual states, or from after the next element, which is the usual TraceWin convention. In the attached example, what value of N should I give to SET_BEAM_PHASE_ADV so that the phase advance is optimized to the end of drift D4? 7 or 8?
Second, I cannot find any output from TraceWin that will tell me the correct phase advance. The optimizer reaches a really small number, the beam phase advance criterion is in the 1e-11 range, so I think it has reached the target value, but I cannot confirm that anywhere.
In the attached example, I have tried to optimize the lattice such that the x phase advance is 194.324 degrees from beginning to end (and included some twiss parameters, too). When I try to plot the phase advance, I have two options:
A) "Structure" and B) "Beam" When I plot "Beam" I get a significantly different phase advance of 164.595 degrees.
When I try to plot "Structure" I get an error that "Data not yet available"
The manual leads me to believe that "Structure" is the plot that I want, but I don't know how to actually view it. Am I missing a check box somewhere?
First, it isn't clear to me if the phase advance is measured from the command, as the manual states, or from after the next element, which is the usual TraceWin convention. In the attached example, what value of N should I give to SET_BEAM_PHASE_ADV so that the phase advance is optimized to the end of drift D4? 7 or 8?
Second, I cannot find any output from TraceWin that will tell me the correct phase advance. The optimizer reaches a really small number, the beam phase advance criterion is in the 1e-11 range, so I think it has reached the target value, but I cannot confirm that anywhere.
In the attached example, I have tried to optimize the lattice such that the x phase advance is 194.324 degrees from beginning to end (and included some twiss parameters, too). When I try to plot the phase advance, I have two options:
A) "Structure" and B) "Beam" When I plot "Beam" I get a significantly different phase advance of 164.595 degrees.
When I try to plot "Structure" I get an error that "Data not yet available"
The manual leads me to believe that "Structure" is the plot that I want, but I don't know how to actually view it. Am I missing a check box somewhere?