¶meters lat_file = '/nfs/cesr/online/machine_data/lattice/cesr/bmad/cta_2085mev_20090516.lat' bpm_offset = 0.e-4 bpm_rotation = 0.e-3 ! typically 10.e-3 radians bpm_noise = 0.e-6 ! typically 10.e-6 meters gain_sigma = 0.e-2 ! typically 5.e-2 = 5% shear_x = 0.e-6 ! typically 250e-6 m = 10 mils timing_sigma = 0.e-12! typically 10.e-12 seconds misalign_magnets = .false. current = 7500. ! sim_gain_map parameters dx = 2.5e-3 dy = 2.5e-3 nx = 5 ny = 5 ! sim_orm parameters orm_output = 'tao_cesr' orm_mag_hkick = 1.e-4 !must be <= 1e-4 orm_mag_vkick = 1.e-4 ! sim_cbar parameters cbar_output = 'cesrv' init_vec(1) = 1.e-3 ! initial vector for orbit init_vec(3) = 1.e-3 skq02w_kick = 0.0 track6x6 = .true. n_damping = 100000. ! # turns to damp before recording data; typically 1.e5 n_turns = 32768 ! # turns to record, after damping ! sim_eta parameters delta = 0.00148 ! standard = 0.00148 ! Misalignment parameters ! Quadrupoles ma_params(1) = 3, "^Q", 25, 300.e-6 ma_params(2) = 3, "^Q", 26, 300.e-6 ma_params(3) = 3, "^Q", 2, 200.e-6 ma_params(4) = 3, "^Q", 4, 1.e-4 ! Sextupoles ma_params(5) = 5, "", 25, 300.e-6 ma_params(6) = 5, "", 26, 300.e-6 ma_params(7) = 5, "", 2, 200.e-6 ! Bends ma_params(8) = 2, "", 25, 300.e-6 ma_params(9) = 2, "", 26, 300.e-6 ma_params(10) = 2, "", 15, 200.e-6 ! tune tracker parameters n_TTs = 2 ! if n_TTs = 0, sim_cbar will turn off damping, even if 6x6 tracking is on tt_params(1)%useSaveState = .false. tt_params(1)%orientation = 'h' tt_params(1)%kck_loc = 16 tt_params(1)%bpm_loc = 790 tt_params(1)%LPinertia = 32768 ! LP filter time constant is LPinertia*fastPeriod. 2^15 = 32768 tt_params(1)%cyc_per_turn = 183 ! Number of times tune tracker cycles per CESR period. Usually 183 tt_params(1)%Ki = 0.1 ! integrator gain tt_params(1)%Kp = 10.0 ! proportional gain tt_params(1)%Kvco = 10.0 ! VCO gain. Redundant, because total gain looks like Kvco*(Ki*x + Kp*y + Kd*z) tt_params(1)%modTfrac0 = 0.5701 ! guess of fractional tune. used to compute w0 of modulator tt_params(1)%kickAmplitude = 5.0E-8 tt_params(1)%mixmode = 'sin' !Parameters specific to D channel tt_params(1)%use_D_chan = .false. ! bad? tt_params(1)%Kd = 0.1 ! differential gain tt_params(1)%wls_N = 25 ! Number of data points for LS fit. More DP makes smoother but increases delay tt_params(1)%wls_order = 1 ! Order of fit polynomial. Higher order is more accurate but noisier tt_params(2)%useSaveState = .false. tt_params(2)%orientation = 'v' tt_params(2)%kck_loc = 16 tt_params(2)%bpm_loc = 770 tt_params(2)%LPinertia = 32768 ! LP filter time constant is LPinertia*fastPeriod. 2^15 = 32768 tt_params(2)%cyc_per_turn = 183 ! Number of times tune tracker cycles per CESR period. Usually 183 tt_params(2)%Ki = 0.1 ! integrator gain tt_params(2)%Kp = 10.0 ! proportional gain tt_params(2)%Kvco = 10.0 ! VCO gain. Redundant, because total gain looks like Kvco*(Ki*x + Kp*y + Kd*z) tt_params(2)%modTfrac0 = 0.6281 ! guess of fractional tune. used to compute w0 of modulator tt_params(2)%kickAmplitude = 1.0E-8 tt_params(2)%mixmode = 'sin' !Parameters specific to D channel tt_params(2)%use_D_chan = .false. tt_params(2)%Kd = 0.0010 ! differential gain tt_params(2)%wls_N = 25 ! Number of data points for LS fit. More DP makes smoother but increases delay tt_params(2)%wls_order = 1 ! Order of fit polynomial. /