DA_fma in a small ring

Moderators: cyao, michael_borland

xhs05
Posts: 30
Joined: 29 Nov 2012, 21:43

DA_fma in a small ring

Post by xhs05 » 19 Dec 2012, 01:15

Hi, Michael,

I use elegant to do the frequency map analysis to a small ring with only linear elements (dipoles and quadrupoles only). But I saw a strange phenomenon which look like nonlinear effects. The tune change a lot VS the horizontal displacement.

The DA is also nonlinear like. It's pretty strange to me.

Then, I did the single particle tracking to observe the horizontal phase space and vertical phase space. Still the same, it looks that there are some nonlinear effect which I don't where come from.

I checked my code for many times but still can't explain this phenomenon. Could you please give me some suggestions on my code? Is there any mistakes in the using of the program?

Thanks a lot!

Regards,
Haisheng Xu
Attachments
run_DA.ele
calculate the dynamic aperture code
(958 Bytes) Downloaded 412 times
fma.ele
frequency map analysis code
(636 Bytes) Downloaded 424 times
3mring.lte
lattice file with only linear elements
(1.17 KiB) Downloaded 388 times

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

Re: DA_fma in a small ring

Post by michael_borland » 19 Dec 2012, 09:31

Haisheng,

There are nonlinearities that come about as a result of the smaller bending radius. The leading term is sextupole-like and scales as 1/rho^3 . You can turn these off by setting NONLINEAR=0 on the CSBEND elements, but it isn't physical. Small radius bends have very strong chromaticity effects, which will make chromaticity correction a struggle.

Having said that, your FMA didn't look bad (attached).

--Michael
Attachments
fma.png

xhs05
Posts: 30
Joined: 29 Nov 2012, 21:43

Re: DA_fma in a small ring

Post by xhs05 » 19 Dec 2012, 10:15

Michael,
Thank you for reply!

Your result is better. Could you please post your file on line? I always observe the DA at the smallest \beta position. So I didn't see such large DA before.

Furthermore, could you explain a little about your model of the dipole ( and also the fringe field)? Or are there any references? I want to understand this in detail. As you know, the model of dipole magnet is different in small rings (because of the small bending radius).

Thanks a lot!

Haisheng

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

Re: DA_fma in a small ring

Post by michael_borland » 19 Dec 2012, 10:25

Haisheng,

My files are attached.

I've also attached a technical note that explains a little about how the dipoles are modeled. It doesn't describe the fringe field treatment, which at this point is pretty basic. You can either choose a purely linear edge focusing (sympletic) or a second-order matrix (non-symplectic). Some day I'd like to improve this.

--Michael
Attachments
tnote2010-029R02.pdf
(60.8 KiB) Downloaded 1234 times
smallRing.tar.gz
(1.24 MiB) Downloaded 460 times

xhs05
Posts: 30
Joined: 29 Nov 2012, 21:43

Re: DA_fma in a small ring

Post by xhs05 » 19 Dec 2012, 10:41

Michael,

Looks good! Thank you sooooo much!

Regards,
Haisheng

xhs05
Posts: 30
Joined: 29 Nov 2012, 21:43

Re: DA_fma in a small ring

Post by xhs05 » 23 Dec 2012, 09:38

Hi, Michael,

I try to add "nonlinear=0" to the csbend. But the DA is still nonlinear like.

The lattice file is attached.

It seems that this flag doesn't work for me. Could you please have a look at my settings? Thanks!


Regards,
Haisheng
Attachments
3mring.lte
(1.05 KiB) Downloaded 381 times

gwei
Posts: 33
Joined: 17 Jul 2015, 07:16

Re: DA_fma in a small ring

Post by gwei » 20 Jul 2015, 14:52

How was the beautiful picture plotted? what kind of sddsplot command for these 3 line data

xhs05
Posts: 30
Joined: 29 Nov 2012, 21:43

Re: DA_fma in a small ring

Post by xhs05 » 20 Jul 2015, 15:00

gwei wrote:How was the beautiful picture plotted? what kind of sddsplot command for these 3 line data
I remember that there is no one-line command which can be used to plot the pseudo-color figure. Let me try to look for the script I used.

Haisheng

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

Re: DA_fma in a small ring

Post by michael_borland » 20 Jul 2015, 16:30

The plot command I use for FMA data is

Code: Select all

sddsplot run.fma -column=x,y -split=column=diffusionRate -graph=sym,vary=subtype,scale=2,fill,type=2 -order=spectral 
The -split option splits the data into subpages based on the values of the diffusionRate column. The -graph option sets up variation on the symbol "subtype" (i.e., color); it also chooses a square symbol and filling of the symbols; the "scale=2" parameter may need adjustment depending on how fine the FMA grid is. The "-order=spectral" option sets the order of symbol colors; you can also try "-order=rspectral".

--Michael

gwei
Posts: 33
Joined: 17 Jul 2015, 07:16

Re: DA_fma in a small ring

Post by gwei » 20 Jul 2015, 16:44

michael_borland wrote:The plot command I use for FMA data is

Code: Select all

sddsplot run.fma -column=x,y -split=column=diffusionRate -graph=sym,vary=subtype,scale=2,fill,type=2 -order=spectral 
The -split option splits the data into subpages based on the values of the diffusionRate column. The -graph option sets up variation on the symbol "subtype" (i.e., color); it also chooses a square symbol and filling of the symbols; the "scale=2" parameter may need adjustment depending on how fine the FMA grid is. The "-order=spectral" option sets the order of symbol colors; you can also try "-order=rspectral".

--Michael
Thank you very much!

Post Reply