Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching of odd number of focusing elements #272

Open
jamesclarke22 opened this issue Jan 21, 2025 · 2 comments
Open

Matching of odd number of focusing elements #272

jamesclarke22 opened this issue Jan 21, 2025 · 2 comments

Comments

@jamesclarke22
Copy link

Dear All,

The '''Matching``` function in Ocelot is very convenient to optimize the FODO configuration as given in the tutorial N7.

This tutorial is working fine as long as there are even number of focusing elements (QF, QD).

However, I am trying to optimize a triplet.

Is it possible to apply such a matching in the case of Triplet ?

Thank you.
James

@sergey-tomin
Copy link
Collaborator

Hi,

Yes, of course. You can use as many quadrupoles or other variables as you like.

However, please note that there is a limitation imposed by the optimization methods. For some methods, using more than 8–10 variables can significantly slow down the process of finding the minimum. It is also depends on the optimization problem you want to solve.

Sergey.

@jamesclarke22
Copy link
Author

Dear Prof. Sergey (@sergey-tomin ),

Thank you for your reply. I am still working on this problem.

My aim is to get the beam transverse size half of its initial value. If before triplet beam size = 2*sigma_x then after triplet beam size= sigma_x (at a distance d from the triplet exit).

I would like to try more, and if eventually I fail, I may write again for your advice.

Thank you.
James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants