Page 1 of 1

IBS cannot be calculated after adding a certain number of wigglers.

Posted: 11 Jul 2024, 23:28
by southwindow
<t>Hello~<br/>
<br/>
I've recently been trying to see the effect of damping on IBS by adding wigglers one by one to a storage ring with long straight section, and the way I've done it is by replacing elements of drifts with wigglers. I could see the emittance decreasing as the number of wigglers increased, but after adding a certain amount of wigglers, the emittance jumped.<br/>
<br/>
I don't know if this is a bug. Attached is my lattice file and calculation results, and a Jupyter Notebook file that completes the replacement and calculation. <br/>
<br/>
Regards, <br/>
<br/>
Ao</t>

Re: IBS cannot be calculated after adding a certain number of wigglers.

Posted: 19 Aug 2024, 14:48
by michael_borland
When I try your lattice, it gives undefined lattice functions for the vertical plane. If you are adding wigglers, the vertical tune will change and has probably moved too close to an integer or half-integer resonance.

--Michael

Re: IBS cannot be calculated after adding a certain number of wigglers.

Posted: 01 Sep 2024, 17:01
by southwindow
Dear Michael,

Thank you very much for your reply! If I understand you correctly, you are saying that I need to adjust the strength of the quadrupole after each addition of the wiggler to make the vertical tune consistent right? Or is there any other way to avoid this problem?

Regards,
Ao

Re: IBS cannot be calculated after adding a certain number of wigglers.

Posted: 03 Sep 2024, 15:58
by michael_borland
Ao,

Yes, that's right. As a quick workaround, you can set FOCUSING=0 on your WIGGLER elements, if that's how you are modeling them. You can to keep in mind that this is unphysical.

In some cases, all it takes to restore the lattice to a reasonably sane state is to correct the tunes, which is easily done with the &correct_tunes command.

-Michael