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:
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
Adding errors for quadrupoles
-
laurenmccollum
- Novice
- Posts: 4
- Joined: Tue 10 Dec 2024 14:17
- Country:
Ireland (ie)
Adding errors for quadrupoles
- Attachments
-
- 40MeV_Beam.ini
- (43.77 KiB) Downloaded 6 times
-
- 40MeV_Beam.dat
- (96 Bytes) Downloaded 3 times
Re: Adding errors for quadrupoles
Dear lauren,
You forgot something.
Regards,
Didier
You forgot something.
Regards,
Didier
-
laurenmccollum
- Novice
- Posts: 4
- Joined: Tue 10 Dec 2024 14:17
- Country:
Ireland (ie)
Re: Adding errors for quadrupoles
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
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
Re: Adding errors for quadrupoles
Hi Lauren,
On my side, that works !
Send me another timer your project files, I'll check.
Regards,
Didier
On my side, that works !
Send me another timer your project files, I'll check.
Regards,
Didier
-
laurenmccollum
- Novice
- Posts: 4
- Joined: Tue 10 Dec 2024 14:17
- Country:
Ireland (ie)
Re: Adding errors for quadrupoles
Hi Didier,
Thanks, I have attached my files.
Thanks, I have attached my files.
- Attachments
-
- 40MeV_Beam.ini
- (43.77 KiB) Downloaded 5 times
-
- 40MeV_Beam.dat
- (96 Bytes) Downloaded 6 times
Re: Adding errors for quadrupoles
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
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
-
laurenmccollum
- Novice
- Posts: 4
- Joined: Tue 10 Dec 2024 14:17
- Country:
Ireland (ie)
Re: Adding errors for quadrupoles
Hi Didier,
Thanks so much, it is working!
Thanks so much, it is working!