Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
961 bytes
|
Line | |
---|
1 | |
---|
2 | % calcul du temp d'injection |
---|
3 | |
---|
4 | |
---|
5 | Id_inj=21.3; |
---|
6 | |
---|
7 | Idc=0.; |
---|
8 | Id0=546.76; |
---|
9 | w=2*3.14159*(50./17.); |
---|
10 | |
---|
11 | t_inj=real(acos( 1-2*(Id_inj-Idc)/Id0 ) / w); |
---|
12 | |
---|
13 | |
---|
14 | sprintf(' Dt / déclanchement alim dipole injection : %g ms avant canon/kicker', t_inj) |
---|
15 | sprintf(' Delai carte CPT alim dipole injection : %g ', (0.33 + 7.83e-05 - t_inj)) |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | Gr = 0.0435 ; % gradient remanent T/m |
---|
20 | a = 0.0517 ; % G/I T/m/A |
---|
21 | Br = 0.0006 ; % Champ remanent T |
---|
22 | b = 0.00135416 ; % B/I T/A |
---|
23 | |
---|
24 | |
---|
25 | Iqf0 = 198.38 ; |
---|
26 | Iqd0 = 157.28 ; |
---|
27 | Iqfc = 7.16 ; % Offset QPF |
---|
28 | Iqdc = 5.55 ; |
---|
29 | |
---|
30 | Iqpf_inj=Iqfc + 0.5*Iqf0*(1-cos(w*t_inj)); |
---|
31 | Iqpd_inj=Iqdc + 0.5*Iqd0*(1-cos(w*t_inj)); |
---|
32 | sprintf(' injection Iqf= %g et Iqd= %g A',Iqpf_inj , Iqpd_inj) |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | B_inj = Br + b*(Idc + 0.5*Id0*(1-cos(w*t_inj))); |
---|
37 | sprintf(' B dipole injection : %g T', B_inj) |
---|
38 | t=t_inj+1e-06 ; |
---|
39 | B = Br + b*(Idc + 0.5*Id0*(1-cos(w*t))); |
---|
40 | sprintf(' Variation relative avec dt= 1*µs : %g ', (B_inj-B)/B_inj ) |
---|
Note: See
TracBrowser
for help on using the repository browser.