7.52 ramp_elements
- type: setup command.
- function: define parameters for time-dependent ramping of elements
- sequence: must follow run_setup.
- N.B.: if the ramped element is modeled with a matrix, a significant performance hit may be
seen. It is best to use symplectic variants of the elements, since these don’t invoke the matrix
calculation.
- Command syntax, including use of equations and subcommands, is discussed in 7.2.
&ramp_elements
STRING name = NULL;
STRING item = NULL;
STRING type = NULL;
long start_pass = 0;
long end_pass = LONG_MAX;
double start_value = 0;
double end_value = 0;
long refresh_matrix = 0;
long differential = 1;
long multiplicative = 0;
long start_occurence = 0;
long end_occurence = 0;
double exponent = 1;
double s_start = -1;
double s_end = -1;
STRING before = NULL;
STRING after = NULL;
long verbose = 0;
STRING record = NULL;
&end
N.B.: This command will produce unpredictable results when used with error_element,
alter_elements, modulate_elements, and load_parameters (except when change_defined_values=1).
It will also not work well if matrix concatenation is invoked. It should work properly with link_elements
in turn-by-turn mode when the source element is ramped, but not when the target element is
ramped.