Page 1 of 1
Match using Diagnostics with Partran
Posted: Sat 29 Apr 2023 04:51
by wtam
Dear Didier,
I would like to request the functionality to Match using Diagnostics With Partran ONLY for part of the diagnostics in the beam line. I run into cases where for some diagnostics (e.g. phase space) is meaningless without Partran, while other diagnostics (e.g. beam trajectories) is reasonably good with matching with envelope only. Enabling Matching with Partran makes the simulation prohibitively slow.
Best regards,
Wai-Ming
Re: Match using Diagnostics with Partran
Posted: Sat 29 Apr 2023 14:51
by Didier
Dear Wai-Ming,
I can only offer you a general solution that cannot be individualized to each matching.
Set the number of iterations to 0 in "Diagnoctic optimization (3)" -> "First step without error" -> "Envelope"
Regards,
Didier
Re: Match using Diagnostics with Partran
Posted: Tue 2 May 2023 22:09
by wtam
Dear Didier,
I do not understand your suggestion. Can you illustrate it in the attached example? Please show if I can optimize diag_size with envelope only, and optimize diag_energy with Partran.
Best regards,
Wai-Ming
Re: Match using Diagnostics with Partran
Posted: Tue 2 May 2023 22:14
by wtam
Please use the example project in this attachment.
The example project from the previous message was wrong.
Re: Match using Diagnostics with Partran
Posted: Wed 3 May 2023 10:12
by Didier
Dear Wai-ming,
Sorry if I wasn't very clear, below is the procedure to achieve what you are asking for:
First step, I set all optimization numbers of step to 0 and I start a run
- step1.png (50.58 KiB) Viewed 6891 times
You can see, in the result file the envelope and partran matching results but which does not modify the initial values becasue all step are set to 0
- step2.png (36.33 KiB) Viewed 6891 times
Second step, I comment or delete the lines in the result file of what I want to redo.
- step3.png (40.32 KiB) Viewed 6891 times
last step, I reset the number of calculation steps to 1000 per Example and start a new run
- step4.png (49.21 KiB) Viewed 6891 times
I hope that it is clearer, if not, do not hesitate to come back here.
Regards,
Didier