Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "MADX tutorial: injection and extraction systems Dr Rob Apsimon Dr Öznur Mete."— 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


Download ppt "MADX tutorial: injection and extraction systems Dr Rob Apsimon Dr Öznur Mete."

Similar presentations


Ads by Google