Skip to content

Commit ee75b7c

Browse files
committed
Forgot file
1 parent 3289c0d commit ee75b7c

File tree

1 file changed

+161
-0
lines changed

1 file changed

+161
-0
lines changed
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
from scipy.constants import c
2+
3+
4+
write_buffer_every = 20
5+
6+
7+
####################
8+
# Machine Settings #
9+
####################
10+
11+
machine_configuration = 'LHC-collision'
12+
13+
# # Use this part for optics from file
14+
# # n_segments needs to be None if optics_pickle_file is specified
15+
# optics_pickle_file = 'lhc2018_25cm_only_triplets_IR15_b1_optics.pkl'
16+
# n_segments = None
17+
# beta_x = None
18+
# beta_y = None
19+
# Q_x = None
20+
# Q_y = None
21+
22+
# # Use this part for smooth machine
23+
optics_pickle_file = None
24+
n_segments = 1
25+
beta_x = 400.0
26+
beta_y = 400.0
27+
Q_x = 62.27
28+
Q_y = 60.295
29+
30+
Qp_x = 0.
31+
Qp_y = 0.
32+
33+
octupole_knob = 0.
34+
35+
V_RF = 12e6
36+
37+
38+
# Transverse Damper Settings
39+
enable_transverse_damper = False
40+
dampingrate_x = 50.
41+
dampingrate_y = 100.
42+
43+
44+
###################
45+
# Beam Parameters #
46+
###################
47+
48+
bunch_from_file = None
49+
50+
intensity = 2e+11
51+
52+
epsn_x = 2.5e-6
53+
epsn_y = 2.5e-6
54+
55+
sigma_z = 1.2e-9/4*c
56+
57+
x_kick_in_sigmas = 0.1
58+
y_kick_in_sigmas = 0.1
59+
recenter_all_slices = True
60+
61+
# Numerical Parameters
62+
n_slices = 500
63+
z_cut = 2.5e-9/2*c # For slicing
64+
macroparticles_per_slice = 100
65+
n_macroparticles = macroparticles_per_slice*n_slices
66+
67+
68+
#################
69+
# Stop Criteria #
70+
#################
71+
72+
# 1. Turns
73+
N_turns = 1000 # Per job
74+
N_turns_target = 1000
75+
# 2. Losses
76+
sim_stop_frac = 0.9
77+
# 3. Emittance Growth
78+
flag_check_emittance_growth = False
79+
epsn_x_max_growth_fraction = 0.5
80+
epsn_y_max_growth_fraction = epsn_x_max_growth_fraction
81+
82+
83+
######################
84+
# Footprint Settings #
85+
######################
86+
87+
footprint_mode = False
88+
n_macroparticles_for_footprint_map = 500000
89+
n_macroparticles_for_footprint_track = 5000
90+
91+
92+
####################
93+
# E-Cloud Settings #
94+
####################
95+
96+
# General E-Cloud Settings
97+
chamb_type = 'polyg'
98+
x_aper = 2.300000e-02
99+
y_aper = 1.800000e-02
100+
filename_chm = 'LHC_chm_ver.mat'
101+
Dt_ref = 5e-12
102+
pyecl_input_folder = './pyecloud_config'
103+
sey = 1.30
104+
105+
# Transverse Multigrid Parameters
106+
PyPICmode = 'ShortleyWeller_WithTelescopicGrids'
107+
N_min_Dh_main = 10.
108+
Dh_sc_ext = .8e-3
109+
f_telescope = 0.3
110+
N_nodes_discard = 5.
111+
target_size_internal_grid_sigma = 10.
112+
target_Dh_internal_grid_sigma = 0.2
113+
custom_target_grid_arcs = None
114+
115+
# # Uncomment for custom grid
116+
# custom_target_grid_arcs = {
117+
# 'x_min_target': -3e-3,
118+
# 'x_max_target': 3e-3,
119+
# 'y_min_target': -3.1e-3,
120+
# 'y_max_target': 3.1e-3,
121+
# 'Dh_target': 7e-5}
122+
123+
force_interp_at_substeps_interacting_slices = True
124+
125+
# Enable Kicks Different Planes
126+
enable_kick_x = True
127+
enable_kick_y = True
128+
129+
# Dedicated Dipole E-Cloud Settings
130+
enable_arc_dip = False
131+
fraction_device_dip = 0.65
132+
init_unif_edens_flag_dip = 1
133+
init_unif_edens_dip = 1.000000e+12
134+
N_MP_ele_init_dip = 500000
135+
N_mp_max_dip = N_MP_ele_init_dip*4
136+
B_multip_dip = [8.33] #T
137+
138+
# Dedicated Quadrupole E-Cloud Settings
139+
enable_arc_quad = False
140+
fraction_device_quad = 26.000000e-02 #7.000000e-02
141+
N_mp_max_quad = 2000000
142+
B_multip_quad = [0., 188.2] #T
143+
folder_path = '../../LHC_ecloud_distrib_quads/'
144+
filename_state = 'combined_distribution_sey%.2f_%.1fe11ppb_7tev.mat'%(sey,intensity/1e11)
145+
filename_init_MP_state_quad = folder_path + filename_state
146+
147+
# Dedicated Kick Element Settings
148+
enable_eclouds_at_kick_elements = False
149+
path_buildup_simulations_kick_elements = '/home/kparasch/workspace/Triplets/ec_headtail_triplets/simulations_PyECLOUD/!!!NAME!!!_sey1.35'
150+
name_MP_state_file_kick_elements = 'MP_state_9.mat'
151+
orbit_factor = 6.250000e-01
152+
153+
######################
154+
# Impedance settings #
155+
######################
156+
157+
enable_impedance = True
158+
resonator_R_shunt = 25e6
159+
resonator_frequency = 2e9
160+
resonator_Q = 1.
161+
n_slices_wake = 500

0 commit comments

Comments
 (0)