Search found 43 matches

by petrenko
29 Jan 2010, 13:46
Forum: Bugs
Topic: QUAD.HKICK and element division
Replies: 3
Views: 6456

QUAD.HKICK and element division

Michael,
There is rather annoying bug in QUAD element with HKICK or VKICK steering used. If you divide the quadrupole using "divide_elements" command then the steering kick value is simply copied to each slice. This results in many-fold increase in overall steering.

Thanks.
Alexey.
by petrenko
20 Nov 2009, 09:14
Forum: Feature Requests
Topic: Nonlinearities from fringe fields
Replies: 1
Views: 14915

Nonlinearities from fringe fields

Michael,

Please consider some day include the quadrupole and dipole fringe fields into KQUAD and CSBEND elements.
Fringe field effects often have a big contribution into the amplitude dependent tune shift and dynamic aperture:
http://accelconf.web.cern.ch/AccelConf/ ... 4_1033.PDF

Alexey.
by petrenko
19 Nov 2009, 11:52
Forum: Dynamic Aperture
Topic: Amplitude dependent tune shift from KQUAD
Replies: 2
Views: 17320

Re: Amplitude dependent tune shift from KQUAD

It looks like this tune shift in KQUAD comes from the v_z * H_y term in the Lorents force. In qaudrupole vertical magnetic field is H_y = G * x Then horizontal Lorentz force is F_x = (e/c) * v_z * G * x The motion is linear as long as we assume v_z to be constant. This is only approximately true sin...
by petrenko
19 Nov 2009, 05:12
Forum: Dynamic Aperture
Topic: Amplitude dependent tune shift from KQUAD
Replies: 2
Views: 17320

Amplitude dependent tune shift from KQUAD

Michael, Why does KQUAD element like this one (without nonlinearities) generate some significant amplitude dependent tune shift? KQUAD, N_KICKS=10, L=0.3, K1=+4.00 Are there any hidden nonlinearities (like fringe fields or something) that are taken into account? Matrix version of this quadrupole of ...
by petrenko
14 Apr 2009, 01:46
Forum: Bugs
Topic: Orbit response matrix for BEND.FSE
Replies: 2
Views: 5626

Re: Orbit response matrix for BEND.FSE

I guess the effect of corrector length should be important if there is some significant betatron phase advance along that steering element. I've found a simple workaround: the effect of FSE in a bend can be replaced with two HKICKs at the beginning and at the end of the magnet. For a coasting beam (...
by petrenko
13 Apr 2009, 09:40
Forum: Bugs
Topic: Orbit response matrix for BEND.FSE
Replies: 2
Views: 5626

Orbit response matrix for BEND.FSE

Dear Michael, I think there is a bug in the correction_matrix_output command then BEND.FSE is used as steering element. Closed_orbit command gives a different result. Please take a look at this example script. I would like to use BEND.FSE in a response matrix fitting. Is it supposed to be used that ...
by petrenko
16 Jan 2009, 01:05
Forum: Bugs
Topic: Orbit response matrix bug in elegant 20.0
Replies: 13
Views: 16053

Orbit response matrix bug in elegant 20.0

Orbit response matrix fitting does not work in new elegant 20.0:

This is the responseMatrixFit4 example:

> [petrenko@localhost]$ elegant match1.ele
> ...
> Error: Memory is not allocated (matrix_mult)!
by petrenko
16 Dec 2008, 00:07
Forum: Feature Requests
Topic: new sddsplot options (for 2D lattice layout)
Replies: 2
Views: 10211

Re: new sddsplot options (for 2D lattice layout)

Thank you, Michael! I see the point now. This is the SDDS-edit, not the interactive edit as I expected.
Still, links + tcl-dialogs may add some interactivity into the sddsplot.
by petrenko
15 Dec 2008, 04:43
Forum: Feature Requests
Topic: new sddsplot options (for 2D lattice layout)
Replies: 2
Views: 10211

new sddsplot options (for 2D lattice layout)

Hi! I figured out how to plot quite a nice picture of accelerator layout using floor_coordinates command in Elegant. I hope somebody will also find this simple script useful. In this connection I would like to suggest a number of new features for sddsplot: 1) Make it possible to keep the same aspect...
by petrenko
17 Sep 2008, 02:12
Forum: General
Topic: insert_elements
Replies: 2
Views: 1824

Re: insert_elements

Thanks a lot!
It's quite hard to guess. Probably it makes sense to set the default "skip" to 1.