Search found 1942 matches

by michael_borland
19 Aug 2024, 11:51
Forum: Optimization and Matching
Topic: RPN expression error
Replies: 1
Views: 4918

Re: RPN expression error

Weijie, You need to use "M2#1.betax" instead of "M2.betax". The reason is that elegant allows multiple instances of the marker M2 in the beamline, so you have to tell it which one to use (even when there is in fact only one). Another problem is here: &optimization_term term = "20 betax betay - sqr +...
by michael_borland
19 Aug 2024, 11:42
Forum: General
Topic: Large Cx Amplitude in Beamline Model with ZTRANSVERSE
Replies: 1
Views: 3936

Re: Large Cx Amplitude in Beamline Model with ZTRANSVERSE

I think the problem is just that you set X_DRIVE_EXPONENT=0. That means that the horizontal wake is a monopole wake, so that there is a kick in the x plane regardless of x position. If you want to turn off the horizontal wake, set XFACTOR=0

--Michael
by michael_borland
02 Apr 2024, 10:26
Forum: General
Topic: Job opportunity at the Advanced Photon Source
Replies: 0
Views: 4204

Job opportunity at the Advanced Photon Source

The Advanced Photon Source has an opening for an Assistant Physicist in the Accelerator Operations and Physics Group. The position involves hands-on work on accelerators, simulation, and machine learning.

If interested, please click here.

--Michael
by michael_borland
29 Mar 2024, 17:31
Forum: Linac Tracking
Topic: About R56 in Elegant and LiTrack
Replies: 2
Views: 6505

Re: About R56 in Elegant and LiTrack

Zhenbiao, I've never used LiTrack, but I think the sign convention for R56 is the opposite of elegant's. Usually in elegant we define the bunch compressors explicitly using bending magnets. However, it is possible to use the EMATRIX element to simulate a matrix defined by the matrix elements. An exa...
by michael_borland
29 Mar 2024, 16:34
Forum: General
Topic: IBS and bunch lengthening due to impedance
Replies: 2
Views: 7556

Re: IBS and bunch lengthening due to impedance

Mikhail,

Please see the attached example. It converges in four iterations.

--Michael
by michael_borland
29 Mar 2024, 15:01
Forum: General
Topic: Using BMXYZ for tracking through a periodic quadrupole
Replies: 2
Views: 6524

Re: Using BMXYZ for tracking through a periodic quadrupole

Samira, The problem seems to be that your field file does not define a quadrupole magnet. To check this, I computed dBy/dx at y=0 and dBx/dy at x=0 as a function of z. sddssort fieldmap300.sdds -pipe=out -col=z -col=x -col=y | sddsbreak -pipe -change=z | sddsprocess -pipe -filter=col,y,-1e-6,1e-6 -p...
by michael_borland
29 Mar 2024, 14:50
Forum: Momentum Aperture
Topic: Momentum aperture fiducialize and soft_failure
Replies: 1
Views: 5976

Re: Momentum aperture fiducialize and soft_failure

Minghao, Setting fiducialize=1 is recommended if you are performing one-pass momentum aperture in a system with large energy losses or gain. An example is a linac. For storage rings, it should be zero. soft_failure is used to control what happens when the momentum acceptance is not found one or more...
by michael_borland
29 Mar 2024, 14:41
Forum: Feature Requests
Topic: Modifications to find_aperture
Replies: 2
Views: 6394

Re: Modifications to find_aperture

Mikhail,

The ability to perform (delta, x) and (delta, y) aperture finding will appear in the next release.

Thanks for the suggestion.

--Michael
by michael_borland
07 Mar 2024, 17:00
Forum: Feature Requests
Topic: Modifications to find_aperture
Replies: 2
Views: 6394

Re: Modifications to find_aperture

Mikhail, I think the only way you can get what I understand you are looking for is to use something other than line-search mode. By definition, line-search mode searches along lines starting from the origin. The radial spacing along the lines is xmax/nx. You can always reduce nx if you want finer st...
by michael_borland
19 Feb 2024, 10:32
Forum: Linac Tracking
Topic: issue tracking with PELEGANT
Replies: 6
Views: 4509

Re: issue tracking with PELEGANT

Philippe,

The reason that happens in Pelegant is that the master processor is "non-working." It handles coordination among the slave processors, but (usually), doesn't do anything related to particle generation or tracking.

I'll add a check to the code for this problem.

--Michael