Search found 2003 matches

by michael_borland
13 May 2025, 14:56
Forum: Optimization and Matching
Topic: Multi-objective direct optimization of DA and MA
Replies: 9
Views: 4572

Re: Multi-objective direct optimization of DA and MA

Monika,

I don't see anything obviously wrong with the processed file. Can you upload the input file you are using with geneticOptimizer?

--Michael
by michael_borland
07 May 2025, 14:46
Forum: Bugs
Topic: rf_setup is broken in 2025.1
Replies: 4
Views: 1707

Re: rf_setup is broken in 2025.1

Mikhail,

This bug was introduced when I refined the calculation of radiation integrals to better include orbit effects. The fix was pretty simple, see attached.

Thanks for the bug report.

--Michael
by michael_borland
06 May 2025, 23:46
Forum: Bugs
Topic: rf_setup is broken in 2025.1
Replies: 4
Views: 1707

Re: rf_setup is broken in 2025.1

Mikhail,

The problem is caused by dipole magnet called R.MB12, which has ANGLE=0. I'm not sure why it is a problem now and not in the previous version, but I'll find a solution now that I can see it.

--Michael
by michael_borland
05 May 2025, 16:32
Forum: Bugs
Topic: rf_setup is broken in 2025.1
Replies: 4
Views: 1707

Re: rf_setup is broken in 2025.1

Mikhail,

I'm not able to confirm this problem on linux or windows. Can you upload files that cause the problem?

Thanks--Michael
by michael_borland
28 Apr 2025, 19:03
Forum: Optimization and Matching
Topic: Multi-objective direct optimization of DA and MA
Replies: 9
Views: 4572

Re: Multi-objective direct optimization of DA and MA

Monika, I don't understand why it isn't submitting more jobs. Can you verify that you have a set of files with extension .proc? Also, can you upload the input file you use with geneticOptimizer? I'm looking for the MOGA example files. They used to be on our web page but I don't see them now. --Michael
by michael_borland
28 Apr 2025, 18:46
Forum: Ring Tracking
Topic: Calculation of Sliced Beam Parameters
Replies: 2
Views: 2916

Re: Calculation of Sliced Beam Parameters

Tiansk, When performing slice-based IBS, elegant calculates an equivalent rms bunch length that can be inserted into the IBS growth rate equations, which are expressed in terms of the rms bunch length. The IBS rate is proportional to the integral of the longitudinal particle density rho(s) squared (...
by michael_borland
24 Apr 2025, 14:50
Forum: Optimization and Matching
Topic: Multi-objective direct optimization of DA and MA
Replies: 9
Views: 4572

Re: Multi-objective direct optimization of DA and MA

You should see several additional files created by the geneticOptimizer script with names matching optim1.*. In particular, look for optim1.sort, which will have summary data for all runs that has been sorted. There will be a column Rank that gives the ranks from the non-dominated sort. The geneticO...
by michael_borland
22 Apr 2025, 16:32
Forum: General
Topic: Ring Injection/Extraction centroid/floor coordinates calculation
Replies: 3
Views: 5177

Re: Ring Injection/Extraction centroid/floor coordinates calculation

Nick, For injection modeling, what I typically do is to model the septum as a bending magnet, taking it to be the last element in the transport line. I then have a MALIGN element that offsets the beam centroids to put things into the ring coordinate system. This allows tracking the injected beam wit...
by michael_borland
16 Apr 2025, 15:13
Forum: Bugs
Topic: Possible bug in IBSCATTER writing output
Replies: 4
Views: 5405

Re: Possible bug in IBSCATTER writing output

Phia, For a single-step run, the individual files will be for specific s locations of the IBSCATTER element. Each file will have NSLICES pages. Within each page, you'll find data for the end of each element between this IBSCATTER element and that last. How you combine the files depends on how you wa...
by michael_borland
16 Apr 2025, 11:18
Forum: Bugs
Topic: K1 in SBEN and CSBEND is ignored if ANGLE=0
Replies: 3
Views: 2159

Re: K1 in SBEN and CSBEND is ignored if ANGLE=0

Mikhail,

You are correct that there is a bug when the angle is very small. If you build from source, the attached files contain the fix. Otherwise, the fix will appear in the next version.

Thanks for reporting this bug.

--Michael