Olivier: June 11, 2019 Sequence referenced to drawing ISK4585D.dwg at coords [INCH]: x = 169.264" y = 167.267" Olivier: sequence ends on ISK4585D.dwg at coords [INCH]: x = 198.108" y = 152.253" which is the start of ios_db1 Olivier: Referenced to drawing ISK4209d.dwg Quadrupole lengths verified Quadrupole apertures verified Start of sequence is defined at points [in] x = 297.535" y = -64.219" Feb 14 2019 - Quadrupole polarities were backwards. Fixed. Sept 23 2019 - re-referenced to drawings IIS0135D.dwg, IIS0192D.dwg and ILE0173D.dwg Olivier April 2 2020 - I found all EQ's with incorrect lengths. I think this is from all the back and forth with EQSkim. Odd, as we had agreed to put it in. I'll correct the quadrupole lengths in ios_db1.xml, as it's supposed to be the skimmer-less version. I'll add the skimmer EQSkim (later) in ios_db1_skim.xml. IOS:Q1 l = 99.72*mm, effl=48.92*mm Switch ref: IIS0192D.dwg (note backward X-def'l - told Brian). start coords defined at point [in]: x = 42.9013" y = 30.3312" which is midpoint Q2 on IIS0135D.dwg Switch ref: ILE0173D.dwg (note units incorrectly scaled by factor of 2. Div everything by 2). Start coords defined at point [in]: x = -16.054" y = 25.303" which is midpoint Q3 on IIS0192D.dwg FC3 position approximate (410mm) - see ILE0173D.dwg Olivier: regarding IOS:MB, see: http://lin12.triumf.ca/optr/ISAC/OLIS/3head/matlab/sy.f or http://lin12.triumf.ca/optr/ISAC/OLIS/SuperNanogan/sy.f values (from Rick): (SLAC-75 parameters): ak1 = 0.317 ak2 = 2.0 (other parameters): rho = 11.728" (bob's sy.f) fullgap = 5.0800 cm from my computations, taking an effective field boundary of 0.998", I get (Olivier): rho = 29.9887cm = 11.8066 rho*theta(60deg) = 31.4041cm edge angle is 0 both in and out. http://lin12.triumf.ca/optr/ISAC/OLIS/3head/matlab/sy.f Olivier: IOS:FC6 position placeholder to avoid negative drifts. Spencer: EMIT and FC6 from ISK4209.dwg, but swapped their positions as clearly emit is actually before FC6, so locations are approximate. Olivier: IV7 and all attenuators are to be considered approximate. Changes made to IOS attenuators circa 2016 are not encoded in the Ray Dube drawing. This is the OLIS 10x attenuator This is the OLIS 120x attenuator This is the OLIS 210x attenuator This is the OLIS 3400x attenuator Olivier: ordrevB was -156.97mm before Q9, I've modified it's position accordingly - Q9 position changed Sept 23 2019 after re-measure. (Spencer?) Q9 length changed from eletrical length to effective. See: http://lin12.triumf.ca/Optics/Quadrupoles/FFintegrals/ISISACsummary.txt DEPRECATED:**************************** Olivier: end of sequence defined on ISK4209d.dwg at coordinates [inches] x = 260.685" y = -183.743 *************************************** Sequence ends on ILE0173D.dwg at coords [inches]: x = 97.342" y = -0.850 which is the same distance from the midpoint of Q9 from the old deprecated measure above. This is the start of sequence ios_db10.xml Olivier: Drawing referenced ISK4209d.dwg. Quadrupole apertures verified. Bender gap parameters verified. Quadrupole polarity taken from above dwg. From ISK4209d.dwg, the curved line segment within the bender electrode has a length of l = 7.854" = 19.9492cm, which is consistent for all benders in both the IOS:DB10 section and the ILT corner to the RFQ. Thus, the midpoint of the curved segment, at the optical center of the bender path is at l = 3.927" = 9.97458cm from the point at which the curved line begins on the drawing. NOTE: ON ISK4209d.dwg, this sequence starts at (inches): x = 260.685" y = -183.743" which corresponds to the top side of the blue, horizontal, rectangular bar immediately below IOS:Q9, on the drawing. Olivier: this sequence ends on ISK4209d.dwg at coordinates [inches]: x = 291.109" y = -214.168" this point corresponds to the right hand side of the vertical blue rectangle immediately to the left of ILT:Q33. total path length s = 1182.2216mm Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.triumf.ca/optr/ISAC/RFQ_buncher/sy.f Prebuncher remains to be modelled in opera-2D. Remains unclear how to elegantly transition TRANSOPTR from DC to bunched. Will have to get guidance from Rick. For now, I've implemented a triple discrete RFGAP call for the prebuncher. This is useful for longitudinal bunching, however it's unclear if this will do a good job simulating the actual prebuncher. Start of sequence on ISK4209d.dwg is at position [inches] x = 291.109" y = -214.168" Spencer: End of sequence on ISK4209d.dwg is at position [inches] x = 277.9285" y = 207.6593" this is 1.8" downstream of the centre of ILT:Q42. Corresponds to position on ARIEL drawing ART2080.dwg of: x = 1839813.25 mm y = 2189703 mm Note that the units on ART2080.dwg appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.triumf.ca/optr/ISAC/RFQ_buncher/sy.f Spencer: Start of sequence on ISK4209d.dwg is at position [inches] x = 277.9285" y = 207.6593" this is 1.8" downstream of the centre of ILT:Q42 (at the skimmer). Spencer: Sequence ends at upstream edge of the skimmer upstream of ILT:Q47. Coordinates of that on ISK4209d.dwg are (measured using e drawings PRO): x = 7831.4155 mm y = 4502.5396 mm Equivalent coordinates of that on ART2080.dwg are (measured using e drawings PRO): X: 1820204.125 mm Y: 2209312.0 mm Note that the units on this drawing (ART2080.dwg) appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.tri umf.ca/optr/ISAC/RFQ_buncher/sy.f Spencer: Sequence starts at upstream edge of the skimmer upstream of ILT:Q47. Coordinates of that on ISK4209d.dwg are (measured using e drawings PRO): x = 7831.4155 mm y = 4502.5396 mm Equivalent coordinates of that on ART2080.dwg are (measured using e drawings PRO): X: 1820204.125 mm Y: 2209312.0 mm Note that the units on this drawing (ART2080.dwg) appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: placeholder booster position. Booster originally in /acc at s = 5500.00*mm, though likely placeholder. Moved back a bit to avoid negative drifts. POSITION STILL NEEDS TO BE CONFIRMED all EPICS PV's need to be verified for name **************************OLD****************************** Olivier: IRA:Q4 centerpoint is to be used for alignment of RFQ vane mapping. RFQ 2term field map original length = 760.1275cm, which starts at the beginning of the radial matching section. From Larry Root's bnd_rms4.f Relax3D simulation for the RMS, quotes distance of 6 reference cell length (first cell) to start of RMS, equal to 5.3250522cm. From drawings ISK0141D.dwg, ILE0195D.DWG, end point of IRA:Q4 coincides with beginning of RFQ tank vacuum point. Thus, add dS = 10*5.53250522mm + 0.5*1.0*25.4 (half of IRA:Q4 length), for dS = 68.0250522mm from midpoint of IRA:Q4 to start of RFQ vane/RMS. drift distance from middle of IRA:Q4 to RFQ map centerpoint: S_RFQ = S_Q4 + 0.5*25.4+1" + 10*5.53250522 + 0.5*10*760.1275 S_RFQ = S_Q4 + 3868.6626mm Note that this is a single data point, from Larry Root, which was done during development. There is still no hard value for positioning of the RFQ vane, with respect to a known reference point. It will be critical to find this distance, with accuracy and precision, if the model is to be trusted. Olivier: Rotation by -45deg to accomodate tilted RFQ 4-vane structure. From RFQ vane positioning measured back from MEBT:Q1/endOf_sequence, this places the end of the IRA:Q4 to RFQ start drift position at s = 6729.9224. The twiss parameters at the RFQ entrance (beginning of radial matcher) which produce an ideal match are as follows: (same for x,y - transverse) a = 0.416685 b = 5.229370 call TWISSMATCH( 1, 0.41665, 5.229370, 1., 1) call TWISSMATCH( 3, 0.41665, 5.229370, 1., 1) Olivier: Distance on ISK0141D.DWG from IRA:Q4 midpoint at x = -111.298" y = 2913.729" measured to beginning of MEBT vacuum flange at: x = -111.298" y = 3221.523" (end of sequence point x,y) is dY = 307.794" = 7817.9676mm also note that the above point (-111.298";3221.523") corresponds to the point, on IBP0436D.DWG: x = 217.679" y = 76.798", which is the start of the mebt_db0 sequence. Olivier: Sequence starting point referenced to IBP0436D.DWG at coordinates (inches): x = 217.679" y = 76.798" This corresponds to the start of the vacuum flange on the MEBT side, and agrees with both drawings IBP0436D.DWG and on ISK0141D.DWG to (inches); x = -111.298" y = 3221.523" this ensures the ilt_db33 sequence and mebt_db0 start at a common reference point with no artificial drifts. call TWISSMATCH( 1, -2.35, 98.0, 1., 1) call TWISSMATCH( 3, 0.14, 10.7, 1., 1) Danfysik 1987 L1 - QE-12B - #87115 Danfysik 1987 L1 - QE-7B - #87104 Danfysik 1987 L1 - QE-13A - #87130 Danfysik 1987 L1 - QE-12A - #87135 Danfysik 1987 L1 - QE-13B - #87134 This device does not exist in EPICS at all, it is a foil carousel that is adjusted locally. Olivier: Back-rotate by -45deg around optical axis. At this point, MEBT quads go from being tilted by 45 to being "flat". The bunch rotator is used to create a round beam spot on the stripping foil, in addition to a time focus. Thus, rotating the beam by 45deg (in transoptr) at this location should not result in discontinuities in the envelope. Danfysik 1987 L1 - QE-23 - #87124 Danfysik 1987 L1 - QE-11A - #87118 Olivier: See TRI-DNA-97-03, p. 11-12 for K1 discussion. No word on K2 in that reference however. "Given that the anticipated vertical beam size in the dipole is +-5mm = +-0.20in., we suggest that a value of K1 = 0.55 be used in TRANSPORT calculations." finally, the full gap is noted as (p.1) g = 2.250in. = 0.0572m = 5.72cm Note that these are design parameters, but for now it is the only measured reference. Danfysik 1987 L1 - QE-11B - #87123 Danfysik 1987 L1 - QE-24A - #87122 Danfysik 1987 L1 - - #87125 Danfysik 1987 L1 - - #87112 Danfysik 1987 L1 - - #87129 Danfysik 1987 L1 - - #87120 Olivier: end of mebt db0 marker is measured on DTL tank1 outer surface, on the MEBT:Q13 side. On IBP0500D.DWG, this corresponds to coordinates [inches]: x = 51.9199" y = 71.1069" Olivier: I've changed endOf_mebt_db0 reference to being tank1 outer surface on IBP0500D.DWG. Therefore, it follows that all values referenced in the DTL (this file) are referenced to the same point on IRF1002D.DWG. This places tank1 midpoint s-coordinate at the middle of my DTL Tank1 opera mapping, which is also referenced to tank1 outer surface (on the MEBT:Q13 side). January 29, 2019 IRF1002D.DWG, tank1 start point X=51.1528" tank1 field map (Opera) length = 12.8923" NOTE: Feb 21 2019 - all XY steerers placed 10mm after the central triplet quad as a placeholder for tuneX. NOTE: Sept 13, 2019 (Olivier): see TRI-BN-19-18 for langevin DTL quad fits do not remove factor of 2 multiplying langevin tanh values. The optr attribute scalX is the x-scaling of the pseudoLangevin function defined as the interval over which original magnet surveys were performed. NOTE: Sept 15, 2020 (Spencer) - all diagnostic devices are just temporarily put at positions so as to avoid negative drifts. Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. Olivier: DTL:XYCB2 placed 10mm after Q2 as a placeholder. IRF1002D.DWG, buncher1 start point X=78.3961" buncher1 field map (Opera) length = 5.1378" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. DTL Tank2 referenced to tank2 outer surface on IRF1002D.DWG, corresponding to X=85.4433", consistent with Opera simulation alignment reference. IRF1002D.DWG Tank2 start outer surface X = 85.4433" tank2 field map (Opera) length = 21.5650" Olivier: DTL:XYCB5 placed 10mm after Q5 as a placeholder. IRF1002D.DWG Buncher2 start outer surface X = 121.3338" buncher2 field map (Opera) length = 5.8465" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank3 start outer surface X = 129.0897" tank3 field map (Opera) length = 32.1950" Olivier: DTL:XYCB8 placed 10mm after Q8 as a placeholder. IRF1002D.DWG Buncher3 start outer surface X = 175.6102" buncher3 field map (Opera) length = 6.8307" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank4 start outer surface X = 184.3503" tank4 field map (Opera) length = 37.3130" Olivier: DTL:XYCB11 placed 10mm after Q11 as a placeholder. Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank5 start outer surface X = 238.8107" tank5 field map (Opera) length = 40.4630" end of dtl_db0 referenced to Tank5 outer surface on IRF1002D.DWG at X = 279.2737" Olivier: Sequence starts on drawing IHE0281D.DWG at coordinates (milimeters): x = 1403.8054mm y = 11955.7177mm which corresponds to the outer surface of DTL Tank5, also corresponding to the end of sequence for dtl_db0.xml, referenced to drawing IRF1002D.DWG at (inches): x = 279.2737" y = 157.4651" November 24, 2019 Olivier - marker t3d tune starts 65.0cm before Q1 BI relationships based on data collected by D. Evans and analysis by R. Baartman (B-I Curve fits for TRIUMF Quads - TRI-DN-07-04) Danfysik 1987 L1 Danfysik 1987 L1 - QE-9B - #87109 Danfysik 1987 L1 - QE-22C - #87107 HEBT:Q4 DISABLED. Danfysik 1987 L1 - QE-21 - #87127 Danfysik 1987 L1 - QE-19C - #87110 Historical T3D tune 'hebt1-august2012-noQ4.t3d' matches to round beam spot here. Below fits alpha_x = alpha_y = 0, beta_x = beta_y = 0.2 mm/mrad (20.0 cm/rad) call TWISSMATCH(1, 0., 20.0, 1., 1) call TWISSMATCH(3, 0., 20.0, 1., 1) Olivier: strp5 position at s=3681.7971mm produces a ~5.22cm error with trace3D benchmarking, when sub-sequence from HEBT:Q6 to HEBT:Q10. Adjusted accordingly. Olivier: diag positions for FC5,SCD5 are placeholders to avoid negative drifts. Danfysik 1987 L1 - QE-20A - #87111 Danfysik 1987 L2 - QE-26B - #87147 Danfysik 1987 L1 - QE-20C - #87117 Olivier: XCOL8A actual position is (millimeters); y = 5869.6426mm producing an s value of (mm): s = 6086.0751, which places it within DSB:MB0 - not doable in transoptr, so device was moved back. This device is not used in beam simulations. Olivier: Sequence ends on drawing IHE0281D.DWG at coordinates (millimeters): x = 1403.5516mm y = 6007.5647mm REFERENCES Trace 3d files: PraguemagnetApril2012.t3d Design drawings: IHE0149D (HEBT) IHE0281D (DSB) Sequence starts at leading edge of DSB:MB0 Olivier: Apr 11, 2019. This sequence may be deprecated due to lack of tunables. I've amalgamated this sequence in hebt_db9.xml, which starts from the end of sequence hebt_db0 and drifts to HEBT:Q9. The location of the prague is noted as a drift for reference. REFERENCES Trace 3d files: hebt2-april2012.t3d inputDRAGON.t3D (for HEBT2:MB0 location) hebt3-april2012.t3d Design drawings: IHE0134D.DWG Olivier: Sequence starts just before DSB:MB0, on drawing IHE0281D.DWG at coordinates [millimeters]: x = 1403.9468mm y = 6007.5647mm the first drift, defining the location of HEBT:Q9 is measured on IHE0281D.DWG up to Q9 midpoint. After this, I switch to drawing IHE0134D.DWG, with Q9 midpoint as the measurement reference. The new reference beyond Q9 is, on IHE0134D.DWG in INCHES: x = 60.934" y = 75.353" note: HEBT1:MB0 (Prague) is entered as a 0-length drift for the purpose of recording its positing along the tune. Note also that the point used for its position corresponds to the beginning of the circular arc and its connection to the optical axis of the HEBT beamline. November 24, 2019 Olivier - I've reversed polarities for HEBT:Q11, Q12. Q11 is negative, Q12 is positive now. Olivier: HEBT:IV8D position is a total placeholder, meant to avoid negative drifts in TRANSOPTR. Olivier: HEBT:Q9 point switches measurement ref. from IHE0281D.dwg to IHE0134D.dwg. Danfysik 1987 L2 - QE-28B - #87146 Danfysik 1987 L1 - QE-19A - #87105 Olivier: commented out below until I get field maps for bunchers Olivier: HEBT:Q11 originally positive, Q12 negative. possible discrepancy with trace3D comparison, haven't touched this yet. Both quads below are as they originally were in /acc/ Danfysik 1987 L1 - QE-26C - #87126 Danfysik 1987 L1 - QE-26A - #87101 Olivier: Sequence ends on drawing IHE0134D.dwg at coords [INCH]: x = 224.418" y = 75.353" which is the point where the circular arc defining the ref. trajectory through HEBT2:MB0 begins. REFERENCES Trace 3d files: hebt3-april2012.t3d inputTUDA.t3d Above references deprecated. Olivier: sequence starts on drawing IHE0120D.dwg at coords [inch]: x = 50.382" y = 115.593" which is the curved arc point start for HEBT2:MB0. Reference to IHE0120D.dwg ends at centerpoint of HEBT:Q14, at which point we switch to drawing IHE0148D.dwg, starting at midpoint of HEBT:Q14 at coordinates [inch]: x = 59.1279" y = 76.9054" drawing IHE0148D.dwg continues until end of sequence. Olivier: during trace3d benchmarking w/ TRANSOPTR, I found that quads HEBT:Q15 and HEBT:Q16 had reversed polarity. HEBT:Q15 had a negative sign and 16 a positive, I've reversed it and have good agreement with trace3D. April 17, 2019. Danfysik 1987 L1 - QE-18C - #87113 Danfysik 1987 L1 - QE-18A - #87128 Olivier: switch reference to IHE0148D.dwg for remainder of sequence. Danfysik 1987 L1 - QE-17C - #87132 Danfysik 1987 L1 - QE-10A - #87121 Olivier: I found s marker for end of sequence to be erroneously entered as being 25cm short of the actual value of 6000.2725mm. This caused the HEBT envelope to disagree w/ trace3D. Fixed. Olivier: sequence ends on drawing IHE0148D.dwg at coords [INCH]: x = 197.3168" y = 76.9054" which is the beginning of HEBT3:MB0 curvature. REFERENCES Trace 3d files: inputTUDA.t3d straight.t3d Above deprecated. Olivier: sequence starts on drawing IHE0129D.dwg at coords [inch]: x = 50.387" y = 114.593" which is the start of HEBT3:MB0 curvature Danfysik 1987 L1 - QE-10B - #87108 Danfysik 1987 L1 - QE-17A - #87131 Olivier: Switch reference from IHE0129D.dwg to overview drawing ISK0141D.dwg. While IHE0129D refers to drawing IHE0147D.dwg for elements below this point, I can't find it on the PDMVault. I instead used ISK0141D.dwg, which provides an overview of ISAC-I. Olivier: sequence ends at location of HEBT:IV18. Location on drawing ISK0141D.dwg is [inches]: x = 1154.132" y = 3453.388" note, IV18 is not explicitely on the drawing, however the location where it fits is clear. I've set it to the midpoint of the small vacuum fitting where the valve sits, confirmed by local inspection. COMMENT: DO NOT USE THIS SEQUENCE FOR A HEBT3 0DEGREE EXPERIMENT WITHOUT CAREFULLY RE-CHECKING EVERYTHING. ANOTHER SEQUENCE BEYOND IV18 IS NEEDED, AND SHOULD BE A PROPER DRAWING SHOWING WHATEVER EXPERIMENTAL CHAMBER IS PRESENT.