XFEL- 3D-Coordinates, first phase design (includes the LA-part)...XFEL- 3D-Coordinates, first phase...
Transcript of XFEL- 3D-Coordinates, first phase design (includes the LA-part)...XFEL- 3D-Coordinates, first phase...
XFEL- 3D-Coordinates, first phase design(includes the LA-part)
W. Graeff, Hasylab, tel. 3772
(Version of 19.12.2007)
This document does not include absolute geographic coordinates. Here the reader is referred to G.Neubauer (MEA2) and the word-file "Hoehe der Strahlenebene_7.doc" inD:\XFEL_Archiv\XFEL_2006.Due to the curvature of the surface noticable at the large extension of the XFEL, there are twoCartesian coordinate systems, namely the LA- and the PD-system.They are defined as follows:The z-axis of the LA-system coincides with the major part of the beam in the Linac-tunnel and istangential to an earth potential face at 1000m. The y-axis is vertical, and consequently the x-axis ishorizontal, forming a right-handed system. The origin lies in the intersection of the eastern innerwall of the first building, namely the XSIN, with the beam in the first part of the linac-tunnel XTL.The z-axis of the PD-system coincides with the straight beam in the distribution fan, namely P4,but is tangential to an earth potential face at the end point, which is defined as the intersection ofthe eastern inner wall of the experimental hall with the straight beam. Thus a small angle of0.02092 degrees lies inbetween both systems. The origin is a fictive point in the acceleration tunnelXLT at z=1994.492m. As this point must coincide with the beam which has already passed theS-shaped collimation section, it has the y-coordinate -2.4386m.
This document calculates the 3-dimensional locations of beam end points, pit start andend points, tunnel axis end points and undulator entrance and exit points. To avoid confusion the name of all points ends with _LA when they are expressed inLA-coordinates. All dimensions are in meter.
Reference:C:\Users\tscheu\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook\7AROKEP7\Library3D.xmcd(R)
Remark:Originally this document was intended to layout the distribution fan. In the meantime most of
the design is fixed, especially the buildings and minor changes are possible, only.Consequently this document serves mainly as a verification of consistency.
General parameter definition:
radius of a sphereapproximating thesurface:
R 6390000:=
z_origin: z0 1994.492:=
y_origin: y0 2.4386−:=
z-coord. of the straightbeam at the front sideof the experimentalhall
PD_Length 1338.67:=
tunnel element length tubbingLength 1.5:=
Parameter Definition for the linac region:
XSIN length: XSIN_Length 17:=
XTIN length: XTIN_Length 50:=
XSE length: XSE_Length 22.55:=
vertical injectorseparation:
inj_sep 5.5:=
horizontal distancebetween beam and tunnelaxis:
horAxisLin 0.2:=
vertical distance betweenbeam and tunnel axis:
vertAxisLin 0.9−:=
z-position of first dipole inthe collimation (end):
dipole1CollEnd 1708.8444:=
The angle between both coordinate systems (y- and z-axes):
αkz0 PD_Length+ 1000−
R:=
αk
deg0.02092=
Transformation functions are governed by the matrix A
origin_PD
0
y0
z0
:=A
1
0
0
0
cos αk( )sin αk( )
0
sin αk( )−
cos αk( )
:=
PDtoLA p( ) A p⋅ origin_PD+:= LAtoPD p( ) A1−
p origin_PD−( )⋅:=
The first three buildings are treated as a single complex with parallel walls. As they are built strictlyto the plumb, they form a small inclination angle to the beam:
building complex length: Lc XSIN_Length XTIN_Length+ XSE_Length+:=
δc
Lc
21000−
R:=
δc
deg0.008565−=
The rotation occurs about the BO of XSIN:
XTL_start_LA
horAxisLin
vertAxisLin
Lc
:=XTL_start_LA
0.2000
0.9000−
89.5500
=
XSIN_start_LA
horAxisLin
vertAxisLin
0
:=
------------------------------------------------------------------------------------------------------------------------------------------------
The rotation of a point p around the point c and the angle α about the x-axis is described by this function:
X_transform p c, α,( )1
0
0
0
cos α( )sin α( )
0
sin α( )−
cos α( )
p c−( )⋅ c+:=
------------------------------------------------------------------------------------------------------------------------------------------------
As the tunnel axis of the injector is also rotated the BOs of XTIN and XSE in the Structure-assemblychange whereas in the local assembly they are fixed.
X_transform
horAxisLin
2.15−
XSIN_Length
XSIN_start_LA, δc,
0.2000
2.1475−
17.0002
=
X_transform
horAxisLin
2.15−
XSIN_Length XTIN_Length+
XSIN_start_LA, δc,
0.2000
2.1400−
67.0002
=
In the following the z-coordinates of the sections used by the beam dynamics group are listed:
z_B2_LA 383:= In contrast the Base Orphans (BO)are very close to these borders butend at a tubbing element
z_L1_LA 92:=z_B2D_LA 460:=
z_B1_LA 169:=z_L3_LA 467:=
z_B1D_LA 227:=z_CL_LA 1689:=
z_L2_LA 234:=z_TL_LA 1901:=
Collimation
Dipole length in the collimation 4mstraight lines between dipoles: a 5:=
b 23:=
c 41:=
as a vector
straight
dipole1CollEnd 4− z_CL_LA−
b
a
b
c
b
a
b
4.5
:= straight
15.8
23.0
5.0
23.0
41.0
23.0
5.0
23.0
4.5
=
bending angle of a dipole ∆α 0.31627 deg⋅:=
Lenght of a dipole lenDip 4:=
Assuming that there is atubbing border14.5m shift alreadyincluded
BO XTL_CL_1 CL1_LA
horAxisLin
vertAxisLin
dipole1CollEnd straight0
− lenDip−
:=
Always the midpoint of a dipole is taken
Mid 1. dipole dipole1CollEndlenDip
2cos ∆α( )⋅− 1706.844=
CL1_LA
0.2000
0.9000−
1689.0000
=
dipol0 und dipol9 are additional points to construct the beamsCL1_LA XTL_start_LA−
tubbingLength
0.0000
0.0000
1066.3000
=vector of angles (at the exit of a dipole):
α
0
∆α
2 ∆α⋅
3 ∆α⋅
4 ∆α⋅
3 ∆α⋅1
4αk⋅+
2 ∆α⋅1
2αk⋅+
∆α3
4αk⋅+
αk
0
:=The kink angle between LA and PDis smeared out over the second bend
running variable i 1 8..:=
dipol0
0
0
CL1_LA2
lenDip
2−
:=Initialisation
dipoli
dipoli 1− straight
i 1− lenDip+( )0
sin αi 1−( )−
cos αi 1−( )
⋅+:=
dipolEndi
dipoli
lenDip
2
0
sin αi( )−
cos αi( )
⋅+:=
Midpoint of quadrupole after 8. dipole quad dipol8
4.5
0
sin α8( )−
cos α8( )
⋅+:=
dipol9
quad:= quad
0
2.39764−
1882.32401
=
For comparisonwith theExcel-list
dipol1
0.0000
0.0000
1706.8444
= dipolEnd1
0.0000
0.0110−
1708.8444
=
dipoleCollEnd =dipoleCollEnd
dipol2
0.0000
0.1490−
1733.8440
= dipolEnd2
0.0000
0.1711−
1735.8439
=
dipol3
0.0000
0.2484−
1742.8434
= dipolEnd3
0.0000
0.2815−
1744.8432
=
dipol4
0.0000
0.6955−
1769.8397
= dipolEnd4
0.0000
0.7396−
1771.8393
=
dipol5
0.0000
1.6890−
1814.8288
= dipolEnd5
0.0000
1.7223−
1816.8285
=
dipol6
0.0000
2.1386−
1841.8250
= dipolEnd6
0.0000
2.1610−
1843.8249
=
dipol7
0.0000
2.2396−
1850.8245
= dipolEnd7
0.0000
2.2511−
1852.8244
=
dipol8
0.0000
2.3960−
1877.8240
= dipolEnd8
0.0000
2.3967−
1879.8240
=
distances for IDEAS-assembly beam_LA absti
dipoli( )
2dipol
1( )2
−:=
abst1
0.0000= abst2
26.9996=
abst3
35.9990= abst4
62.9953=
abst5
107.9844= abst6
134.9806=
abst7
143.9801= abst8
170.9796=
αdeg
0
0
1
2
3
4
5
6
7
8
9
0
0.31627
0.63254
0.94881
1.26508
0.95404
0.643
0.33196
0.02092
0
=∆α
αk
4−
deg0.31104=
The beam must go through the origin of the PD-systemz0 1994.4920=
dipol8
z0 dipol8( )
2−
0
sin α8( )−
cos α8( )
⋅+
0.0000
2.4386−
1994.4920
= y0 2.4386−=
change ∆α!
mid dipol4
c lenDip+2
0
sin α4( )−
cos α4( )
⋅+:= mid
0
1.192−
1792.334
=
calculating the tunnel path in therange of collimation
angle of a special tubbing element ∆β 0.1 deg⋅:=
rctubbingLength
∆β:=radius of curvature
9 elements k 0 8..:=
Beams between the dipoles: beamk
linePP dipolk
dipolk 1+,( ):=
construct the corresponding tunnel axis
A point on a parallel line to beamk pk
dipolk
horAxisLin
1
0
0
⋅+ vertAxisLin
0
cos αk( )sin αk( )
⋅+:=
idealk
pk
beamk( )
1
:=
This is the ideal line but with a constant tubbing length not realistic (see below)
Between straight tunnel sections there are bent sections but these are approximated by straights
k 1 8..:=18 end pointsof tunnel segments
idealAp0 CL1_LA:=
idealAp2k
intersectLL idealk 1− ideal
k,( ):=
not an intersection just apoint on the horizontal(!)tunnel sectionidealAp
17idealAp
16
0
0
4.5
+:=
α8 0:=
idealAp18
idealAp17( )
0
idealAp17( )
1
z0 44.5676+
:= the bending point in front of XS1
idealAp0
0.2000
0.9000−
1689.0000
= idealAp0
dipol0
− 2.2023=
idealAp2
0.2000
0.9000−
1706.8419
= idealAp2
dipol1
− 0.9220=
idealAp4
0.2000
1.0490−
1733.8365
= idealAp4
dipol2
− 0.9220=
idealAp6
0.2000
1.1483−
1742.8310
= idealAp6
dipol3
− 0.9220=
idealAp8
0.2000
1.5953−
1769.8224
= idealAp8
dipol4
− 0.9220=
idealAp10
0.2000
2.5888−
1814.8113
= idealAp10
dipol5
− 0.9220=
idealAp12
0.2000
3.0385−
1841.8125
= idealAp12
dipol6
− 0.9220=
idealAp14
0.2000
3.1395−
1850.8168
= idealAp14
dipol7
− 0.9220=
idealAp16
0.2000
3.2960−
1877.8212
= idealAp16
dipol8
− 0.9220=
idealAp17
0.2000
3.2960−
1882.3212
= idealAp17
dipol9
− 0.9204=
i 1 8..:=Length of bends(8+1 dummy)
bendi
rc αi αi 1−−( )⋅:=
bend
0.0000
4.7440
4.7440
4.7441
4.7440
4.6656
4.6656
4.6656
4.9794
=
idealAp2i 1− idealAp2 i⋅
bendi
2
0
sin αi 1−( )−
cos αi 1−( )
⋅−:=
idealAp2 i⋅ idealAp2 i⋅
bendi
2
0
sin αi( )−
cos αi( )
⋅+:=
idealAp4
0.2000
1.0752−
1736.2084
= idealAp5
0.2000
1.1221−
1740.4591
=
If idealAp4 comes later than idealAp5, make one point
idealAp4
idealAp4 idealAp5+
2:= idealAp12
idealAp12 idealAp13+
2:=
idealAp13 idealAp12:=idealAp5 idealAp4:=
m 0 17..:=
1680 1700 1720 1740 1760 1780 1800 1820 1840 1860 1880 19004
3
2
1
0
idealApm( )1
idealApm( )2
idealm
linePP idealApm
idealApm 1+,( ):=
yAt line z,( ) line0
z line0( )
2−
line1( )
2
line1⋅+
1
:=
idealLine z( ) save 1−←
save i← z idealApi( )
2>if
i 0 17..∈for
f 0.9−←
freturn
save 0<if
f idealAp17( )
1←
freturn
save 16>if
f yAt idealsave
z,( )←
freturn
:=
idealAp4
0.2000
1.0987−
1738.3338
=
idealAp5
0.2000
1.0987−
1738.3338
=
idealLine idealAp4( )2
1.0987−=
ideal4( )1
0.0000
0.0000
0.0000
=
bend
0.0000
4.7440
4.7440
4.7441
4.7440
4.6656
4.6656
4.6656
4.9794
= straight
15.8444
23.0000
5.0000
23.0000
41.0000
23.0000
5.0000
23.0000
4.5000
= idealAp0
0.2000
0.9000−
1689.0000
=
1650 1700 1750 1800 1850 19004
3
2
1
0
idealLine z( )
z
Bestimmung der Abschittsgrenzen
mid
0.0000
1.1922−
1792.3343
=
CL2_LA
xAt ideal8
1784.55,( )yAt ideal
81784.55,( )
1784.55
:= CL2_LA
0.2000
1.9206−
1784.5500
=
CL2_LA CL1_LA−tubbingLength
0.0000
0.6804−
63.7000
=teil1 CL2_LA idealAp8−
bend5
2−:= teil1 10.0264=
teil2 CL2_LA idealAp9−bend6
2−:= teil2 25.6031=
x CL1_LA2 75 tubbingLength⋅+:=
TL
idealAp16( )
0
idealAp16( )1
x
:= Letzter Teil des XTL läuft parallel zu LA
TL
0.2000
3.2960−
1801.5000
=
teil1 TL idealAp16−bend7
2−:= teil1 76.4781=
end
TL0
TL1
1994.492
:=teil2 TL end−:=
teil2 192.9920=
With integer multiples of the tubbing length seea Java project "collimation"
The straight between 2. and 3. dipole is so short that it will be treated in one bend, the same holdsfor dipole 6 and 7
With 13 sections the multiples are defined in a vector n
from CL1_LA to 1.dipole
1. dipole
straight from 1. to 2. dipole
2. and 3. dipolestraight from 3. to 4. dipole
4. dipole
n
15
7
11
12
14
6
22
5
12
12
9
8
15
:= long straight from 4. to 5. dipole
5. dipolestraight from 5. to 6. dipole
6. and 7. dipole
straight from 7. to 8. dipole
8. dipole
0
2
k
n2 k⋅ 1+∑= 3
5
k
n2 k⋅ 1+∑=
− 0.0000=straight after 8. dipole
db 0.05:= realAp0 idealAp0:=
1. straight section 17 elements: i 1 n0..:= n0 15.0000=
realApi
realApi 1−
0
0
1.5
+:=
realApn0
0.2000
0.9000−
1711.5000
= idealAp1
0.2000
0.9000−
1704.4699
=
7 wedge shaped segments i n0
1+ n0
n1
+..:= n1
7.0000=
realApi
realApi 1− 1.5
0
sin i n0
− 0.5−( ) db⋅ deg⋅ −
cos i n0
− 0.5−( ) db⋅ deg⋅
⋅+:=
realAp20
0.2000
0.9164−
1719.0000
=
realApn0 n1+
0.2000
0.9321−
1721.9999
= idealAp2
0.2000
0.9131−
1709.2139
=
15 straight segments i
0
1
k
nk∑
=
1+
0
2
k
nk∑
=
..:=n
211.0000=
realApi
realApi 1− 1.5
0
sin n1
db⋅ deg⋅( )−
cos n1
db⋅ deg⋅( )
⋅+:=
realAp
0
2
k
nk∑=
0.2000
1.0329−
1738.4996
= idealAp3
0.2000
1.0359−
1731.4645
=
12 wedge shapedsegments
i
0
2
k
nk∑
=
1+
0
3
k
nk∑
=
..:= n3
12.0000=
realApi
realApi 1− 1.5
0
sin i
0
1
k
n2 k⋅∑
=
− 0.5−
db⋅ deg⋅
−
cos i
0
1
k
n2 k⋅∑=
− 0.5−
db⋅ deg⋅
⋅+:=
14 straight segments i
0
3
k
nk∑
=
1+
0
4
k
nk∑
=
..:= n4
14.0000=
realApi
realApi 1− 1.5
0
sin
0
1
k
n2 k⋅ 1+∑
=
db⋅ deg⋅
−
cos
0
1
k
n2 k⋅ 1+∑=
db⋅ deg⋅
⋅+:=
6 wedge shaped segments i
0
4
k
nk∑
=
1+
0
5
k
nk∑
=
..:=n
56.0000=
realApi
realApi 1− 1.5
0
sin i
0
2
k
n2 k⋅∑
=
− 0.5−
db⋅ deg⋅
−
cos i
0
2
k
n2 k⋅∑
=
− 0.5−
db⋅ deg⋅
⋅+:=
22 straight segmentsi
0
5
k
nk∑
=
1+
0
6
k
nk∑
=
..:=n
622.0000=
realApi
realApi 1− 1.5
0
sin
0
2
k
n2 k⋅ 1+∑
=
db⋅ deg⋅
−
cos
0
2
k
n2 k⋅ 1+∑
=
db⋅ deg⋅
⋅+:=
i
0
6
k
nk∑
=
1+
0
7
k
nk∑
=
..:=5 wedge shaped segments back n7
5.0000=
realApi
realApi 1− 1.5
0
sin
0
6
k
nk∑
= 0
2
k
n2 k⋅ 1+∑
=
+ i− 0.5+
db⋅ deg⋅
−
cos
0
6
k
nk∑
= 0
2
k
n2 k⋅ 1+∑=
+ i− 0.5+
db⋅ deg⋅
⋅+:=
12 straight segments i
0
7
k
nk∑
=
1+
0
8
k
nk∑
=
..:= n8
12.0000=
realApi
realApi 1− 1.5
0
sin
0
2
k
n2 k⋅ 1+∑
=
n7
−
db⋅ deg⋅
−
cos
0
2
k
n2 k⋅ 1+∑=
n7−
db⋅ deg⋅
⋅+:=
12 wedge shaped segmentsback
i
0
8
k
nk∑
=
1+
0
9
k
nk∑
=
..:= n9
12.0000=
realApi
realApi 1− 1.5
0
sin
0
8
k
nk∑
=
i−
0
2
k
n2 k⋅ 1+∑
=
n7
−
+
0.5+
db⋅ deg⋅
−
cos
0
8
k
nk∑
=
i−
0
2
k
n2 k⋅ 1+∑=
n7−
+
0.5+
db⋅ deg⋅
⋅+:=
11 straight segments i
0
9
k
nk∑
=
1+
0
10
k
nk∑
=
..:= n10
9.0000=
realApi
realApi 1− 1.5
0
sin
0
2
k
n2 k⋅ 1+∑
= 3
4
k
n2 k⋅ 1+∑
=
−
db⋅ deg⋅
−
cos
0
2
k
n2 k⋅ 1+∑= 3
4
k
n2 k⋅ 1+∑=
−
db⋅ deg⋅
⋅+:=
8 wedge shaped segments back i
0
10
k
nk∑
=
1+
0
11
k
nk∑
=
..:= n11
8.0000=
realApi
realApi 1− 1.5
0
sin
0
10
k
nk∑
=
i−
0
2
k
n2 k⋅ 1+∑
= 3
4
k
n2 k⋅ 1+∑
=
−
+
0.5+
db⋅ deg⋅
−
cos
0
10
k
nk∑
=
i−
0
2
k
n2 k⋅ 1+∑= 3
4
k
n2 k⋅ 1+∑=
−
+
0.5+
db⋅ deg⋅
⋅+:=
15 straight segments i
0
11
k
nk∑
=
1+
0
12
k
nk∑
=
..:= n12
15.0000=
realApi
realApi 1− 1.5
0
sin
0
2
k
n2 k⋅ 1+∑
= 3
5
k
n2 k⋅ 1+∑
=
−
db⋅ deg⋅
−
cos
0
2
k
n2 k⋅ 1+∑= 3
5
k
n2 k⋅ 1+∑=
−
db⋅ deg⋅
⋅+:=
m 1
0
12
k
nk∑
=
..:=
distm
realApm( )
1idealLine realAp
m( )2
−:=
0 20 40 60 80 100 120 1400.05
0distm
m
0
5
k
nk∑
=
n6
2+
76.0000= dist76 0.2098=CL2_LA2 CL1_LA2−
1.563.7000=
1
11
k
nk∑
=
118.0000=
dipol8( )
2dipol
1( )2
− bend5
+
1.5117.0968=
TOL 0.0000001:=
Parameter Definition for the fan distribution:
CAUTION: changing thevalues of the parametersrequires a careful check of all positions, as the handlingof some conditions is notautomated.
according to W. Decking (June 2005)
length of bend between undulators: B_D2 58.4:=
undulator length: sase1Length 201.3:=
sase2Length 256.2:=
sase3Length 134.2:=
spontLength 59.9:=
tunnel radiusradiusLTunnel 2.7:=
radiusETunnel 2.25:=
shaft side lengths rw_XS1 11.5:= lw_XS1 9.5:=
rw_XS2 8.7:= lw_XS2 8.95:=
rw_XS3 9.09:= lw_XS3 8.26:=
rw_XS4 9.05:= lw_XS4 8.45:=
L_XS5 38:= rw_XS5 9:= lw_XS5 8:=
minimum separation between tunnels separat 1:=
tunnel wall thickness tunnelWall 0.3:=
shaft wall thickness (including excavation wall) shaft_wall 2:=
angular increment (in some cases it is doubled) ∆α 0.05 deg⋅:=
minimum radius of tunnel curvaturetubbingLength
∆α1718.8734=
distance between beam in the undulator and the tunnel axis smallHorAxisUnd 1.25:=
largeHorAxisUnd 1.6:=
distance between photonbeam and the tunnel axis horAxisPhotEnd 0.5:=
safety margin shaft rear wall - undulator start safeDist 10:=
minimal separation between electron beam and tunnel gapElectron 0.5:=
minimal separation between photon beam and tunnel gapPhoton 0.3:=
standard beam height vertAxis 0.11−:=
length of dump hall: dumpLength 23.5:=
distance between the last undulator and the entrance wall of the dump hall driftDump 39.5:=
The angles of the beams are fixed, according to the design for the PFV
angle between P1 and P4 p1_α 2.28586 deg⋅:=
angle between P2 and P4 p2_α 1.720855 deg⋅:=
angle between P3 and P4 p3_α 0.221355− deg⋅:=
angle between P5 and P4 p5_α 1.318245− deg⋅:=
angle between P6 and P4 p6_α 4.10082− deg⋅:=
angle between P9 and P4 p9_α 6.58553− deg⋅:=
rttubbingLength
∆α:=
transport way width: tw 0.1 1.4+ 0.1+:=
General remarks
The nomenclature is standardized and follows the corresponding Java-code: Beams are denoted by pn. Their starting point is pn_start, their angle to z is pn_α etc.For all tunnels we assume three or more sections: xtn_s1, xtn_s2, xtn_s3 etc. All shafts (except XS1) are oriented parallel to the axis of the incoming tunnel. The outgoingtunnels start in such a way that they are parallel to the corresponding beam and theundulator can start immediately (after a certain safety distance from the shaft). The end of ashaft is defined by the requirement that the outgoing tunnels are perpendicular to the walland are separated by 1.7m to install the shielding wall. So the circumference of a shaft is apolygon.
Due to the small angles between the beams the bending is assumed to be a sharp kink andthe length of the bending is taken on straight rather than on bent lines
The end of the LINAC tunnel (XLT) houses switches for SASE2, the commissioning dumpand the second phase.Here we are interested in the projection to the s,t-plane, only.
After the PFU are finished the layout of the beams is fixed and the shaft buildings areelaborated to a detail that changes should be kept to a minimum.
Beam Layout:P4:
p4_start
0
0
0
:= p4_end
0
0
PD_Length
:= p4_α 0:=
p4_dir dirHor p4_α( ):= p4_normal normHor p4_α( ):= p4_line linePP p4_start p4_end,( ):=
for a consistent design we have to fix the inclination of the experimental hall by the angles α1 and α5
hall_αp1_α p5_α+
2:=
hall_αdeg
0.483808=
hall_dir dirHor hall_α( ):=
hall_frontPlane planePR p4_end hall_dir,( ):=hall_normal normHor hall_α( ):=
P1:p1_end p4_end 3 17⋅ hall_normal⋅+:= p1_dir dirHor p1_α( ):= p1_normal normHor p1_α( ):=
p1_line linePR p1_end p1_dir,( ):=
p1_start intersectLL p4_line p1_line,( ):=
P5: p5_end p4_end 17 hall_normal⋅−:= p5_dir dirHor p5_α( ):= p5_normal normHor p5_α( ):=
p5_line linePR p5_end p5_dir,( ):=
p5_start intersectLL p4_line p5_line,( ):=
P3: p3_end p4_end 17 hall_normal⋅+:= p3_dir dirHor p3_α( ):= p3_normal normHor p3_α( ):=
p3_line linePR p3_end p3_dir,( ):=
p3_start intersectLL p1_line p3_line,( ):=
( ) ( )
P2: p2_end p4_end 2 17⋅ hall_normal⋅+:= p2_dir dirHor p2_α( ):= p2_normal normHor p2_α( ):=
p2_line linePR p2_end p2_dir,( ):=
p2_start intersectLL p3_line p2_line,( ):=
P9 is defined by a point on P9 from W.Decking's list:
p_LA
3.0994−
2.4872−
2112.7402
:=p9_dir dirHor p9_α( ):=
p9_line linePR LAtoPD p_LA( ) p9_dir,( ):=
p9_start intersectLL p4_line p9_line,( ):=
All beams are fixed now
Each tunnel axis starts at the same height axisBegin
0
vertAxis
0
:=
The position of each shaft is fixed, the separation of each beam to the tunnel wall is checked
shaft XS1:
The tunnel XTL is parallel to the z-axis of the LA-system, so that the fan plane intersects the end of
XTL a few cm below 90cm
We ignore the small horizontal inclination of XTL (0.3o -> 3.0cm/5.8m) and orientate XS1 parallel toP4
orientation of the shaft parallel to P4: xs1_dir p4_dir:= xs1_normal p4_normal:=
xs1_α p4_α:=
frontwall of XS1
xs1_start
0.0967−
0.8210−
105.732
:=
xs1_frontplane planePR xs1_start p4_dir,( ):=
The deviation towards P9 is not yet finished, we have to consider an intermediate beam
Fehler y=0!
dipol2_LA
0.6320−
2.4774−
2085.8552
:= LAtoPD dipol2_LA( )
0.6320−
0.0054−
91.3632
=
dipol3_LA
2.8795−
2.4864−
2110.7523
:= LAtoPD dipol3_LA( )
2.8795−
0.0054−
116.2603
=
intermediate linePP LAtoPD dipol2_LA( ) LAtoPD dipol3_LA( ),( ):=
radiusLTunnel intersectPL xs1_frontplane intermediate,( ) xs1_start−− 0.6943=
radiusLTunnel intersectPL xs1_frontplane p1_line,( ) xs1_start−− 0.6330=
all three tunnels (XTD1, XTD2 and XTD20) leave perpendicularly to the backside of XS1 (polygon)
The shaft XS1 should end, when the separation between the outside of XTD1 and XTD2 havethe value 1.7m to start the shielding wall
line_t1_right parallelHor p1_line largeHorAxisUnd radiusLTunnel− tunnelWall−,( ):=
line_t2_left parallelHor p4_line radiusLTunnel largeHorAxisUnd− tunnelWall+,( ):=
xs1_shield_start_12 ShaftEnd line_t1_right line_t2_left, 1.7,( ):=
xs1_shield_start_12
2.2502
0.0000
173.4115
=
Correct for the wall thickness
xs1_shield_start_122
xs1_start2
− 1.5− 66.1795=
xs1_t2_plane parallelHorP xs1_frontplane xs1_shield_start_122
xs1_start2
− 1.5−,( ):=
We can calculate the length of the external shielding wall
d 3:=
xs1_shield_end_12 ShaftEnd line_t1_right line_t2_left, d,( ):= xs1_shield_end_12
2.9003
0.0000
205.9921
=
xs1_shield_end_12 xs1_shield_start_12− 32.5871=
construct the corner between XTD1 and XTD2 on the bisecting line
c12 xs1_shield_start_12 1.5 dirHorp1_α p4_α+
2
⋅−:=
xs1_t1_plane planePR c12 p1_dir,( ):= c12
2.2202
0.0000
171.9118
=
position of XS5 and XTD20
xs5_start
14.7842−
0.35−
227.4739
:= xt20_end xs5_start:= fixed by IG, taken from drawing
xs5_c3
8.706−
0.35−
227.996
:= xs5_c2
23.153−
0.35−
226.753
:=
orientation of XS5 perpendicular to xs5_c3 and xs5_c2
line_f_xs5 linePP xs5_c3 xs5_c2,( ):=
xs5_απ2
atan
line_f_xs51( )
0
line_f_xs51( )
2
−
−:= xs5_αdeg
4.9175−=
xt20_dir dirHor xs5_α( ):= xt20_s1_line linePR xt20_end xt20_dir,( ):= xt20_α xs5_α:=
backside for XTD20
line_t2_right parallelHor p4_line radiusLTunnel− largeHorAxisUnd− tunnelWall−,( ):=
line_t20_left parallelHor xt20_s1_line radiusETunnel tunnelWall+,( ):=
bisecting lineline_bs linePR intersectLL line_t2_right line_t20_left,( ) bidirHor 0 xt20_α,( ),( ):=
c220 intersectPL xs1_t2_plane line_bs,( ):= c220
6.0195−
0.0000
171.9115
=
xs1_t20_plane planePR c220 dirHor xs5_α( ),( ):=
plane_s1_t2_out parallelHorP xs1_t2_plane 1.5,( ):=
plane_s1_t20_out parallelHorP xs1_t20_plane 1.5,( ):=
xs1_shield_start_220 intersectPP plane_s1_t2_out plane_s1_t20_out, 0,( ):=
xs1_shield_start_220
6.0839−
0.0000
173.4115
=
xs1_shield_end_220 ShaftEnd line_t2_right line_t20_left, 3,( ):=xs1_shield_end_220
6.0986−
0.0000
173.7860
=
xs1_shield_220 xs1_shield_start_220 xs1_shield_end_220−:= xs1_shield_220 0.3747=
incoming tunnel XTL
horizontal bending of the end of the LINAC tunnel (assuming the electron beam arrives 81cm abovethe axis and 20cm to the right) :
xt0_start
0.2
xs1_start1
xs1_start2
sin αk( )⋅−
0
:= xt0_end xs1_start:= b_t0
0.2
xt0_start1
50 sin αk( )⋅+
50
:=
xt0_s1_line linePP xt0_start b_t0,( ):= xt0_s3_line linePP b_t0 xt0_end,( ):=
outgoing tunnels XDT1, XDT2 and XTD20
xt2_start intersectPL xs1_t2_plane parallelHor p4_line largeHorAxisUnd−,( ),( ) axisBegin+:=
xt2_s1_line linePR xt2_start p4_dir,( ):=xt2_start
1.6000−
0.1100−
171.9115
=xt2_α p4_α:=
xt1_start intersectPL xs1_t1_plane parallelHor p1_line largeHorAxisUnd,( ),( ) axisBegin+:=
xt1_s1_line linePR xt1_start p1_dir,( ):= xt1_start
6.0371
0.1100−
171.7595
=
xt1_α p1_α:=
xt20_start intersectPL xs1_t20_plane xt20_s1_line,( ):=xt20_start
9.9744−
0.3500−
171.5713
=
The position of SASE1 can also be calculated
s1_start intersectPL parallelHorP xs1_t2_plane safeDist,( ) p4_line,( ):= s1_start
0.0000
0.0000
181.9115
=
s1_end s1_start sase1Length p4_dir⋅+:=
s1_end
0.0000
0.0000
383.2115
=
L1_opt p5_start p4_dir⋅ s1_end p4_dir⋅−B_D2
2−:=
s1_opt s1_end L1_opt p4_dir⋅+:=L1_opt 187.6762=
The position of SASE2 can also be calculated
s2_start intersectPL parallelHorP xs1_t1_plane safeDist,( ) p1_line,( ):= s2_start
4.8372
0.0000
181.8153
=
s2_end s2_start sase2Length p1_dir⋅+:=
s2_end
15.0558
0.0000
437.8115
=L2_opt p3_start s2_end−( ) p1_dir⋅
B_D2
2−:=
s2_opt s2_end L2_opt p1_dir⋅+:= L2_opt 94.7756=
crossing at the end of XTD1: transportation way 1.6m crossing photon beam
xt1_cross intersectLL parallelHor p3_line tw gapElectron+ gapPhoton+( ),[ ] p1_line,[ ]:=
xt1_cross
22.1889
0.0000
616.5079
=
horizontal deviation distancePL xt1_cross xt1_s1_line,( ) 1.6038=
vertical deviation 2.62
tw2− 2.3− 0.01+ 0.2406−=
crossing at the end of XTD2: transportation way 1.6m crossing electron beam
xt2_cross intersectLL parallelHor p4_line tw gapElectron+ gapPhoton+( )−,[ ] p5_line,[ ]:=
xt2_cross
2.4000−
0.0000
704.3821
=
distancePL xt1_cross xt1_s1_line,( ) 1.6038=horizontal deviation
vertical deviation 2.62
tw2− 2.3− 0.01+ 0.2406−=
shaft XS2:xs2_dir p3_dir:= xs2_α p3_α:=
xs2_αdeg
0.2214−=
xs2_start
21.7742
0.11−
646.183
:=
Plane for front side xs2_frontPlane planePR xs2_start xs2_dir,( ):=
from IGxs2_c3
21.2496
0.156−
678.4340
:=
xs2_t6_plane planePR xs2_c3 p1_dir,( ):=
xs2_t3_plane planePR xs2_c3 p3_dir,( ):=
incoming tunnel XDT1
xs2hor horCompP xs2_start( )
0.
0.11
0.
−:=
xt1_end xs2_start:=
xt1_s3_line linePP p3_start largeHorAxisUnd p1_normal⋅+ axisBegin+ xs2hor,( ):=
outgoing tunnels XDT3 and XDT6
xt3_start intersectPL xs2_t3_plane parallelHor p3_line smallHorAxisUnd−,( ),( ) axisBegin+:=
xt3_s1_line linePR xt3_start p3_dir,( ):=xt3_start
18.2996
0.1100−
678.4226
=xt3_α p3_α:=
first section of XDT6
xt6_start intersectPL xs2_t6_plane parallelHor p1_line smallHorAxisUnd,( ),( ) axisBegin+:=
xt6_α p1_α:=xt6_start
25.9043
0.1100−
678.2482
=
xt6_s1_line linePR xt6_start p1_dir,( ):=
finishing XTD6 , back to horAxisPhotEnd at the experimental hall, bend 100m before the hall:
xt6_end p1_end horAxisPhotEnd hall_normal⋅+ axisBegin+:=
( )
xt6_s3_line linePP p1_end 100 p1_dir⋅− smallHorAxisUnd p1_normal⋅+ xt6_end,( ):=
b_t6 intersectLL xt6_s1_line xt6_s3_line,( ):=
b_t6
48.3426
0.1100−
1240.3722
=
The position of U1 can also be calculated
u1_start intersectPL parallelHorP xs2_t3_plane safeDist,( ) p3_line,( ):=u1_start
19.5110
0.0000
688.4274
=u1_end u1_start p3_dir spontLength⋅+:=
LU1_opt p2_start u1_end−( ) p3_dir⋅B_D2
2−:= LU1_opt 59.5197=
u1_end
19.2796
0.0000
748.3269
=
u1_opt u1_end LU1_opt p1_dir⋅+:=
Finding the position of shaft XS4:
A point on the axis of the incoming tunnel XTD3
b_t3 p2_start smallHorAxisUnd p3_normal⋅− axisBegin+:= b_t3
17.6868
0.1100−
837.0411
=
orientation of the shaft (old value): xs4_α 1.4576 deg⋅:=
xs4_dir dirHor xs4_α( ):=The start of shaft XS4 is
h 0.54−:=
xs4_start
20.4074
0.11−
941.3923
:= xAt p3_line 941.3923,( ) 18.5337=
xs4_start p2_start−
1.4706
0.1100−
104.3464
=
Plane for front side plane_s4_f planePR xs1_start dirHor p3_α( ),( ):=
Given is the corner in the fan-systemxs4_c3
20.4112
0.54−
973.8952
:=
xs4_t5_plane planePR xs4_c3 p2_dir,( ):=
xs4_t8_plane planePR xs4_c3 p3_dir,( ):=
incoming tunnel XDT3
xt3_s3_line linePP b_t3 xs4_start,( ):=
xt3_end xs4_start:=
outgoing tunnels XDT5 and XDT8
first section of XDT5
xt5_s1_line fSLine p2_line smallHorAxisUnd, .11−,( ):=
xt5_start intersectPL xs4_t5_plane xt5_s1_line,( ):=
xt5_α p2_α:= xt5_start
24.2953
0.1100−
973.7785
=
first section of XDT8
xt8_s1_line fSLine p3_line smallHorAxisUnd−, vertAxis,( ):=
xt8_α p3_α:=
xt8_start intersectPL xs4_t8_plane xt8_s1_line,( ):= xt8_start
17.1581
0.1100−
973.8826
=
finish XTD8
xt8_end p3_end horAxisPhotEnd p3_normal⋅− axisBegin+:=
xt8_s3_line linePP p3_end 100 p3_dir⋅− smallHorAxisUnd p3_normal⋅− xt8_end,( ):=
b_t8 intersectLL xt8_s1_line xt8_s3_line,( ):=b_t8
16.1276
0.1100−
1240.6282
=
The position of U2 can also be calculated
u2_start intersectPL parallelHorP xs4_t5_plane safeDist,( ) p2_line,( ):= u2_start
23.3462
0.0000
983.8115
=
u2_end u2_start p2_dir spontLength⋅+:=
LU2_opt 90:=
u2_opt u2_end LU2_opt p2_dir⋅+:=
The position of the dump XHDU1 should be fixed to avoid the HEW-TrasseCAUTION: the dump doesn't start on the beam!
corrhor 0.2869:=
p2_spec parallelHor p2_line corrhor,( ):=
xd1_beam u2_opt driftDump 4.77+( ) p2_dir⋅+:=xd1_beam
29.1771
0.0000
1177.8940
=
xd1_frontPlane planePR xd1_beam p2_dir,( ):=
xd1_start intersectPL xd1_frontPlane p2_spec,( ) 0.396
0
1
0
⋅−:=
xd1_end xd1_start dumpLength p2_dir⋅+:=
xd1_start
29.4639
0.3960−
1177.8853
=xd1_end_beam xd1_beam dumpLength p2_dir⋅+:=
xd1_start u2_opt− 44.2727=
quad_end LAtoPD
29.3038
5.6397−
3176.5952
:=sben_end LAtoPD
29.1559
4.7696−
3171.6737
:=dumped beam:
dump_line linePP sben_end quad_end,( ):= yAt dump_line xd1_start2
,( ) 2.0252−=
The incoming tunnel XDT5 is curved (vertical bend see below)
xt5_s3_line linePP u2_opt smallHorAxisUnd p2_normal⋅+ xd1_start,( ):=xt5_end xd1_start:=
b_t5 intersectLL xt5_s1_line xt5_s3_line,( ):=b_t5
29.1505
0.1100−
1135.3839
=
xt7_start xd1_end_beam horAxisPhotEnd p2_normal⋅+( ) vertAxis
0
1
0
⋅+:= xt7_start
30.3826
0.1100−
1201.3683
=
xt7_α p2_α:=
xt7_end intersectPL hall_frontPlane parallelHor p2_line horAxisPhotEnd,( ),( ) vertAxis
0
1
0
⋅+:=
Back to the other branch
Finding the position of shaft XS3:
xs3_dir p4_dir:= xs3_α p4_α:=orientation of the shaftparallel to P4
The start of shaft XS3 is xs3_start
1.6−
0.11−
760.8692
:=
Plane for front side
xs3_frontPlane planePR xs3_start p4_dir,( ):=
Given is the corner in the shaft-system
c3_txs3
0.399−
0
32.45
:=
Transformation into fan-system
xs3_c3 c3_txs3 xs3_start+:= xs3_c3
1.9990−
0.1100−
793.3192
=
xs3_t9_plane planePR xs3_c3 p4_dir,( ):=
xs3_t4_plane planePR xs3_c3 p5_dir,( ):=
Now we can complete XDT2
xt2_end xs3_start:=
Outgoing tunnels XDT4 and XDT9
first section of XDT4
xt4_s1_line fSLine p5_line smallHorAxisUnd−, vertAxis,( ):=
xt4_start intersectPL xs3_t4_plane xt4_s1_line,( ):=xt4_start
5.6950−
0.1100−
793.2341
=xt4_α p5_α:=
we can complete XDT9
xt9_start intersectPL xs3_t9_plane parallelHor p4_line smallHorAxisUnd,( ),( ) axisBegin+:=
xt9_α p4_α:=xt9_s1_line linePR xt9_start p4_dir,( ):=
finishing XTD9 , back to horAxisPhotEnd at the experimental hall, bend 100m before the hall:
xt9_end intersectPL hall_frontPlane parallelHor p4_line horAxisPhotEnd,( ),( ) axisBegin+:=
xt9_s3_line linePP p4_end 100 p4_dir⋅− smallHorAxisUnd p4_normal⋅+ axisBegin+ xt9_end,( ):=
b_t9 intersectLL xt9_s1_line xt9_s3_line,( ):=b_t9
1.2500
0.1100−
1238.6700
=
The position of SASE3 is
s3_start intersectPL parallelHorP xs3_t4_plane safeDist,( ) p5_line,( ):=
s3_end s3_start sase3Length p5_dir⋅+:= s3_start
4.6754−
0.0000
803.2603
=
L3_opt 117.5:=
s3_opt s3_end L3_opt p5_dir⋅+:= s3_opt
10.4659−
0.0000
1054.8936
=
The entrance of beam P5 in the dump XHDU2 is at
The separation between beam and tunnel axis makes a parallel line to the beam necessary
p5_spec parallelHor p5_line corrhor−,( ):=
xd2_beam s3_opt driftDump p5_dir⋅+:= xd2_beam
11.3746−
0.0000
1094.3832
=
xd2_frontPlane planePR xd2_beam p5_dir,( ):=
xd2_start intersectPL xd2_frontPlane p5_spec,( ) 0.396
0
1
0
⋅−:=
xd2_end xd2_start dumpLength p5_dir⋅+:=xd2_start
11.6614−
0.3960−
1094.3766
=
xd2_end_beam xd2_beam dumpLength p5_dir⋅+:=
The incoming tunnel XDT4xd2_beam
11.3746−
0.0000
1094.3832
=
xt4_end xd2_start:=
xt4_s3_line linePP s3_opt smallHorAxisUnd p5_normal⋅− axisBegin+ xt4_end,( ):=
b_t4 intersectLL xt4_s1_line xt4_s3_line,( ):=
b_t4
11.7156−
0.1100−
1054.8649
=The outgoing tunnel XDT10
xt10_start xd2_end_beam p5_normal horAxisPhotEnd⋅−:=
xt10_α p5_α:=
xt10_end intersectPL hall_frontPlane parallelHor p5_line horAxisPhotEnd−,( ),( ) axisBegin+:=
xt10_end
17.4996−
0.1100−
1338.8178
=
Tunnel bending
XTLbent CurveHor xt0_s1_line xt0_s3_line, xs1_start, ∆α, rt,( ):=
xt0_s2_start
bent0
xt0_start1
bent1
αk⋅+
bent1
:= xt0_s3_start
bent2
xt0_start1
bent3
αk+
bent3
:= bent
0.2000
44.5670
0.1764
53.5669
0.0052−
=
xt0_s2_α bent4:=
XTD1
bent CurveHor xt1_s1_line xt1_s3_line, horCompP xs2_start( ), ∆α, rt,( ):=
xt1_s2_start
bent0
xt1_start1
bent1
:= xt1_s3_start
bent2
xt1_start1
bent3
:=bent
20.2856
528.7131
21.6486
593.1949
0.0375−
=
xt1_s2_α bent4:=
Querung P1
intersectLL xt1_s3_line p1_line,( )
21.6868
0.1100−
603.9313
=
XTD2
Querung P5
intersectLL xt2_s1_line p5_line,( )
1.6000−
0.1100−
669.6173
=
XTD3
bent CurveHor xt3_s1_line xt3_s3_line, horCompP xs4_start( ), ∆α, rt,( ):=
xt3_s2_start
bent0
xt3_start1
bent1
:= xt3_s3_start
bent2
xt3_start1
bent3
:=bent
17.7889
810.6307
18.3484
861.6258
0.0297
=
xt3_s2_α bent4:=
xt3_s2_αdeg
1.7000=Querung P3
intersectLL xt3_s3_line p3_line,( )
18.7755
0.1100−
878.7989
=
XTD4 (in front of a dump)
xt4_s2_α 1.8 deg⋅:= sa sin xt4_s2_α( ):= ca cos xt4_s2_α( ):=
ve 0.286:= he 1.25 corrhor−:=
re ve2
he2+:= re 1.0047= he 0.9631=
βt4 atanve
he
−:= βt4
deg16.5392−=
L2_4
rert
21 ca−( )⋅−
sa:= L2_4 18.4837=
L1_4 301.20rt
2sa⋅− L2_4 ca⋅−:= L1_4 255.7298=
anf1
0
0
0
:= end1
0
0
L1_4
:=
anf2
rt
21 ca−( )⋅
0
L1_4rt
2sa⋅+
:= end2 anf2 L2_4
sa
0
ca
⋅+:=
anf2
0.4241
0.0000
282.7254
= end2
1.0047
0.0000
301.2000
=
βt4
deg16.5392−=
B
cos βt4( )sin βt4( )
0
sin βt4( )−
cos βt4( )0
0
0
1
:=
γ p5_α:=
A
cos γ( )0
sin γ( )−
0
1
0
sin γ( )0
cos γ( )
:= xs3_start
1.6000−
0.1100−
760.8692
=
A B⋅ anf1⋅ xt4_start+
5.6950−
0.1100−
793.2341
= abog A B⋅ end1⋅ xt4_start+:=xt4_s2_start abog:=
ebog A B⋅ anf2⋅ xt4_start+:= ziel A B⋅ end2⋅ xt4_start+:=
xt4_s3_start ebog:=
minimize the difference ziel xd2_start− 0.0000=
ziel
11.6614−
0.3960−
1094.3766
=xd2_start
11.6614−
0.3960−
1094.3766
=
ebog2
abog2
+
2xt4_start
2− 269.1610=
XTD5 (in front of a dump, mirror image of XTD4)
xt5_s2_α xt4_s2_α−:= βt5 βt4−:= xt5_end xt5_start− 204.1725=
L2_5 L2_4:= L1_5 xt5_end xt5_start−rt
2sa⋅− L2_4 ca⋅− 0.0025−:= L1_5 158.6998=
anf1
0
0
0
:= end1
0
0
L1_5
:=
anf2
rt−2
1 ca−( )⋅
0
L1_5rt
2sa⋅+
:= end2 anf2 L2_5
sa−
0
ca
⋅+:=anf2
0.4241−
0.0000
185.6954
=
end2
1.0047−
0.0000
204.1700
=βt5
deg16.5392=
B
cos βt5( )sin βt5( )
0
sin βt5( )−
cos βt5( )0
0
0
1
:=
γ p2_α:=
A
cos γ( )0
sin γ( )−
0
1
0
sin γ( )0
cos γ( )
:=
A B⋅ anf1⋅ xt5_start+
24.2953
0.1100−
973.7785
= abog A B⋅ end1⋅ xt5_start+:= xt5_s2_start abog:=
ebog A B⋅ anf2⋅ xt5_start+:= ziel A B⋅ end2⋅ xt5_start+( ):=
xt5_s3_start ebog:=
abog
29.0611
0.1100−
1132.4067
= ebog
29.4654
0.2307−
1159.4023
=
minimize the difference ziel xd1_start− 0.0000=
xd1_start
29.4639
0.3960−
1177.8853
= ziel
29.4639
0.3960−
1177.8853
=
ebog2 abog2+
2xt5_start2− 172.1260=
XTD6
bent CurveHor xt6_s1_line xt6_s3_line, horCompP xt6_end( ), ∆α, rt,( ):=
xt6_s2_start
bent0
xt6_start1
bent1
:= xt6_s3_start
bent2
xt6_start1
bent3
:= bent
48.1687
1236.0141
48.6541
1249.5053
0.0079−
=
xt6_s2_α bent4:=
XTD7 is not curved
XTD8
bent CurveHor xt8_s1_line horCompL xt8_s3_line( ), horCompP xt8_end( ), ∆α, rt,( ):=
xt8_s2_start
bent0
xt8_start1
bent1
:= xt8_s3_start
bent2
xt8_start1
bent3
:= bent
16.1444
1236.2813
16.1453
1249.7813
0.0079
=
xt8_s2_α bent4
:=
XTD9
bent CurveHor xt9_s1_line xt9_s3_line, horCompP xt9_end( ), ∆α, rt,( ):=
xt9_s2_start
bent0
xt9_start1
bent1
:= xt9_s3_start
bent2
xt9_start1
bent3
:= bent
1.2500
1236.4247
1.1970
1249.9246
0.0079−
=
xt9_s2_α bent4
:=αK 0.0003651:=
PDtoLA xs1_start( )
0.0967−
3.2982−
2100.2237
=
Summary:
L1_opt 187.6762=undulators: s1_start
0.0000
0.0000
181.9115
= s1_end
0.0000
0.0000
383.2115
=
PDtoLA s1_start( )
0.0000
2.5050−
2176.4035
=
L2_opt 94.7756=
s2_start
4.8372
0.0000
181.8153
= s2_end
15.0558
0.0000
437.8115
=
PDtoLA s2_start( )
4.8372
2.5050−
2176.3073
=
L3_opt 117.5000=s3_start
4.6754−
0.0000
803.2603
= s3_end
7.7627−
0.0000
937.4247
=
PDtoLA s3_end( )
7.7627−
2.7809−
2931.9167
=
u1_start
19.5110
0.0000
688.4274
= u1_end
19.280
0.000
748.327
= LU1_opt 59.5197=
PDtoLA u1_start( )
19.5110
2.6900−
2682.9193
=
LU2_opt 90.0000=u2_start
23.3462
0.0000
983.8115
= u2_end
25.1450
0.0000
1043.6845
=
PDtoLA u2_start( )
23.3462
2.7978−
2978.3035
=
tunnels:
XLT (part belonging to XFEL fan, 3 segments)!!!
xt0_start
0.2000
0.8596−
0.0000
= xt0_s2_start
0.2000
0.8433−
44.5670
= xt0_s3_start
0.1764
0.8400−
53.5669
=
xt0_end
0.0967−
0.8210−
105.7320
=
xt0_start xt0_s2_start− 44.5670=
xt0_start xt0_s2_start− 1994.492+ 1900.05− 139.0090=
xt0_s2_αdeg
0.3000−= xt0_end xt0_s3_start− 52.1658=
XDT1 3 segmentsxt1_start xt1_end− 474.6845=
xt1_start
6.0371
0.1100−
171.7595
= xt1_s2_start
20.2856
0.1100−
528.7131
= xt1_s3_start
21.6486
0.1100−
593.1949
=
xt1_start xt1_s2_start− 357.2379=xt1_αdeg
2.2859=
xt1_s2_αdeg
2.1500−=
xt1_end
21.7742
0.1100−
646.1830
=
XDT2 1 segment
xt2_start
1.6000−
0.1100−
171.9115
=xt2_αdeg
0.0000=
xt2_end
1.6000−
0.1100−
760.8692
=
xt2_end xt2_start− 588.9577=
XTD3 3 segments
xt3_start
18.2996
0.1100−
678.4226
=
xt3_s2_start
17.7889
0.1100−
810.6307
= xt3_s3_start
18.3484
0.1100−
861.6258
=
xt3_αdeg
0.2214−=xt3_s2_α
deg1.7000=
XDT4 3 segmentsβt4
deg16.5392−= rotated about z
rt
2859.4367=
L1 xt4_s2_start xt4_start−:= L2 xt4_end xt4_s3_start−:=
e1t4
0
0
L1
:= e1t4
0.0000
0.0000
255.7298
= a2t4
rt
21 cos xt4_s2_α( )−( )⋅ cos βt4( )⋅
rt
21 cos xt4_s2_α( )−( )⋅ sin βt4( )⋅
L1rt
2sin xt4_s2_α( )⋅+
:= a2t4
0.4065
0.1207−
282.7254
=
e2t4
rt
21 cos xt4_s2_α( )−( )⋅ L2 sin xt4_s2_α( )⋅+
cos βt4( )⋅
rt
21 cos xt4_s2_α( )−( )⋅ L2 sin xt4_s2_α( )⋅+
sin βt4( )⋅
L1rt
2sin xt4_s2_α( )⋅+ L2 cos xt4_s2_α( )⋅+
:= e2t4
0.9631
0.2860−
301.2000
=
rt
2 cos βt4( )⋅896.5304=
rt
2 sin βt4( )⋅3019.0506−=
xt4_start xt4_end− 301.2017=
L1 255.7298=
xt4_start
5.6950−
0.1100−
793.2341
= xt4_s2_αdeg
1.8000=
L2 18.4837=xt4_αdeg
1.3182−=
βt5
deg16.5392= rotated about z
rt
2859.4367=XDT5 3 segments
L1 xt5_s2_start xt5_start−:= L2 xt5_end xt5_s3_start−:=
e1t5
0
0
L1
:= e1t5
0.0000
0.0000
158.6998
= a2t5
rt−2
1 cos xt5_s2_α( )−( )⋅ cos βt5( )⋅
rt−2
1 cos xt5_s2_α( )−( )⋅ sin βt5( )⋅
L1rt
2sin xt5_s2_α( )⋅−
:= a2t5
0.4065−
0.1207−
185.6954
=
e2t5
rt−2
1 cos xt5_s2_α( )−( )⋅ L2 sin xt5_s2_α( )⋅+
cos βt5( )⋅
rt−2
1 cos xt5_s2_α( )−( )⋅ L2 sin xt5_s2_α( )⋅+
sin βt5( )⋅
L1rt
2sin xt5_s2_α( )⋅− L2 cos xt5_s2_α( )⋅+
:= e2t5
0.9631−
0.2860−
204.1700
=
rt
2 cos βt5( )⋅896.5304=
rt
2 sin βt5( )⋅3019.0506=
xt5_s3_start
29.4654
0.2307−
1159.4023
=xt5_s2_start
29.0611
0.1100−
1132.4067
=
xt5_start xt5_end− 204.1725=
xt5_s2_start xt5_start− 158.6998=
xt5_start
24.2953
0.1100−
973.7785
= xt5_s2_αdeg
1.8000−=
xt5_end xt5_s3_start− 18.4838=xt5_αdeg
1.7209=
XDT6 3 segmentsxt6_start xt6_end− 660.4830=
xt6_start
25.9043
0.1100−
678.2482
= xt6_s2_start
48.1687
0.1100−
1236.0141
= xt6_s3_start
48.6541
0.1100−
1249.5053
=
xt6_end
51.4982
0.1100−
1338.2351
=
xt6_αdeg
2.2859=
xt6_start xt6_s2_start− 558.2101=xt6_s2_α
deg0.4500−=
xt6_s3_start xt6_end− 88.7754=
XDT7 1 segment
xt7_start
30.3826
0.1100−
1201.3683
= xt7_start xt7_end− 137.0722=xt7_end
34.4989
0.1100−
1338.3787
=
xt7_αdeg
1.7209=
xt8_start xt8_end− 364.6425=XDT8 3 segments
xt8_start
17.1581
0.1100−
973.8826
= xt8_s2_start
16.1444
0.1100−
1236.2813
= xt8_s3_start
16.1453
0.1100−
1249.7813
=
xt8_αdeg
0.2214−=xt8_end
16.4994
0.1100−
1338.5245
=
xt8_start xt8_s2_start− 262.4007= xt8_s3_start xt8_end− 88.7439=
xt8_s2_αdeg
0.4500=
XDT9 3 segment xt9_start xt9_end− 545.3471=
xt9_start
1.2500
0.1100−
793.3192
= xt9_s2_start
1.2500
0.1100−
1236.4247
= xt9_s3_start
1.1970
0.1100−
1249.9246
=
xt9_αdeg
0.0000=
xt9_end
0.5000
0.1100−
1338.6658
=
xt9_start xt9_s2_start− 443.1055=xt9_s2_α
deg0.4500−= xt9_s3_start xt9_end− 88.7439=
XDT10 1 segment
xt10_start
12.4151−
0.0000
1117.8655
= xt10_end
17.4996−
0.1100−
1338.8178
=xt10_start xt10_end− 221.0108=
xt10_αdeg
1.3182−=
XDT20 1 segment
xt20_start
9.9744−
0.3500−
171.5713
=xt20_α
deg4.9175−=
xt20_end xt20_start− 56.1092=
Dump halls:
xd1_start
29.4639
0.3960−
1177.8853
= xd1_end
30.1696
0.3960−
1201.3747
=
xd2_start
11.6614−
0.3960−
1094.3766
= xd2_end
12.2021−
0.3960−
1117.8704
=
LAtoPD
11.358−
4.739−
3088.164
11.3580−
1.9011−
1093.6728
= xAt p5_line 1094.3766,( ) 11.3745−=
Dump windows:
PDtoLA xd1_beam 15.5 p2_dir⋅+( )29.6426
2.8743−
3187.8789
=
PDtoLA xd2_beam 15.5 p5_dir⋅+( )11.7312−
2.8438−
3104.3710
=
ramps
crossing: li parallelHor p3_line 1.8,( ):=XTD1, 1 ramp
crossing intersectLL li p1_line,( )
0
0.11−
0
+:= crossing
21.6418
0.1100−
602.8030
=
QuadrupolpositionW.Deckings Listext1_r1_z
2566.9283 2571.4022+ 0.5−2
1994.492−:=
xt1_r1
xAt p1_line xt1_r1_z,( )
1.4−
xt1_r1_z
:= xt1_r1
20.5090
1.4000−
574.4233
=
xt1_r1 p3_start− 12.8217=DistPL crossing xt1_s1_line,( ) =DistPL crossing xt1_s1_line,( )
XTD2, 1ramp
crossing: li parallelHor p4_line 1.8−,( ):=
crossing intersectLL li p5_line,( )
0
0.11−
0
+:= crossing
1.8000−
0.1100−
678.3085
=
xt2_r1_z2605.319 2614.2617+ 0.5−
21994.492−:=
xt2_r1
xAt p4_line xt2_r1_z,( )
1.4−
xt2_r1_z
:= xt2_r1
0.0000
1.4000−
615.0484
= xt2_r1 p5_start− 15.0260=
DistPL crossing xt2_s1_line,( ) =DistPL crossing xt2_s1_line,( )
XTD3, 1ramp
crossing: li parallelHor p2_line 1.8−,( ):=
crossing intersectLL li p3_line,( )
0
0.11−
0
+:= crossing
18.7316
0.1100−
890.1562
=
xt3_r1_z2842.2823 2846.1625+ 0.5−
2
1994.492−:=
xt3_r1
xAt xt3_s1_line xt3_r1_z,( )
1.4−
xt3_r1_z
:= xt3_r1
17.6388
1.4000−
849.4804
=
xt3_r1 p2_start− 12.5802=DistPL crossing xt3_s1_line,( ) =DistPL crossing xt3_s1_line,( )
photon beams:
p1_start
0.0000
0.0000
60.6326
= p1_start p1_end− 1278.6242=p1_αdeg
2.285860=
p1_end s2_end− 901.1450=
p1_start p3_start− 501.4548=p1_end
50.9982
0.0000
1338.2394
=
p2_start
18.9368
0.0000
837.0459
= p2_start p2_end− 501.5632=p2_αdeg
1.720855=
p2_end u2_end− 294.8314=
p2_start u2_opt− 296.7318=p2_end
33.9988
0.0000
1338.3829
=
p3_start
20.0006
0.0000
561.6884
= p3_start p3_end− 776.8439=p3_αdeg
0.221355−=
p3_end u1_end− 590.2039=
p3_end
16.9994
0.0000
1338.5265
= p3_start p2_start− 275.3596=
p4_start
0.0000
0.0000
0.0000
= p4_start p4_end− 1338.6700=p4_αdeg
0.000000=
p4_end s1_end− 955.4585=
p4_start p5_start− 600.0877=p4_end
0.0000
0.0000
1338.6700
=
p5_start
0.0000
0.0000
600.0877
= p5_start p5_end− 738.921=p5_αdeg
1.318245−=
p5_end s3_end− 401.4951=
p5_start u1_opt− 208.8372= PDtoLA p5_start( )
0.0000
2.6577−
2594.5797
=p5_end
16.9994−
0.0000
1338.8135
=
shafts: R 6390000 deg⋅:=
xs1_α 0.000000=
xs1_start
0.0967−
0.8210−
105.7320
=PD_Length xs1_start
2− 25−
R0.010831=
xs2_αdeg
0.221355−=
xs2_start
21.7742
0.1100−
646.1830
=PD_Length xs2_start
2− 16.1−
R0.006065=
xs3_αdeg
0.000000=xs3_start
1.6000−
0.1100−
760.8692
=PD_Length xs3_start
2− 16.2−
R0.005036=
intersectPL xs2_frontPlane p1_line,( ) intersectPL xs2_frontPlane xt1_s3_line,( )−
1.5994
0.1100
0.0062
=
xs4_αdeg
1.457600=xs4_start
20.4074
0.1100−
941.3923
=
PD_Length xs4_start2
− 16.2−
R0.003417=
xs5_start
14.7842−
0.3500−
227.4739
=xs5_α
deg4.917540−=
PD_Length xs5_start2
− 18−
R0.009802=
Vergleich mit W.Deckings Liste vom 26.11.2007
xdu1_LA
29.70
7.98−
3187.8775
:=
xsdu1_dump LAtoPD xdu1_LA( ):= xsdu1_dump
29.7000
5.1057−
1193.3874
=
xd1_beam 15.5 p2_dir⋅+
29.6426
0.0000
1193.3870
=
xdu2_LA
11.7764−
7.9494−
3106.3398
:=
xsdu2_dump LAtoPD xdu2_LA( ):=
xsdu2_dump
11.7764−
5.1048−
1111.8497
=
xd2_beam 15.5 p5_dir⋅+
11.7312−
0.0000
1109.8791
=