Search found 12 matches

by Spainpedro
Tue 2 Dec 2025 10:08
Forum: TraceWin
Topic: Steerer statistics
Replies: 3
Views: 91

Re: Steerer statistics

Dear Didier I am using the latest version of Tracewin (2.25.2.7). The problem I am experiencing is when I try to plot the steerers values in an error study. I am attaching a screenshot where you can see that when I select the two-curve representation of the Blx and BLy values, only one curve is plot...
by Spainpedro
Mon 1 Dec 2025 12:55
Forum: TraceWin
Topic: Steerer statistics
Replies: 3
Views: 91

Steerer statistics

I am getting unexpected results when trying to obtain the statistics of an error study with sterrers. I have the file Steerer_Values_Tot_1_1.0000_PAR.txt (attached), but when I try to plot both curves for Bx-By, only one of them is represented, and if I try to plot the distribution of By, I get an e...
by Spainpedro
Wed 9 Apr 2025 15:34
Forum: TraceWin
Topic: Longitudinal shift in error study
Replies: 1
Views: 1299

Longitudinal shift in error study

I have tried to run a positioning error study for a triplet of quadrupoles. According to the manual, a longitudinal shift can be introduced. However, the results do not seem to be taking this into account. Also, the Error_Datas opoutput files does not include that longitudinal shift: QUAD_ERROR δx(m...
by Spainpedro
Fri 7 Mar 2025 10:28
Forum: TraceWin
Topic: Chopper optimization
Replies: 1
Views: 1050

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?
by Spainpedro
Thu 27 Feb 2025 14:49
Forum: TraceWin
Topic: Diagnostic information
Replies: 3
Views: 1357

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 ...
by Spainpedro
Thu 27 Feb 2025 11:25
Forum: TraceWin
Topic: Diagnostic information
Replies: 3
Views: 1357

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...
by Spainpedro
Fri 7 Feb 2025 14:53
Forum: TraceWin
Topic: Loss file [SOLVED]
Replies: 2
Views: 1750

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...
by Spainpedro
Fri 15 Nov 2024 09:22
Forum: TraceWin
Topic: Beam acceptance
Replies: 3
Views: 2450

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...
by Spainpedro
Thu 14 Nov 2024 16:45
Forum: TraceWin
Topic: Beam acceptance
Replies: 3
Views: 2450

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...
by Spainpedro
Fri 4 Oct 2024 14:44
Forum: TraceWin
Topic: Second beam mass [SOLVED]
Replies: 3
Views: 8792

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...