next up previous
Next: optimize Up: Namelist Command Dictionary Previous: matrix_output

momentum_aperture

&momentum_aperture
    STRING output = NULL;
    double x_initial = 0;
    double y_initial = 0;
    double delta_negative_start = -0.10;
    double delta_positive_start = 0.10;
    long delta_step_size = 0.01;
    long oversteps = 1;
    long splits = 2;
    long steps_back = 4;
    double s_start = 0;
    double s_end = DBL_MAX;
    STRING include_name_pattern = NULL;
    long verbosity = 0;        
&end

The idea for this command is from M. Belgroune et al., ``Refined Tracking Procedure for the SOLEIL Energy Acceptance Calculation,'' Proceedings of PAC 2003, p 896, as implemented for TRACYII. In particular, the energy aperture as a function of position around the ring is determined by tracking. Starting at the beginning of the lattice and working downstream, particles are tracked starting from the exit of each selected element. The betatron coordinates are initially zero (or very small), while the momentum deviation is gradually increased until loss of the particle is observed. This defines the momentum aperture at that location.

In elegant, the algorithm is as follows. For simplicity in wording, we'll assume the momentum deviations are positive values, although the method is applied separately for negative values as well:

  1. Choose a large momentum deviation $\delta$ (e.g., 10%) that is sure to be lost, and track.
  2. Decrease $\delta$ in fairly large steps $\Delta\delta_0$ (e.g., 1%) until the particle survives. Call this momentum deviation $\delta_{s1}$ and the previous value (where the particle was lost) $\delta_{l1}$.
  3. Scan outward from $\delta_{s1}-J\Delta\delta$, where the integer $J$ is the ``overstep'' amount, typically 1. Use a step-size of $\Delta\delta_1 = \Delta\delta_0/D$, where $D$ is an integer (typically 10), not exceeding $\delta_{l1}$. Stop when a loss occurs. Call this momentum deviation $\delta_{l2}$ and the last surviving value $\delta_{s2}$.
  4. If accuracy is acceptable, stop at this point. The momentum aperture is $\delta_{s2}$.
  5. If greater accuracy is desired, ``step back'' to a momentum deviation $\delta_{l2}-B\Delta\delta_1$, where $B$ is an integer and scan outward again with step size $\Delta\delta_1/D$. This procedure is called a ``step-back/split'' and can be repeated if greater accuracy is desired.


next up previous
Next: optimize Up: Namelist Command Dictionary Previous: matrix_output
Robert Soliday 2006-05-05