Search found 1930 matches

by michael_borland
20 Apr 2009, 09:09
Forum: General
Topic: a question about SDDS
Replies: 1
Views: 1808

Re: a question about SDDS

You can change the name of a column, parameter, or array using sddsconvert: sddsconvert input.sdds output.sdds -rename=column,oldName=newName You can also change many names at once using -editnames, e.g., sddsconvert input.sdds output.sdds -rename=column,*y,%/y/z/ would replace 'y' with 'z' in all c...
by michael_borland
14 Apr 2009, 16:07
Forum: Optimization and Matching
Topic: Closed Orbit Correction Fails to Work
Replies: 9
Views: 13452

Re: Closed Orbit Correction Fails to Work

Ray, The problem seems to be that you have multiple horizontal correctors between some monitors, which makes the response matrix nearly singular. In the "NoWork" files, there is one less monitor in each plane that is "useable" (i.e., downstream of a corrector). Somehow that makes the matrix bad enou...
by michael_borland
14 Apr 2009, 14:03
Forum: General
Topic: MONI question - beam position monitor
Replies: 2
Views: 2184

Re: MONI question - beam position monitor

In elegant, the monitor readout is the beam position at the end of the element, not the center.

Normally, I use zero-length monitors to avoid confusion.

--Michael
by michael_borland
13 Apr 2009, 11:54
Forum: Bugs
Topic: Orbit response matrix for BEND.FSE
Replies: 2
Views: 5659

Re: Orbit response matrix for BEND.FSE

Alexey, This is an interesting result. I think the problem is that for orbit response matrix computation, elegant assumes that the kick delivered by the element occurs at the end of the element. This isn't exactly right, but is usually "good enough." I'll have to think about how to solve this. There...
by michael_borland
10 Apr 2009, 17:33
Forum: General
Topic: Microtron Dipole Magnet
Replies: 1
Views: 2029

Re: Microtron Dipole Magnet

Serkan, You can simulate this using SBEN or CSBEND elements. However, you'll need to manually compute the arc length for each pass. To elegant, this is just a dipole with very large edge angles: E1=E2=(pi-theta)/2, where theta>0 is the bending angle. If the dipole has significant fringe fields, you ...
by michael_borland
23 Mar 2009, 12:01
Forum: Optimization and Matching
Topic: Can elegant perform dynamic Aperture optimization ?
Replies: 18
Views: 25668

Re: Can elegant perform dynamic Aperture optimization ?

Shancai, Attached are some files to demonstrate performing a tune scan to optimize dynamic aperture. The scripts work on linux, but may require modification to work on Windows. Also attached is a plot showing what the result looks like. A word of caution: this analyzes only the dynamic aperture. The...
by michael_borland
23 Mar 2009, 11:56
Forum: Optimization and Matching
Topic: Can elegant perform dynamic Aperture optimization ?
Replies: 18
Views: 25668

Re: Can elegant perform dynamic Aperture optimization ?

Shancai, The chromaticity is corrected for each function evaluation. You want this, because you are changing quadrupoles. If the chromaticity isn't corrected each time, you'll almost certainly have a result you can't use (dynamic aperture optimized but wrong chromaticity). If you want to correct the...
by michael_borland
19 Mar 2009, 21:35
Forum: General
Topic: Why twiss doea not symmetry?
Replies: 3
Views: 2485

Re: Why twiss doea not symmetry?

Shancai, The lattice layout is symmetric, but the quadrupole strengths are not. To get a symmetric solution, Q1, Q2, and Q3, must have the same strength as Q8, Q7, and Q6, respectively. If you make a new beamline like this: twosec: line=(onesp,-onesp) you'll find it has symmetric lattice functions. ...
by michael_borland
19 Mar 2009, 08:17
Forum: Optimization and Matching
Topic: Can elegant perform dynamic Aperture optimization ?
Replies: 18
Views: 25668

Re: Can elegant perform dynamic Aperture optimization ?

Shancai, At APS we use elegant and a genetic optimization script for combined dynamic/momentum aperture optimization. However, it requires a linux cluster, since the individual runs take about 1 hour each. You can also perform driving term minimization to improve dynamic/momentum aperture, although ...
by michael_borland
19 Mar 2009, 08:01
Forum: General
Topic: Why twiss doea not symmetry?
Replies: 3
Views: 2485

Re: Why twiss doea not symmetry?

Can you post the files in a different format? I don't have any software that will extract files from a RAR file.

tar and zip formats are more universal.

--Michael