Search found 1942 matches
- 15 Feb 2024, 18:03
- Forum: Linac Tracking
- Topic: issue tracking with PELEGANT
- Replies: 6
- Views: 4521
Re: issue tracking with PELEGANT
Philippe, This command ~borland/improv/beta/Pelegant_2023.4 tracktest.ele > pElegantMichael.output looks wrong. Are you using mpiexec to invoke Pelegant? E.g., to run with 8 cores you'd use mpiexec -np 8 Pelegant ... It shouldn't be possible to run it any other way, but it is behaving as if it is us...
- 15 Feb 2024, 17:38
- Forum: Bugs
- Topic: A bug in &save_lattice?
- Replies: 2
- Views: 3568
Re: A bug in &save_lattice?
The problem is a typo in the definition of the quadrupoles. You have a spurious quotation mark at the end of the lines containing FSE values. This confuses the parser and it ignores the rest of the element definition.
--Michael
--Michael
- 09 Feb 2024, 11:41
- Forum: Linac Tracking
- Topic: issue tracking with PELEGANT
- Replies: 6
- Views: 4521
Re: issue tracking with PELEGANT
Philippe, That is very weird. I don't see a problem with either the serial or the parallel version. I tried it on my linux workstation and Improv, with the latest source and version 2023.4. Are you using Improv? If so, check that you have the right modules loaded: $ module list Currently Loaded Modu...
- 25 Jan 2024, 17:17
- Forum: Linac Tracking
- Topic: Beamline is unstable when matched=1 is set in twiss_output
- Replies: 3
- Views: 3372
Re: Beamline is unstable when matched=1 is set in twiss_output
Wei Hou,
The basic problem is that a stable periodic solution will not always exist for arbitrary values of the cell parameters. You can set the quadrupole K1 values to something quite small (e.g., |K1|=0.001) to make it less likely that the initial conditions are unstable.
--Michael
The basic problem is that a stable periodic solution will not always exist for arbitrary values of the cell parameters. You can set the quadrupole K1 values to something quite small (e.g., |K1|=0.001) to make it less likely that the initial conditions are unstable.
--Michael
- 25 Jan 2024, 15:30
- Forum: Linac Tracking
- Topic: Beamline is unstable when matched=1 is set in twiss_output
- Replies: 3
- Views: 3372
Re: Beamline is unstable when matched=1 is set in twiss_output
You can include the drift length as a variable in the optimization and then add an optimization term to make it equal the desired value.
See attached file.
--Michael
See attached file.
--Michael
- 25 Jan 2024, 11:19
- Forum: General
- Topic: Usage of computeRBGGE
- Replies: 2
- Views: 3745
Re: Usage of computeRBGGE
Alex, Something is not right in construction of the magnet field map file. For example, if I plot By(x=0,y=0,z) using $ sddsplot -col=z,By magmnew.sdds -filter=col,y,-1e-6,1e-6 -filter=col,x,-1e-6,1e-6 -graph=sym I get plot-x0-y0.png Also, if try to plot By(x,y) as a function of z using $ sddssort m...
- 25 Jan 2024, 11:05
- Forum: General
- Topic: ADTS calculation
- Replies: 2
- Views: 3890
Re: ADTS calculation
As the manual states: "this command is deprecated, because it is too difficult to tune it to get reliable answers. The use of driving term computation in twiss_output is recommended instead, even though it doesn’t include all possibly relevant effects. For tune-spread calculations, the tune_footprin...
- 25 Jan 2024, 10:20
- Forum: General
- Topic: field mapping by BMAPXY
- Replies: 7
- Views: 5015
Re: field mapping by BMAPXY
I converted small2.csv to SDDS. The range of data is quite small (+/-0.01mm), so there's hardly any room for the beam to move. Also, the grid is only 5x5, so the interpolation may not work well. Your data needs to cover the range of motion of the beam and have sufficient points in each dimension, e....
- 25 Jan 2024, 10:07
- Forum: Bugs
- Topic: Possible bug in vary_element
- Replies: 2
- Views: 5668
Re: Possible bug in vary_element
The problem is that you've specified 19 indices (a 19-dimensional scan!) but only one vary_element command. You need at least one vary_element command per index. For example, &run_control n_indices = 2 &end &vary_element index_number=0, index_limit=11, ... &end &vary_element index_number=1, index_li...
- 19 Dec 2023, 19:42
- Forum: Ring Tracking
- Topic: Problems about RFCA/RFCW element
- Replies: 1
- Views: 3407
Re: Problems about RFCA/RFCW element
Can you post an example to help me understand what you are trying?
--Michael
--Michael