Learn MADX Commands for Injection and Extraction Systems

Slide Note
Embed
Share

In this tutorial led by Dr. Rob Apsimon and Dr. Znur Mete, you will discover how to effectively utilize new MADX commands such as Seqedit, savebeta, and beta0 to manipulate sequences, obtain beam parameters, and create macros for injection and extraction systems. Follow the step-by-step guide to add sequences, define magnetic elements, match constraints, and plot beam trajectories, ensuring optimal performance in your particle accelerator simulations.


Uploaded on Oct 02, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. MADX tutorial: injection and extraction systems Dr Rob Apsimon Dr znur Mete

  2. What you will learn You will learn to use the follow new MADX commands: Seqedit: edit and existing sequence Don t need to rewrite the entire sequence from scratch! savebeta and beta0: Obtain and use beam parameters from an arbitrary point in an existing sequence Need this to match injection/extraction cells Match constraints with macros Vastly more flexible than the normal matching routine

  3. Add new sequence to your sequence file (ex6.seq) Set your kicker and septum strengths to zero initially Define the kicker and septum magnet as kickers

  4. Modify your madx file Remove stop command from old file Define kickers and septum magnets in storage ring sequence. Use seqedit command to insert markers and magnetic elements into the storage ring.

  5. Use savebeta to obtain beam parameters at start of injection/extraction cells

  6. Create a macro for the extraction cell Define beam command for the extraction cell sequence Define a macro to use the extraction cell sequence and run the Twiss module with the beta0 command

  7. Match with the use_macro command The kicker strength needs to be enough to clear the septum blade of the septum magnet (2 cm in this example) The septum magnet strength needs to be enough for the beam to clear the outer radius of the downstream quadrupole (1 m in this example)

  8. Plot the horizontal position through the cell

  9. Your beam trajectory should look like this!

  10. Seqedit Extract Extracts a subsequence from an existing sequence Cycle Change the start point of the sequence Flatten Removes drift lengths from a used sequence Move Moves the location of one or more elements in a sequence

  11. Seqedit Install Inserts an element into an existing sequence Remove Removes an element or group of elements from a sequence Replace Replaces one or more existing elements in a sequence with new elements Reflect Reverses the order of elements in a sequence

  12. Seqedit: extract Define the kicker kicks Use seqedit to put in the markers msept and mquad and extract the sequence for the extraction region

Related


More Related Content