Search found 2056 matches

by michael_borland
05 Aug 2026, 10:08
Forum: Ring Tracking
Topic: simulation with a (time-depended) bumper
Replies: 4
Views: 1174

Re: simulation with a (time-depended) bumper

The problem is related to the way the BUMPER element aligns the time coordinates of the beam to the time coordinates of the waveform. In particular, it computes <t> for the particles and aligns that to t=0 in the waveform file. If you center your waveform t data about t=0, you should get the results...
by michael_borland
05 Aug 2026, 09:42
Forum: Ring Tracking
Topic: trajectory and matrix of BGGEXP element
Replies: 1
Views: 961

Re: trajectory and matrix of BGGEXP element

It is hard for me to comment without having your files and without knowing how you generated the plots.

The examples file contains an example (straightDipoleModels/lgbend1) for BGGEXP and LGBEND, which may help.

--Michael
by michael_borland
08 Jul 2026, 12:24
Forum: Ring Tracking
Topic: Skew dipole error in CSBEND
Replies: 1
Views: 1488

Re: Skew dipole error in CSBEND

Samira,

A skew dipole produces a vertical kick, so just use the YKICK parameter.

--Michael
by michael_borland
08 Jul 2026, 12:22
Forum: Ring Tracking
Topic: Beam scattering simulation
Replies: 1
Views: 12580

Re: Beam scattering simulation

Minghao, 1. Elastic and inelastic scattering are single-particle phenomena. We can use Pelegant for the simulations to save time. 2. The run1.eslos file contains information on where scattered particles are lost. For each lost particle, it reports the coordinates at the scattering event (s, xp, xp, ...
by michael_borland
07 Jul 2026, 10:36
Forum: General
Topic: Sign of summation in second order RDTs wrt sextupoles
Replies: 7
Views: 96890

Re: Sign of summation in second order RDTs wrt sextupoles

Thanks for letting me know. A left-handed coordinate system is really odd.

--Michael
by michael_borland
02 Jul 2026, 17:57
Forum: Bugs
Topic: St
Replies: 1
Views: 4766

Re: St

Esraa,

There is no St field for marker elements, so you need to use Ss/c, e.g.,

Code: Select all

&optimization_term
    term = "LAST#1.Ss c_mks / 1.6e-12 - sqr"
&end
It makes sense to have St for markers. We'll put it in the next release.

--Michael
by michael_borland
02 Jul 2026, 17:46
Forum: Bugs
Topic: Version 2026.3 released
Replies: 0
Views: 3770

Version 2026.3 released

Version 2026.3 has been released, with several bug fixes and major changes, including * Inclusion of elastic gas scattering in 6D moments computations. * Propagation mode for coupled twiss parameter computation. * Built-in coupling and lattice function correction. * Expansion of spin tracking to mor...
by michael_borland
02 Jul 2026, 17:45
Forum: General
Topic: Version 2026.3 released
Replies: 0
Views: 4154

Version 2026.3 released

Version 2026.3 has been released, with several major changes, including * Inclusion of elastic gas scattering in 6D moments computations. * Propagation mode for coupled twiss parameter computation. * Built-in coupling and lattice function correction. * Expansion of spin tracking to more elements. De...
by michael_borland
26 May 2026, 12:13
Forum: Linac Tracking
Topic: what's wrong with simulation of transport line orbit correct
Replies: 9
Views: 39451

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

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...