Search found 9 matches
- Fri 7 Mar 2025 10:28
- Forum: TraceWin
- Topic: Chopper optimization
- Replies: 1
- Views: 84
Chopper optimization
I would like to optimize a chopper, adjusting its voltage, length and/or aperture. The problem is that the ADJUST and DIAGNOSTIC commands do not work on the chopper element, and therefore their variation does not occur during the optimization. Would it be possible to implement this in the code?
- Thu 27 Feb 2025 14:49
- Forum: TraceWin
- Topic: Diagnostic information
- Replies: 3
- Views: 102
Re: Diagnostic information
Dear Didier The files I mention contain information regarding the parameters to be adjusted, for example the gradient of a quadrupole. But no information is stored about the beam parameter to be optimized, for example the maximum beam size at a given point, which is specified with the DIAG_SIZE_MAX ...
- Thu 27 Feb 2025 11:25
- Forum: TraceWin
- Topic: Diagnostic information
- Replies: 3
- Views: 102
Diagnostic information
The information displayed during the information process is not stored for all DIAGNOSTICS cases. For some of them, such as DIAG_SIZE, a chart is available afterwards, but not all diagnostics are generated. It would be nice if the last values of each diagnostic were stored in the file “last_best_opt...
Loss file [SOLVED]
I am trying to obtain the loss distribution in a linac composed only of drifts and two fieldmaps. Enabling in the multiparticle tab the recording of the losses, I get a Losses_PAR.dat file. However, this file contains many more lines than the particles in the simulation, so I don't understand what k...
- Fri 15 Nov 2024 09:22
- Forum: TraceWin
- Topic: Beam acceptance
- Replies: 3
- Views: 1452
Re: Beam acceptance
Thank you for your fast answer. I think I understood where the issue came from, thanks to your comment that the space-charge cannot be taken into account when calculating the acpetance. Indeed, when I eliminate the space-charge forces by setting the current to zero, the acceptance is calculated corr...
- Thu 14 Nov 2024 16:45
- Forum: TraceWin
- Topic: Beam acceptance
- Replies: 3
- Views: 1452
Beam acceptance
I'm having trouble calculating the beam acceptance of a beam along a cavity. From an initial distribution, I run the simulation and I get the output phase space, with which I calculate the acceptance with PlotWin from the method explained in the Manual (Acceptance calculation using TraceWin and Plot...
- Fri 4 Oct 2024 14:44
- Forum: TraceWin
- Topic: Second beam mass [SOLVED]
- Replies: 3
- Views: 4026
Re: Second beam mass [SOLVED]
Sorry because I think I made a mistake when launching the simulation and I had not loaded the distribution properly. Anyway, when I export the output beam from Chart->Output->Save (to txt) the mass that appears in the header corresponds to the mass of the main beam that is taken as reference. Theref...
- Fri 4 Oct 2024 12:21
- Forum: TraceWin
- Topic: Second beam mass [SOLVED]
- Replies: 3
- Views: 4026
Second beam mass [SOLVED]
When a second beam is defined, the mass shown in “Beam data” of the main tab is not well defined. Despite correctly defining the mass of the ions, the rest energy data in “Beam data” remains the same as for the main beam. This affects the results, since when the phase space is exported to ASCII file...
- Wed 11 Sep 2024 15:24
- Forum: TraceWin
- Topic: Energy beam of input beam [SOLVED]
- Replies: 1
- Views: 2421
Energy beam of input beam [SOLVED]
I noticed that when you modify the Kinetic Energy parameter in the 'Input Main beam parametrers' tab once you have imported all the beam parameters from an external file, the energy of all the particles changes to exactly the same value. In this way, if the input distribution had a certain energy di...