Page 1 of 1

Best way to scan through/Optimize Betax & Alphax?

Posted: 10 Feb 2014, 16:04
by Zamank
Hi All,

I was wondering if there was a better method of optimizing the beta and alpha functions. I am basically trying to perform a 2D parameter scan at the entrance of 4-Dipole Chicane and optimize the emittance (ecnx) at the exit. Currently, I am running a script that goes through all the values, but with not much precision. My script is attached.

Is there a better way of doing this?

Thanks in advance!

Re: Best way to scan through/Optimize Betax & Alphax?

Posted: 10 Feb 2014, 21:27
by michael_borland
You can optimize the results of tracking from inside of elegant. Use a TWISS element to alter the beta functions at the start of the chicane, then use "ecnx" as part of your optimization function. You didn't upload the elegant input files so it is hard to give a more detailed response.

--Michael

Re: Best way to scan through/Optimize Betax & Alphax?

Posted: 11 Feb 2014, 17:20
by Zamank
Hi Michael,

I attached my .lte and .ele files. Tried to get it working on my own, but still need a little help so it seems...

I specifically want to minimize the ecnx at the exit of the chicane (BX24) by just varying the beta's and alpha's.


Thank you!

Re: Best way to scan through/Optimize Betax & Alphax?

Posted: 12 Feb 2014, 11:32
by michael_borland
Here's an example of how to do tracking based optimization of the twiss parameters. I didn't find much improvement, however. It seems very insensitive to these parameters.

--Michael