How to add errors to a cryomodule

Moderators: cyao, michael_borland

Post Reply
Zhenbiao
Posts: 7
Joined: 06 Apr 2017, 07:41

How to add errors to a cryomodule

Post by Zhenbiao » 08 Jul 2024, 22:49

Hi,

I'm using elegant to simulate the misalignment of cryomodules. The cryomodule consists of 8 cavities. The definition of a module is as follows:

Code: Select all

L2_8CAVL : LINE=(CAVL_2,DCM2,CAVL_2,DCM2,CAVL_2,DCM2,CAVL_2,DCM2,CAVL_2,&
   DCM2,CAVL_2,DCM2,CAVL_2,DCM2,CAVL_2)
CM04 : LINE=(BEGCM04,DCM0,DCM1,L2_8CAVL,DCM3,MKQCM04,QCM04,CHVCM04,BBPMCM04,QCM04,DCM4,&
        ENDCM04)
CM05 : LINE=(BEGCM05,DCM0,DCM1,L2_8CAVL,DCM3,MKQCM05,QCM05,CHVCM05,BBPMCM05,QCM05,DCM4,&
        ENDCM05)
CM06 : LINE=(BEGCM06,DCM0,DCM1,L2_8CAVL,DCM3,MKQCM06,QCM06,CHVCM06,BBPMCM06,QCM06,DCM4,&
        ENDCM06)
I want to add the following errors: cryomodule misaligments, cavity misalignments wrt. CM, quadrupoles misalignments wrt. CM, BPM misalignments wrt. CM. The cryomodule is a line, not an element. How to add errors to a cryomodule composed of multiple elements? And how to add errors of a quadrupole wrt. CM? Is it the same as adding errors directly to the quadrupole like the following codes?

Code: Select all

&error_element name=QCM04, element_type=*QUAD*, item=DX, amplitude=150e-6, cutoff=2 &end
&error_element name=QCM04, element_type=*QUAD*, item=DY, amplitude=150e-6, cutoff=2 &end
&error_element name=QCM04, element_type=*QUAD*, item=TILT, amplitude=2e-3, cutoff=2 &end
Many thanks for any suggestion,
Zhenbiao Sun

Post Reply