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!
Best way to scan through/Optimize Betax & Alphax?
Moderators: cyao, michael_borland
Best way to scan through/Optimize Betax & Alphax?
- Attachments
-
- runscript.txt
- File extension changed to allow upload
- (488 Bytes) Downloaded 881 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Best way to scan through/Optimize Betax & Alphax?
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
--Michael
Re: Best way to scan through/Optimize Betax & Alphax?
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!
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!
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Best way to scan through/Optimize Betax & Alphax?
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
--Michael
- Attachments
-
- 2014-02-12.zip
- (13.6 KiB) Downloaded 949 times