Page 1 of 1

Lost particles on phase

Posted: Wed 28 Jul 2021 13:16
by comunian
Dear Didier,
may you insert on TraceWin, as option, the possibilty to do a phase module on 180 deg on particles?
I.e. instead to be consider lost a particle outside +/- 180° re-insert the particle in the main bunch ?
Best Regards,
Michele comunian

Re: Lost particles on phase

Posted: Wed 28 Jul 2021 16:28
by Didier
Dear Michele,

A particle is not lost beyond 180°, except if you ask for it!

Regards,

Didier

Re: Lost particles on phase

Posted: Wed 28 Jul 2021 18:53
by comunian
Dear didier,
yes a particles is not lost after 180deg, but is far out the main bunch.
It is like a particles of the previous bunch "appear" on the main bunch.
If Tracewin follow only a single main bunch the longitudinal space charge calculation on the main bunch is alterated by the "far" particle (>180deg).
May you consider to do the module of the phase as on option?
Best Regards,
Michele Comunian

Re: Lost particles on phase

Posted: Thu 29 Jul 2021 09:26
by Didier
Dear Michele,

The phase module on 180 deg is already done, expecially during space-charge calculation. But this is just not visibled on displaying, so the question is why do you need that? For displaying, because you already can do that using beam distribution chart options.

Regards,

Didier

Re: Lost particles on phase

Posted: Thu 29 Jul 2021 10:07
by comunian
Dear Didier,
thank you for the information.
Yes, my problem is on particles display and longitudinal emittance calculation.
So, the phase module is done always, even without space charge, if I have understood you answer.
I will put this as a question: Is it the phase module done always in a run?
Now with the Partran energy and Phase limits is possible to exclude of consider lost a particle outside some limits on energy and phase.
May you consider adding another option to do the phase module?
In this way the emittance and density calculation are done for a higher number of particles.
And you can “keep” particles, from the display point of view, in the main bunch also when they are out of phase.
Best Regards,
Michele Comunian

Re: Lost particles on phase

Posted: Thu 29 Jul 2021 11:15
by Didier
Dear Michele,


The following picture shows a large phase beam distribution with and without 360° modulo. So, as I said before, your request is already there for the beam distribution display. Is this what you wanted?
And did you want the same thing for the density plots (second picture below) ?, right?
emit_PW.png
emit_PW.png (411.31 KiB) Viewed 3842 times
density.png
density.png (92.3 KiB) Viewed 3842 times

Regards,

Didier

Re: Lost particles on phase

Posted: Thu 29 Jul 2021 11:56
by comunian
Dear Didier,
thank you for the plot with 360° phase period.
May you put this options also on the density plot ?
Best Regards,
Michele Comunian

Re: Lost particles on phase

Posted: Mon 2 Aug 2021 15:23
by Didier
Dear Michele,

In the new TraceWin version, displaying of the phase density can be done modulo 360° (see options from « Mltiparticle » tab-sheet -> « Phase and energy limits).

Regards,

Didier