Search found 55 matches

by Zamank
08 Apr 2019, 15:49
Forum: Linac Tracking
Topic: Momentum Change From RFCW's TrWake
Replies: 1
Views: 2439

Momentum Change From RFCW's TrWake

Hi Michael, I am trying to see in detail how ELEGANT calculates the momentum change for a RFCW element for a particle within a bunch as I believe that the variation in transverse dimension of the beam in the RFCW elements is responsible for CSR suppression (via the R51/R52 terms). I believe I unders...
by Zamank
13 Jun 2018, 12:18
Forum: Optimization and Matching
Topic: Optimizer Error Using Input Matrix Files
Replies: 3
Views: 3423

Re: Optimizer Error Using Input Matrix Files

Michael,

Just curious: How are the twiss function at the end computed? I tried using the "uncoupled" equations:

betax = R11^2*betax0 - 2*R11*R12*alphax0 + R12^2 gammax0

And do not get the same values calculated by Elegant.

Thanks in advance.
by Zamank
23 May 2018, 10:55
Forum: Optimization and Matching
Topic: Optimizer Error Using Input Matrix Files
Replies: 3
Views: 3423

Re: Optimizer Error Using Input Matrix Files

Awesome, thanks for the help Michael. I fixed 1 as you mentioned and I am testing around matching the matrix elements. I've been looking at the matrices and I think the coupling is weak enough in the (z, deltaP) coordinates that they can be ignored and just fit 4x4 Rxy matrix.
by Zamank
21 May 2018, 03:50
Forum: Optimization and Matching
Topic: Optimizer Error Using Input Matrix Files
Replies: 3
Views: 3423

Optimizer Error Using Input Matrix Files

Hi Michael, I am revisting this topic because I wanted to vary the phase advance for a section of beamline but I am having issues doing so. I created a beamline using oscillation orbit data from BPMs and quads. The sections between quds are defined by a matrix txt file and the quad strengths are onl...
by Zamank
12 Sep 2017, 17:43
Forum: Optimization and Matching
Topic: Suggestion to linearize the z-delta phase space?
Replies: 1
Views: 2394

Suggestion to linearize the z-delta phase space?

HI All, If I wanted to linearize the longitudinal phase space of a linac+linearizer system for a given linac phase (which should remain constant during optimization) does anyone have a suggestion on the best way to go about this? Currently, I am using elegant's simplex optimizer/minimizer with the o...
by Zamank
15 Apr 2017, 18:48
Forum: Linac Tracking
Topic: Toggling "ALLOW_LONG_BEAM" In RFCW element?
Replies: 2
Views: 4768

Re: Toggling "ALLOW_LONG_BEAM" In RFCW element?

Ah! Very clever, I extended the wake file artificially as you suggested.

Thank you for your help! Makes for an eventful weekend!
by Zamank
15 Apr 2017, 18:47
Forum: Parameter Scanning
Topic: How to scan Twiss Parameter?
Replies: 10
Views: 23275

Re: How to scan Twiss Parameter?

Very helpful! Essentially all of the "Vary" information is contained in the "Watch" file. Very helpful and now I can use Pelegant to do the scans!
by Zamank
14 Apr 2017, 12:43
Forum: Linac Tracking
Topic: Toggling "ALLOW_LONG_BEAM" In RFCW element?
Replies: 2
Views: 4768

Toggling "ALLOW_LONG_BEAM" In RFCW element?

Hi, I was wondering if there was some way to toggle off the warning "ALLOW_LONG_BEAM" for the RFCW elements? I read in the manual that it seems like only the "WAKE" elements have this feature. I am running very large scans of parameters, and it much easier to allow the parameters to vary within thes...
by Zamank
14 Apr 2017, 12:38
Forum: Parameter Scanning
Topic: How to scan Twiss Parameter?
Replies: 10
Views: 23275

Re: How to scan Twiss Parameter?

Hi Michael, I just wanted to inquire a bit more about the "ILMATRIX" scan for NUX. I have tried doing it by adding a ILMATRIX element into the beamline I want to scan NUX as so: MATRIX : ILMATRIX,l=0,BETAX=3.964955e+01,ALPHAX=2.350896,BETAY=3.875236,ALPHAY=-2.690294e-01,NUX=6.283185307179586 But I g...
by Zamank
29 Mar 2017, 13:47
Forum: Optimization and Matching
Topic: 3 chicane linac optimization?
Replies: 4
Views: 8851

Re: 3 chicane linac optimization?

Thanks for the speedy help Michael (as always!). Quick question: I am trying to learn a bit more about this optimization routine (I am using simplex) that ELEGANT is implementing in order to get a better understanding (and confidence) of the solutions it spits out. The manual is a bit sparse on deta...