Best way to scan through/Optimize Betax & Alphax?

Moderators: cyao, michael_borland

Post Reply
Zamank
Posts: 55
Joined: 03 Dec 2013, 10:57

Best way to scan through/Optimize Betax & Alphax?

Post by Zamank » 10 Feb 2014, 16:04

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!
Attachments
runscript.txt
File extension changed to allow upload
(488 Bytes) Downloaded 604 times

michael_borland
Posts: 1796
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

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

Post by michael_borland » 10 Feb 2014, 21:27

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

Zamank
Posts: 55
Joined: 03 Dec 2013, 10:57

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

Post by Zamank » 11 Feb 2014, 17:20

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!
Attachments
help.lte
(156.9 KiB) Downloaded 616 times
help.ele
(1.51 KiB) Downloaded 618 times

michael_borland
Posts: 1796
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

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

Post by michael_borland » 12 Feb 2014, 11:32

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
Attachments
2014-02-12.zip
(13.6 KiB) Downloaded 673 times

Post Reply