Centroid Shift without any magnet alignment error
Moderators: cyao, michael_borland
-
- Posts: 15
- Joined: 07 Jul 2022, 01:07
Centroid Shift without any magnet alignment error
Hi all. I am simulating a transfer line. I expect zero centroid shift as there's no magnet errors in the input file. But, I see centroid shift when I give non-zero emittance with n_particles_per_bunch >1 in the bunched beam command, however if I set the emittance to zero or don't mention it at all or set n_particles_per_bunch =1 with non-zero emittance, then I see zero centroid shift. Can someone please tell where am I going wrong. I have attached ele file for reference.
- Attachments
-
- TL2n3pr.ele
- (1.31 KiB) Downloaded 460 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Centroid Shift without any magnet alignment error
Without a lattice file it isn't possible to say what the problem might be.
--Michael
--Michael
-
- Posts: 15
- Joined: 07 Jul 2022, 01:07
Re: Centroid Shift without any magnet alignment error
I have attached the lattice file below.
- Attachments
-
- TL2n3pr.lte
- (2.82 KiB) Downloaded 472 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Centroid Shift without any magnet alignment error
The reason for this is that your beam line contains dipole magnets with small bending radii. There are sextupole-like terms present in such magnets due to the small radius of curvature of the coordinate system. This results in distortion of the phase space, which shows up as a small centroid error.
You can demonstrate this to yourself by setting ORDER=1 on the RBEND and SBEND elements.
To understand the theory, see equation (27) in https://cds.cern.ch/record/283218/files/SLAC-75.pdf
Setting n=0 and beta=0 gives your case (magnets with no explicit gradient or sextupole).
Simulating such magnets is challenging. I suggest switching from RBEND and SBEND to CSBEND and CCBEND, which have more accurate models.
--Michael
You can demonstrate this to yourself by setting ORDER=1 on the RBEND and SBEND elements.
To understand the theory, see equation (27) in https://cds.cern.ch/record/283218/files/SLAC-75.pdf
Setting n=0 and beta=0 gives your case (magnets with no explicit gradient or sextupole).
Simulating such magnets is challenging. I suggest switching from RBEND and SBEND to CSBEND and CCBEND, which have more accurate models.
--Michael
-
- Posts: 15
- Joined: 07 Jul 2022, 01:07
Re: Centroid Shift without any magnet alignment error
Thank you Michael.