Cycle configuration Cycle Configuration Element cycle depends on

  • Slides: 10
Download presentation
Cycle configuration Cycle Configuration Element cycle depends on: • Cycle code (Energy, Intensity) •

Cycle configuration Cycle Configuration Element cycle depends on: • Cycle code (Energy, Intensity) • Beam optics settings (e. g. Tune, Chromaticity) Cycle execution Beam diagnostic Optics computations Optics determined with: • Mad-X • Own routines • Procedures PP-110627 -a-MHA 1 Markus Hager

Agenda 1. 2. 3. 4. 5. 6. 7. PP-110627 -a-MHA Workflow Cycle Configurator Optics

Agenda 1. 2. 3. 4. 5. 6. 7. PP-110627 -a-MHA Workflow Cycle Configurator Optics computations with Mad-X Optics connector API draft Modules in MACS, exchanged data The role of RMS in the cycle configuration Status, outlook, next steps 2 Markus Hager

Cycle Configurator first computes main dipole cycle Normalized strengths (k 1 l) computed with

Cycle Configurator first computes main dipole cycle Normalized strengths (k 1 l) computed with Mad-X Cycle Configurator denormalizes the strengths and creates quadrupole cycle Output PP-110627 -a-MHA List of integrated magnetic field values Timing 3 Markus Hager

Mad-X Model Input Commands mqzc : quadrupole; mr 02000 mqf : mqzc, l =

Mad-X Model Input Commands mqzc : quadrupole; mr 02000 mqf : mqzc, l = 0. 36; qx = 1. 7392; qy = 1. 799; match; vary, name = mqf 1 k 1, step = 1 E-6; vary, name = mqdk 1, step = 1 E-6; mbhc : sbend; mr 01000 mbh : mbhc, l = 1. 67; constraint, expr = table(summ, q 1) = qx; constraint, expr = table(summ, q 2) = qy; endmatch; mr: sequence; mr 01000 mbh, at 1. 3; mr 02000 mqf, at = 3. 5; endsequence; Output @ Q 1 @ Q 2 TWISS, save, file = "mrinj. twiss"; %le * NAME $ %s "MR 00001 MQF" "MR 01000 MBH" "MR 01000 MCV" "MR 01000 MQD" "MR 01000 PUV" PP-110627 -a-MHA 1. 666614532 1. 789160081 KEYWORD %s "QUADRUPOLE" "SBEND" "VKICKER" "QUADRUPOLE" "VMONITOR" ANGLE %le 0 -0. 392699081 0 0 0 4 K 1 L %le 0. 106507156 0 0 -0. 184823110 0 Markus Hager

Optics Connector API Mad. DB Covers some of the complexity of the file handling

Optics Connector API Mad. DB Covers some of the complexity of the file handling Allows to directly read and write values PP-110627 -a-MHA 5 Markus Hager

Components Repository Management System Cycle Configurator Cycle code Optics Element information Element strengths Mad-X

Components Repository Management System Cycle Configurator Cycle code Optics Element information Element strengths Mad-X Input files Output files Basic optics computations Initial settings Waveforms, setpoints (integrated magnetic field) Timing PP-110627 -a-MHA 6 Markus Hager

RMS has the following data stored in its database: • • • Cycle codes

RMS has the following data stored in its database: • • • Cycle codes Timing event definition Timing sequence of the cycles Optical length and position of the machine elements Transfer functions of the magnets BL(I) Waveforms and setpoints for the cycles in integrated magnet field values RMS generates the control values for the power supplies: BL(t), BL(I) -> I(t) PP-110627 -a-MHA 7 Markus Hager

Status What do we have so far? Ideas and first documents: • Controls: Cycle

Status What do we have so far? Ideas and first documents: • Controls: Cycle Configuration Workflow, Optics Connector Design (Mad-X and API) • Physics: Mad-X usage, Cycle Configuration, Physics Library What is missing? • • • Cycle Configurator design, Interface definitions (e. g. interfaces to RMs) Clarification of many, many details User interface PR-110627 -a-MHA 8 Markus Hager

Outlook RMS Cycle code Waveforms, setpoints, timing Optics Cycle Configurator Element strengths Timing settings

Outlook RMS Cycle code Waveforms, setpoints, timing Optics Cycle Configurator Element strengths Timing settings Element information Optic values Element strengths Compute cycle Procedure Framework Element strengths Orbit, Matching settings Basic optics computations Waveforms, setpoints, timing BD measurements PP-110627 -a-MHA 9 Markus Hager

Next steps Implement first workflow: • Read existing Mad-X file, parse it and offer

Next steps Implement first workflow: • Read existing Mad-X file, parse it and offer the element strength via the Optics API • Implement code to build main dipole cycle, quadrupole cycle Continue working on specifications, interface design, … PP-110627 -a-MHA 10 Markus Hager