orbit ocrrection

Moderators: cyao, michael_borland

Post Reply
Kowthar_Noori
Posts: 9
Joined: 09 Aug 2023, 09:57

orbit ocrrection

Post by Kowthar_Noori » 04 Oct 2023, 08:51

Dear Michael,
I am trying to correct the orbit in the x and y directions. I studied the related topics in the forum and wrote an ele file to correct the orbit.
My aim is to find the DA in the presence of misalignments and errors.

I used two types of commands:
1. &error_element name=*, element_type=*QUAD*, item=DX, amplitude=5e-6, cutoff=1 &end
(as the attached file with the name of 1)
for this command, I got a DA but ele cannot correct orbit in X and Y directions.

2. when I error command for each magnet separately as follows:
for example:&error_element name="Q1", item="dx", amplitude=5e-5, type = "gaussian", cutoff=1.0, bind=0, fractional=0 &end
(as the attached file with the name of 2)
ele cannot correct orbit in X and Y directions and no data set can be found to plot DA!
So, could you give me a comment to solve my problem, please?
I attached ele files and the lattice and errors that I faced.
Thank you in advance,
best regards
Attachments
question.rar
(314.69 KiB) Downloaded 23 times

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: orbit ocrrection

Post by michael_borland » 18 Oct 2023, 18:32

I found a few problems in your files:

* You had the WEIGHT parameter step to 0 on all the monitors. This causes them to be ignored. I set the value to 1.

* You defined HC and VC as KICKER elements, then placed them one after the other in the lattice. Since these correct in both planes, it means you had two correctors in the same plane right next to each other. That's not well-defined. I redefined HC as HKICK and VC as VKICK.

* I set closed_orbit_accuracy_requirement=1e-6 so the algorithm is more forgiving of initially ill-defined orbits.

* You specified n_xy_cycles=100, which is unnecessarily large.

Files are attached.

--Michael
Attachments
1.ele
(3.38 KiB) Downloaded 25 times
ilsfDA.lte
(4.41 KiB) Downloaded 22 times

Kowthar_Noori
Posts: 9
Joined: 09 Aug 2023, 09:57

Re: orbit ocrrection

Post by Kowthar_Noori » 20 Oct 2023, 06:40

Dear Michael,
Thank you for your help.
Best Regards

Post Reply