Match using Diagnostics with Partran

https://www.dacm-logiciels.fr/tracewin
Post Reply
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Match using Diagnostics with Partran

Post by United States of Americawtam »

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
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Match using Diagnostics with Partran

Post by FranceDidier »

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
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: Match using Diagnostics with Partran

Post by United States of Americawtam »

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
Attachments
Test_opti_Partran.zip
(4.74 KiB) Downloaded 317 times
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: Match using Diagnostics with Partran

Post by United States of Americawtam »

Please use the example project in this attachment.
The example project from the previous message was wrong.
Attachments
Test_opti_Partran.zip
(4.82 KiB) Downloaded 334 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Match using Diagnostics with Partran

Post by FranceDidier »

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
step1.png (50.58 KiB) Viewed 6890 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
step2.png (36.33 KiB) Viewed 6890 times
Second step, I comment or delete the lines in the result file of what I want to redo.
step3.png
step3.png (40.32 KiB) Viewed 6890 times
last step, I reset the number of calculation steps to 1000 per Example and start a new run
step4.png
step4.png (49.21 KiB) Viewed 6890 times
I hope that it is clearer, if not, do not hesitate to come back here.

Regards,

Didier
Post Reply