Hi Michael,
My question is about impact of kicker element in the optical functions. I have defined few kicker elements with certain values of HKICK in the lattice file but elegant can't find any periodic solutions for the optical functions and once I switch them off, it can. I tried AT2 code and with the same values of HCKIK in the kickers, it could find periodic optics. Do you know why? I also tested EKICKER but I got the same answer. The lattice is in the attachment.
Many thanks in advance
Hossein
impact of Kicker element in the optical functions
Moderators: cyao, michael_borland
-
- Posts: 6
- Joined: 16 Mar 2021, 07:34
impact of Kicker element in the optical functions
- Attachments
-
- ring.ele
- (566 Bytes) Downloaded 217 times
-
- Lattice.lte
- (15.63 KiB) Downloaded 235 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: impact of Kicker element in the optical functions
Hossein,
It seems to work fine once I modify the twiss_output command so that it is performed after the closed orbit.
The twiss_output command can work in one of two modes: minor action and setup. In minor action mode (the default), it immediately computes the twiss parameters, while in setup mode (output_at_each_step=1), it only sets up the calculation to be performed later. You want to use setup mode so that errors, closed orbit, etc are included.
See the attached file for a working example.
--Michael
It seems to work fine once I modify the twiss_output command so that it is performed after the closed orbit.
The twiss_output command can work in one of two modes: minor action and setup. In minor action mode (the default), it immediately computes the twiss parameters, while in setup mode (output_at_each_step=1), it only sets up the calculation to be performed later. You want to use setup mode so that errors, closed orbit, etc are included.
See the attached file for a working example.
--Michael
- Attachments
-
- ring.ele
- (656 Bytes) Downloaded 250 times
-
- Posts: 6
- Joined: 16 Mar 2021, 07:34
Re: impact of Kicker element in the optical functions
Hi Michael,
Many thanks for the reply. It's working now.
Regards
Hossein
Many thanks for the reply. It's working now.
Regards
Hossein