Fits with Fitting

Moderators: cyao, michael_borland

Post Reply
tennant
Posts: 85
Joined: 31 Jul 2008, 07:19
Location: Jefferson Laboratory

Fits with Fitting

Post by tennant » 11 Sep 2013, 12:52

Hi,

I've never been very successful in using the optimizer in elegant. I'm attaching a simple lattice file with a request/challenge to get the fit to converge. I have four 90-degree FODO cells. I simply want to move the phase advance (both planes) and maintain the same Twiss parameters at the exit. If this exercise is done with DIMAD, the fit converges and is done in less than a fraction of a second. With elegant, the way I currently have the optimizer configured, it takes a good part of a minute and does not converge. I'm fitting 6 parameters (Bx, By, ax, ay, psix, psiy) with 9 available knobs. I'd love for someone to show me what I'm doing wrong!

Thanks,
chris
Attachments
fit_test.lte
(578 Bytes) Downloaded 373 times
fit_test.ele
(2.11 KiB) Downloaded 364 times

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

Re: Fits with Fitting

Post by michael_borland » 16 Sep 2013, 08:54

Chris,

Please try the attached file. I think the main problem was the huge step sizes.

-Michael
Attachments
fit_test.ele
(2.11 KiB) Downloaded 394 times

Post Reply