Search found 2042 matches

by michael_borland
16 Apr 2026, 12:53
Forum: Linac Tracking
Topic: RFTMEZ0 and not-so-relativistic beam capture
Replies: 1
Views: 77

Re: RFTMEZ0 and not-so-relativistic beam capture

Dan,

I think what the three-cell simulation is telling you is that the distances between the cells is not right for the (variable) velocity of your beam. Given that, there isn't much you can do if the structure is already built, beyond using phase shifters for two of the cells.

--Michael
by michael_borland
16 Apr 2026, 12:36
Forum: Momentum Aperture
Topic: Lifetime after adding scraper and undulator
Replies: 1
Views: 205

Re: Lifetime after adding scraper and undulator

Samira, Yes, apertures will be included in the Touschek lifetime calculations via the local momentum acceptance. However, in your simulation you only added vertical apertures, plus you have no errors. In that case, it isn't surprising that the effect is small because of the lack of coupling of horiz...
by michael_borland
16 Apr 2026, 11:57
Forum: Bugs
Topic: Mirrored elements in save_lattice
Replies: 1
Views: 256

Re: Mirrored elements in save_lattice

Michael,

I confirmed this bug for &save_lattice with output_seq=1 and will look into fixing it. If you can use output_seq=0, that works as expected.

--Michael
by michael_borland
06 Apr 2026, 19:09
Forum: Ring Tracking
Topic: touschek_scatter
Replies: 2
Views: 1219

Re: touschek_scatter

Chao,

I'm not exactly sure why that happened, but it seems related to how you inserted the TSCATTER elements. I've attached modified files that work as expected.

--Michael
by michael_borland
13 Mar 2026, 13:58
Forum: General
Topic: Career opportunities at APS
Replies: 0
Views: 2112

Career opportunities at APS

There are two openings for assistant physicists at APS that may be of interest to those on this forum: The first is for an accelerator physicist specializing in storage rings Assistant Physicist — Accelerator The second is for someone with experience applying AI/ML to accelerators Assistant Physicis...
by michael_borland
12 Mar 2026, 17:12
Forum: Bugs
Topic: Version 2026.1 released
Replies: 0
Views: 2176

Version 2026.1 released

Version 2026.1 has been released, with a number of bug fixes and feature enhancements, as described in the manual.

--Michael
by michael_borland
12 Mar 2026, 17:11
Forum: General
Topic: Version 2026.1 released
Replies: 0
Views: 1731

Version 2026.1 released

Version 2026.1 has been released, with a number of bug fixes and feature enhancements, as described in the manual.

--Michael
by michael_borland
09 Mar 2026, 12:18
Forum: Ring Tracking
Topic: Simulation of coupled-bunch effects with a time-variant quadrupole
Replies: 5
Views: 30224

Re: Simulation of coupled-bunch effects with a time-variant quadrupole

Siwei, To connect B2 to a more familiar quantity, we can start with equation 100 and 101 in the manual. This tells us that the peak change in x' is dx'= x*e/(m*c^2)*(2*B2)/k/pz. In an ordinary thin quadrupole, we have dx'=x*K1*L. Hence, B2 = pz*K1*L*k/2 * (m*c^2)/e. Note that pz=betaz*gamma. The uni...
by michael_borland
03 Mar 2026, 18:17
Forum: Ring Tracking
Topic: Unexpected change in particle momentum with skew quadrupole
Replies: 3
Views: 1281

Re: Unexpected change in particle momentum with skew quadrupole

Bjorn, That's a very old bug that went unnoticed for years, since elegant is rarely used for such low values of momentum. The error is that some loss mechanisms result in caching of gamma instead of p=beta*gamma. I'll fix this in the next release, along with adding pCentral to the parameters. In the...
by michael_borland
03 Mar 2026, 16:14
Forum: Momentum Aperture
Topic: Elegant vs AT MA and Touschek lifetime
Replies: 1
Views: 1605

Re: Elegant vs AT MA and Touschek lifetime

Monika, We did a comparison of AT and elegant several years ago and found good agreement in the LMA. https://journals.aps.org/prab/pdf/10.1103/PhysRevAccelBeams.22.114601 However, we didn't compute the Touschek lifetime for each case and unfortunately, I don't have those files any longer. The Tousch...