Replies: 3 comments 10 replies
|
Hi, do you need a periodic solution for your lattice every time ? If yes, you can look in a accelerator handbook the condition for existence of the periodic solution. Or you can look in ocelot: lines 152-157 https://github.com/ocelot-collab/ocelot/blob/master/ocelot/cpbd/optics.py |
|
As Sergey says, some lattices are fundamentally unstable and have no stable solutions. Often this applies to when quadrupoles become too strong and over-focussing (as opposed to too weak). How to adjust quadrupoles? If you have a Actually I wish we had a native container type that allowed for addressing elements within a sequence easily by name. That would make this all much easier. Currently we just use lists. |
|
you can address by element itself. See example: etc. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am trying to create a DRL environment with Ocelot, with this default configuration of elements in the lattice: https://nbviewer.org/github/ocelot-collab/ocelot/blob/master/demos/ipython_tutorials/1_introduction.ipynb
To achieve this, I have been analyzing how the Twiss parameters change with small increments in the strength of the quadrupoles. However, during my experiments, I encountered a particular issue with some configurations and changes that resulted in the following situation:
Are there any guidelines to follow in order to update the strengths? Managing multiple magnets at once maybe?
If so, it would be nice to know how to avoid such solutions. Otherwise I am considering their use as a "game over" condition for the learning algorithm.
Thank you all for your time and support!
Best regards,
Galo
All reactions