It's not really clear to me what you want to do.
Do you have an incoming beam with particularly size and divergence, and you need to adjust the quadrupoles to match it to some beta and alpha values at the end? If not, what's the task?
--Michael
Search found 1829 matches
- 30 Mar 2023, 13:59
- Forum: Optimization and Matching
- Topic: Optimizing the quadrupole strengths
- Replies: 27
- Views: 29277
- 28 Mar 2023, 15:01
- Forum: General
- Topic: Use of the function computeRBGGE
- Replies: 8
- Views: 98
Re: Use of the function computeRBGGE
Ryutaro, The problem is that the data was spread across multiple pages. You can fix this using these commands for file in dipole3T_[xy]*.sdds ; do sddscombine $file m$file -merge ; done Also, the x, y, and z data values appear to be in mm, but the definition is m. You can fix this with for file in m...
- 28 Mar 2023, 13:27
- Forum: General
- Topic: Use of the function computeRBGGE
- Replies: 8
- Views: 98
Re: Use of the function computeRBGGE
Ryutaro,
I don't see the uploaded files.
It might help to make a zip or other archive file, then upload that.
--Michael
I don't see the uploaded files.
It might help to make a zip or other archive file, then upload that.
--Michael
- 28 Mar 2023, 13:25
- Forum: Optimization and Matching
- Topic: Optimizing the quadrupole strengths
- Replies: 27
- Views: 29277
Re: Optimizing the quadrupole strengths
I think it was basically working. I made a few changes to improve agreement of run0 and run1. Look for "!MB" in the .ele files. There's a script called runScript that runs the various simulations and plots the results. I don't see any connection between run0.ele/run1.ele and transport.ele. Also, tra...
- 28 Mar 2023, 12:48
- Forum: General
- Topic: Wake elements with memory leak
- Replies: 5
- Views: 68
Re: Wake elements with memory leak
I found the source of the memory leak and fixed it. The fix will appear in the next release.
Thanks again for reporting the problem.
--Michael
Thanks again for reporting the problem.
--Michael
- 28 Mar 2023, 12:24
- Forum: Optimization and Matching
- Topic: Optimizing the quadrupole strengths
- Replies: 27
- Views: 29277
Re: Optimizing the quadrupole strengths
Can you provide the command to make run0.terms?
--Michael
--Michael
- 28 Mar 2023, 11:35
- Forum: General
- Topic: Use of the function computeRBGGE
- Replies: 8
- Views: 98
Re: Use of the function computeRBGGE
Can you upload the four files? I can check to see what the problem might be.
--Michael
--Michael
- 28 Mar 2023, 11:24
- Forum: General
- Topic: Wake elements with memory leak
- Replies: 5
- Views: 68
Re: Wake elements with memory leak
Thanks, I'll look into this.
Impedances are the most typical implementation used in storage ring modeling, so it is possible there's a memory leak we haven't identified.
--Michael
Impedances are the most typical implementation used in storage ring modeling, so it is possible there's a memory leak we haven't identified.
--Michael
- 27 Mar 2023, 18:02
- Forum: General
- Topic: Use of the function computeRBGGE
- Replies: 8
- Views: 98
Re: Use of the function computeRBGGE
You just need to sort the four files using the sddssort command. In bash, you can do
--Michael
Code: Select all
for file in dipole3T_[xy]plus.sdds dipole3T_[xy]minus.sdds ; do
sddssort $file -column=z -column=y -column=x
\rm ${file}~
done
- 27 Mar 2023, 17:57
- Forum: Optimization and Matching
- Topic: Optimizing the quadrupole strengths
- Replies: 27
- Views: 29277
Re: Optimizing the quadrupole strengths
You can use the bunched_beam_moments command instead of bunched_beam. For example, &bunched_beam_moments n_particles_per_bunch = 1000, distribution_type[0] = 3*"gaussian", ! Gaussian in (x, x'), (y, y'), (s, dp/p) distribution_cutoff[0] = 3*3, ! Cut off gaussian random numbers at 3 sigma in all plan...