SR loss per turn with momentum offset
Moderators: cyao, michael_borland
SR loss per turn with momentum offset
I want to compute the SR loss per turn in an electron storage ring with fractional offset in the momentum. For this, I defined an element of type "malign" and then "vary_element" with item as dp, followed by "twiss_output". However, it did not work. How I can obtain this loss as a function of momentum offset? Can I save the results in a file for plotting?
-
- Posts: 2006
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: SR loss per turn with momentum offset
The twiss_output command can't do this computation at present. I'll add it in a future version.
Meanwhile, I've attached some files that show how to do it using element-by-element radiation, which is more accurate in any case. In this example, I used the closed_orbit command to first find the off-momentum closed orbit, so the calculation is appropriate to a particle that circulates for a while at some momentum deviation. The result is not the same as the E^4 scaling that you'll get if you scale the magnets and beam energy together.
--Michael
Meanwhile, I've attached some files that show how to do it using element-by-element radiation, which is more accurate in any case. In this example, I used the closed_orbit command to first find the off-momentum closed orbit, so the calculation is appropriate to a particle that circulates for a while at some momentum deviation. The result is not the same as the E^4 scaling that you'll get if you scale the magnets and beam energy together.
--Michael
- Attachments
-
- trackingExample.zip
- (2.19 KiB) Downloaded 989 times
Re: SR loss per turn with momentum offset
Thanks for sharing the examples.
Re: SR loss per turn with momentum offset
I obtained SR loss per turn with energy off-set using Elegant, as you described. The files .lte and .ele are attached here for your reference. I also computed same function using analytical formula up to second order in energy off-set. There is a discrepancy in both the results, which I could not understand. The results with the derived formula are also attached in the word file for your kind review...
Amal ...
Amal ...
- Attachments
-
- Analytical_vs_code_SR_with_dpp.docx
- (97.09 KiB) Downloaded 1054 times
-
- testline.lte
- (1.29 KiB) Downloaded 932 times
-
- Basic.ele
- (695 Bytes) Downloaded 969 times
-
- Posts: 2006
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: SR loss per turn with momentum offset
Amal,
I think issue may be that in the tracking simulation, you include synchrotron radiation in the quadrupoles
If I comment out that statement, the nonlinearity (judging by the second-order term in a fit) is reduced an order of magnitude.
--Michael
I think issue may be that in the tracking simulation, you include synchrotron radiation in the quadrupoles
Code: Select all
&alter_elements name=*[QS]*, type=K*, item=SYNCH_RAD, value=1 &end
--Michael
Re: SR loss per turn with momentum offset
Michael,
Thanks for clarifying the doubt. By commenting the statement, results from the code and formulation are closer. In fact, now output from the code has slightly lesser nonlinear effect (not much different) compared to the formulation.
Thanks again,
Amal.
Thanks for clarifying the doubt. By commenting the statement, results from the code and formulation are closer. In fact, now output from the code has slightly lesser nonlinear effect (not much different) compared to the formulation.
Thanks again,
Amal.