Adding errors for quadrupoles

https://www.dacm-logiciels.fr/tracewin
Post Reply
Irelandlaurenmccollum
Novice
Novice
Posts: 4
Joined: Tue 10 Dec 2024 14:17
Country:
Ireland (ie)
Ireland

Adding errors for quadrupoles

Post by Irelandlaurenmccollum »

Hello,

I am trying to add an error into a quadrupole. I have this in my data file:

drift 70 1000
error_quad_ncpl_stat 1 1 2
quad 150 -35 15 0 2.1 0 0 0 10.5
drift 50 1000
end

which I believe should add add a 2mm error in x. When I view the rms centroid it seems that the error is very small and not working correctly:
rms_xy.png
rms_xy.png (99.92 KiB) Viewed 81 times
rmsx'y'.png
rmsx'y'.png (84.25 KiB) Viewed 81 times
I have the errors set to 100 runs for a multiparticle study and output beam reference. I have attached my ini and dat files also. Could you please let me know where I am going wrong here?

Thank you,
Lauren
Attachments
40MeV_Beam.ini
(43.77 KiB) Downloaded 6 times
40MeV_Beam.dat
(96 Bytes) Downloaded 3 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 1110
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Adding errors for quadrupoles

Post by FranceDidier »

Dear lauren,

You forgot something.

Regards,

Didier
error.png
error.png (29.85 KiB) Viewed 77 times
Irelandlaurenmccollum
Novice
Novice
Posts: 4
Joined: Tue 10 Dec 2024 14:17
Country:
Ireland (ie)
Ireland

Re: Adding errors for quadrupoles

Post by Irelandlaurenmccollum »

Hi Didier,

Thank you for the quick response. I have added what you mentioned to my error setup but I am still getting the same output. Maybe I am doing something else wrong?

Thanks,
Lauren
User avatar
FranceDidier
Administrator
Administrator
Posts: 1110
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Adding errors for quadrupoles

Post by FranceDidier »

Hi Lauren,

On my side, that works !
Send me another timer your project files, I'll check.

Regards,

Didier
Irelandlaurenmccollum
Novice
Novice
Posts: 4
Joined: Tue 10 Dec 2024 14:17
Country:
Ireland (ie)
Ireland

Re: Adding errors for quadrupoles

Post by Irelandlaurenmccollum »

Hi Didier,

Thanks, I have attached my files.
Attachments
40MeV_Beam.ini
(43.77 KiB) Downloaded 6 times
40MeV_Beam.dat
(96 Bytes) Downloaded 7 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 1110
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Adding errors for quadrupoles

Post by FranceDidier »

Dear Lauren,

I see now, by simplifying your project to speed up the calculations I had inhibited the problem. It is now fixed and available for download.

Regards,

Didier
Irelandlaurenmccollum
Novice
Novice
Posts: 4
Joined: Tue 10 Dec 2024 14:17
Country:
Ireland (ie)
Ireland

Re: Adding errors for quadrupoles

Post by Irelandlaurenmccollum »

Hi Didier,

Thanks so much, it is working!
Post Reply