Beamline is unstable when matched=1 is set in twiss_output
Posted: 25 Jan 2024, 13:27
Hello,
I am using Elegant to optimize FODO lattice parameters for given drift, quad's lengths and phase advance.
However, I run into some problems where Elegant cannot find the periodic solution of my FODO lattice.
For example, this set of parameter works fine.
However, this set of parameters does not work, even though there's only 1-mm increases in drift spaces.
How can I solve this problem?
Thanks.
I am using Elegant to optimize FODO lattice parameters for given drift, quad's lengths and phase advance.
However, I run into some problems where Elegant cannot find the periodic solution of my FODO lattice.
For example, this set of parameter works fine.
Code: Select all
elegant elegant.ele -macro=driftlength=4.24,quadlength=0.2,phaseadv=0.4
Code: Select all
elegant elegant.ele -macro=driftlength=4.241,quadlength=0.2,phaseadv=0.4
Code: Select all
************************** Summary of warnings ****************************
3 types of warnings were recorded:
5* twiss_output: beamline unstable for y plane.
4* twiss_output: beamline unstable for x plane.
1* optimize: Maximum number of passes reached in simplex optimization
*****************************************************************************
Thanks.