# Code development for Dynamic aperture study - PowerPoint PPT Presentation

1 / 6

Code development for Dynamic aperture study. Mau-Sen Chiu Beam Dynamics Group National Synchrotron Radiation Research Center, Taiwan. Outline. Code structure and function description Demonstrate the code Conclusion and further development. Code structure.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Code development for Dynamic aperture study

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

#### Presentation Transcript

Code development

for

Dynamic aperture study

Mau-Sen Chiu

Beam Dynamics Group

National Synchrotron Radiation Research Center, Taiwan

Outline

• Code structure and function description

• Demonstrate the code

• Conclusion and further development

Code structure

• The code is designed as GUI form by GTK+2.0 for input parameters and data visualization. Users do not write any code. Just input parameters and push button.

• Use C++ to define base class as the parent class for dipole, quadrupole, sextupole, and drift space. (correctors, kicker, ID has not been yet included)

• Use list (double linked list) to link all elements in accelerator for tracking.

• Adopt and modify part of TRACY and OPA code and integrate them

• together. I merely add a GUI to TRACY, modify the data structure of TRACY, and add the function of the nonlinear driving terms optimization.

• In OPA: a. Nonlinear driving terms calculations.

• b. Optimization method: Powell method.

• In TRACY: a. getdynap: dynamic aperture tracking.

• b. NuDp: Tune shift with momentum.

• c. NuDx: Tune shift with amplitude.

• d. fmap : Frequency map analysis (not ready).

• e. MomentumAcceptance: Momentum acceptance (not ready).

Code Functions (at present)

1. Linear lattice functions

2. Nonlinear driving terms optimization

3. Tune shift with momentum

4. Tune shift with amplitude

5. Dynamic aperture

6. Phase space tracking

8. Qx- Qy diagram plus resonance lines (not ready)

The treatment of multipole errors, misalignment errors, emittance coupling, and IDs has not been yet included.

Demonstrate the code

Conclusion and future development

1. The code has not been yet finished and still has bug.

a. The corrector, kicker, and ID have not been yet included.

b. The treatment of multipole errors, misalignment errors, and

emittance coupling has not been yet included.

2. Future development:

a. Use TPSA (Truncated power series) (from Yiton) to do particle

tracking and treat the sextupole strengths as variables, so that we

can get the map relation between the dynamic aperture and

sextupole strength or tune variation versus the sextupole strength.

b. Based on a. and use genetic algorithm for dynamic aperture

optimization.

c. Phase I: Single PC version. Phase II: Parallel version (MPI, …)