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

storage ring issue #174

Open
ustc-cheese opened this issue Jul 26, 2023 · 6 comments
Open

storage ring issue #174

ustc-cheese opened this issue Jul 26, 2023 · 6 comments

Comments

@ustc-cheese
Copy link

Hello Prof. Tomin
I am currently utilizing Ocelot as a storage ring tool to address some ring-based problems. However, I have encountered an issue where the lattice I provided does not yield a periodic solution, whereas ELEGANT shows a periodic solution. I would greatly appreciate your guidance on how to resolve this discrepancy. Thank you in advance for your reply.

@st-walker
Copy link
Collaborator

How are you using ocelot? Maybe there is a mistake in usage (or maybe with OCLEOT)

I think historically @iagapov was more responsible for the circular machine bits.

@iagapov
Copy link
Collaborator

iagapov commented Jul 26, 2023 via email

@sergey-tomin
Copy link
Collaborator

HI,
please send a lattice of the cell in ocelot format and elegant solution for this lattice. For periodic solution I use analytics. It will be interesting to see why this approach did not give you a solution.

@ustc-cheese
Copy link
Author

Hi,
Thank you all~ Here are my ocelot .py file and elegant .lte file at the attached zip file.
ringopt.zip

@sergey-tomin
Copy link
Collaborator

Hi,
I found that you use in elegant these elements
Q3: &
MULT, L= 0.2433800000000000, &
ORDER= 1, &
SYNCH_RAD= 0, &
KNL= 1.22251759449587152.4450351889917430, &
N_KICKS= 40

and

Q333: &
MULT, L= 0.1829233000000000, &
ORDER= 1, &
SYNCH_RAD= 0, &
KNL= 1.79581384805425563.5916276961085112, &
N_KICKS= 40

As far I understood it is quadruple. Why does KNL value look so strange? What is the values? and also what is the solution you got with elegant? I do not have elegant installed right now and can not check it.
Anyway, in ocelot you substituted it with multipole which is zero length element. I recommend to try with quadruple. Also check if elegant and ocelot versions are really the same.

@ustc-cheese
Copy link
Author

Hi
Thank you.
Actually the lte file is generated by other colleges using AT-MATLAB. We have tried diffrenent type of MULT but only this format can find a peroidic solution.
When I transfer Q3 & Q333 to Quad in elegant, there appers peroidic solution.
Q3: &
KSEXT, L= 0.2433800000000000, &
K1= 5.0231, &
K2= 255.0699
Q333: &
KSEXT, L= 0.1829233000000000, &
K1= 9.8173, &
K2= 161.2832
image
I also have tried transfer Q3 & Q333 to Quad in ocelot with the same parameters above, there still can not make a solution.

BTW, the versions pf elegant and ocelot are all the latest.

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

4 participants