Search found 59 matches

by Zamank
16 Sep 2024, 15:52
Forum: Ring Tracking
Topic: Lattice files for APS-U
Replies: 0
Views: 2344

Lattice files for APS-U

Hi Michael,

Is there somewhere I can find the APS-U lattice files, I was curious and wanted to look into the hybrid multi-bend achromat (7 bends). I looked in the 'examples/APSRing' folder but this may not be the APS-U.

Thanks!
by Zamank
27 Dec 2023, 13:45
Forum: Linac Tracking
Topic: Discrepany in R26 and R56 for transversely offset KQUAD
Replies: 2
Views: 5120

Re: Discrepany in R26 and R56 for transversely offset KQUAD

Great! Thanks for the reply Michael, I'm currently looking into the discrepancy as switching the "TRACKING_MATRIX=2" did turn on the R56 term but the magnitudes of the R16, R26, and R56 are slightly off.
by Zamank
29 Nov 2023, 06:55
Forum: Linac Tracking
Topic: Discrepany in R26 and R56 for transversely offset KQUAD
Replies: 2
Views: 5120

Discrepany in R26 and R56 for transversely offset KQUAD

Hi Michael, I am creating a beamline with an DX-offset quadrupole to induce some fine-tuned dispersion. But I noticed when I look at the R-matrix for the offset quadrupole there is no effect on the R56. Additionally when I cross-reference with another particle tracking code (Bmad) I get completely d...
by Zamank
21 Jun 2023, 14:28
Forum: Linac Tracking
Topic: Calculate on-energy orbit deviation
Replies: 1
Views: 4865

Calculate on-energy orbit deviation

Hi All, For a simple bend system or linac, I want to impose FSE errors on the quadrupoles/dipoles and find the deviation of the on-energy orbit. At the moment, I am doing this by subtracting off the <Cx,Cy> (which is small but not non-zero) from the %s.cen output file for FSE=0 from the <Cx,Cy> para...
by Zamank
08 Apr 2019, 15:49
Forum: Linac Tracking
Topic: Momentum Change From RFCW's TrWake
Replies: 1
Views: 3281

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: 4722

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: 4722

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: 4722

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: 3210

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: 5709

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!