Search found 2048 matches

by michael_borland
26 May 2026, 12:13
Forum: Linac Tracking
Topic: what's wrong with simulation of transport line orbit correct
Replies: 8
Views: 19678

Re: what's wrong with simulation of transport line orbit correct

Monika,

I tried version 2026.2 (the latest) and it works fine with the attached lattice file.

--Michael
by michael_borland
15 May 2026, 13:54
Forum: Linac Tracking
Topic: Twiss failure and tracking errors using cell-by-cell TWLA with solenoids
Replies: 2
Views: 435

Re: Twiss failure and tracking errors using cell-by-cell TWLA with solenoids

Amal, The main problem is that the TWLA elements are not set up using phase references. If you break a structure into cells, you should use a phase reference to ensure consistent phasing. See the attached file. Even after fixing that, there are problems finding the matrices of the TWLAs, which preve...
by michael_borland
13 May 2026, 17:55
Forum: Bugs
Topic: Mirrored elements in save_lattice
Replies: 2
Views: 7945

Re: Mirrored elements in save_lattice

Michael,

This should be fixed in the latest release (2026.2)

--Michael
by michael_borland
13 May 2026, 17:55
Forum: Bugs
Topic: Version 2026.2 released
Replies: 0
Views: 786

Version 2026.2 released

Version 2026.2 has been released. This is a significant upgrade with the inclusion of a spin-tracking option. Several bugs were also fixed. Details are available in the manual.

--Michael
by michael_borland
13 May 2026, 17:54
Forum: General
Topic: Version2026.2 released
Replies: 0
Views: 3902

Version2026.2 released

Version 2026.2 has been released. This is a significant upgrade with the inclusion of a spin-tracking option. Details are available in the manual.

--Michael
by michael_borland
06 May 2026, 15:07
Forum: General
Topic: Beam stay clear determination
Replies: 2
Views: 3477

Re: Beam stay clear determination

Monika,

You can use the acceptance values and beta functions from the twiss_output file for BSC computation. The acceptance includes the effect of optics and orbit.

See attached example.

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

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

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: 2
Views: 7945

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

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