Hi,
I wanted to insert a wiggler in a ring. Iused CWIGGLER but I didn't know how to create an sdds file containing harmonic amplitudes. Can you give me some hints?
Many thanks for your help,
Samira
sdds file in CWIGGLER
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sdds file in CWIGGLER
Samira,
Perhaps this paper will help explain the ideas
http://accelconf.web.cern.ch/PAC2013/papers/wepsm12.pdf
Also, I've attached a sample file for an APS undulator with a 28-mm period.
--Michael
Perhaps this paper will help explain the ideas
http://accelconf.web.cern.ch/PAC2013/papers/wepsm12.pdf
Also, I've attached a sample file for an APS undulator with a 28-mm period.
--Michael
- Attachments
-
- U28-8.5mm-ByHarmonics.sdds
- (11.18 KiB) Downloaded 100 times
-
- Posts: 27
- Joined: 15 Jun 2021, 13:38
Re: sdds file in CWIGGLER
Dear Michael,
Many thanks for your kind reply.
I insert two wiggler in my lattice and I tried to do optimization. But still I have beta beating.
Could you please to take a look to my files?
FYI:First I run nominal.ele and I get twiss parameters. Then I run optimize.ele and I get optimize.new. Finally I run track.ele
Cheers,
Samira
Many thanks for your kind reply.
I insert two wiggler in my lattice and I tried to do optimization. But still I have beta beating.
Could you please to take a look to my files?
FYI:First I run nominal.ele and I get twiss parameters. Then I run optimize.ele and I get optimize.new. Finally I run track.ele
Cheers,
Samira
- Attachments
-
- file.tar.gz
- (11.47 KiB) Downloaded 84 times
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sdds file in CWIGGLER
Samira,
The problem is that setting alpha=eta'=0 at the ends of two sectors doesn't ensure that the lattice functions are symmetric. Further, I don't think you have enough independent quadrupoles to fix the beats.
I've attached a modified version of your files that shows how you could solve the problem. It's possible I introduced too many independent quadrupoles, but it gives you the idea.
--Michael
The problem is that setting alpha=eta'=0 at the ends of two sectors doesn't ensure that the lattice functions are symmetric. Further, I don't think you have enough independent quadrupoles to fix the beats.
I've attached a modified version of your files that shows how you could solve the problem. It's possible I introduced too many independent quadrupoles, but it gives you the idea.
--Michael
- Attachments
-
- example.tar.gz
- (2.64 KiB) Downloaded 85 times