Hi Colleagues,
When I use "lattice" and "set_adv" to "calculate input matched beam", can I set constraints to the resulting twiss parameters? For example, if I want the resulting input beam to be a round beam.
Best regards,
Wai-Ming
Search found 104 matches
- Mon 21 Nov 2022 15:44
- Forum: TraceWin
- Topic: LATTICE and CALCULATE INPUT MATCHED BEAM [SOLVED]
- Replies: 7
- Views: 3395
- Mon 13 Jun 2022 19:29
- Forum: TraceWin
- Topic: Batch mode overhead time
- Replies: 2
- Views: 1252
Batch mode overhead time
Dear colleagues, I am trying to run TraceWin with a wrapper (e.g. Matlab) for batch mode simulations or optimization. I found that overhead time for launching and closing TraceWin is quite long, even for the noGUI version. Is it your experience and what do you do to reduce the overhead time? Best re...
- Tue 19 Apr 2022 15:00
- Forum: TraceWin
- Topic: Optimization with Partran
- Replies: 3
- Views: 1557
Optimization with Partran
Dear Didier, When I run Diagnostic optimization with Partran, the following error returned. Is it a known issue? Cannot open : C:/Users/.../.../result/PAR_diag1.dat (Permission denied) From->[DIAGNOSTIC] : Criterion diagnostic reading Criteria setting From->[DIAGNOSTIC] : Criteria calculation From->...
- Thu 24 Feb 2022 16:27
- Forum: TraceWin
- Topic: SHIFT_IN_FIELD_MAP for other elements
- Replies: 1
- Views: 1064
SHIFT_IN_FIELD_MAP for other elements
Dear Didier,
Is there a command to shift diagnostics in, for example, a quadrupole? ... similar to SHIFT_IN_FIELD_MAP.
Best regards,
Wai-Ming
Is there a command to shift diagnostics in, for example, a quadrupole? ... similar to SHIFT_IN_FIELD_MAP.
Best regards,
Wai-Ming
- Tue 8 Feb 2022 15:35
- Forum: TraceWin
- Topic: Matching with family
- Replies: 5
- Views: 1638
Re: Matching with family
Dear Didier,
Thank you for your comments. It is very useful.
I encourage you to teach a TraceWin based modeling course in USPAS or other accelerator schools. I am sure all of us will love it
Best regards,
Wai-Ming
Thank you for your comments. It is very useful.
I encourage you to teach a TraceWin based modeling course in USPAS or other accelerator schools. I am sure all of us will love it
Best regards,
Wai-Ming
- Tue 8 Feb 2022 07:52
- Forum: TraceWin
- Topic: Matching with family
- Replies: 5
- Views: 1638
Re: Matching with family
Dear Didier, You gave me similar advice a long time ago when I inquired about the differences between set+match versus adjust+diag. Since then I focused on using adjust+diag until recently I revisited some examples on the manual and realized that set+match has unique capabilities such as set_size_ma...
- Sun 6 Feb 2022 21:01
- Forum: TraceWin
- Topic: Matching using set_size and phase
- Replies: 1
- Views: 1077
Matching using set_size and phase
Hello colleagues,
The code below returned error. Why can't I use the RF phase to optimize for beam size?
DRIFT 0 100
drift 10 10
drift 10 10
match_fam_phase 1
gap 1e6 30 10 0
drift 10 10
drift 10 10
set_size 1 2 2
drift 10 10
drift 10 10
END
Best regards,
Wai-Ming
The code below returned error. Why can't I use the RF phase to optimize for beam size?
DRIFT 0 100
drift 10 10
drift 10 10
match_fam_phase 1
gap 1e6 30 10 0
drift 10 10
drift 10 10
set_size 1 2 2
drift 10 10
drift 10 10
END
Best regards,
Wai-Ming
- Sun 6 Feb 2022 20:45
- Forum: TraceWin
- Topic: Matching with family
- Replies: 5
- Views: 1638
Matching with family
Hi Colleagues, I have two questions: First question: There are two pieces of related comments in the TraceWin user's manual, quoted below. It seems to me that if I want to use match_fam_grad, there must be a command "set_twiss fn" in the code. But I have tried, it is not true. I can use match_fam_gr...
- Wed 1 Dec 2021 05:27
- Forum: TraceWin
- Topic: Reading dst and plt files
- Replies: 8
- Views: 3068
Reading dst and plt files
Dear Didier,
Would you mind sharing any scripts that read .dst and .plt binary files, as described on p.38 of the user's manual?
Best regards,
Wai-Ming
Would you mind sharing any scripts that read .dst and .plt binary files, as described on p.38 of the user's manual?
Best regards,
Wai-Ming
- Fri 12 Nov 2021 16:08
- Forum: TraceWin
- Topic: CW beam and phase
- Replies: 3
- Views: 1386
Re: CW beam and phase
Dear Didier, Please see screenshot. Is this what you are referring to? What I wanted to do is to model a CW beam through an RF gap and optimize certain parameters of the RF gap with Envelope and not Partran. It is because it takes very long time to optimize with Partran. The problem that I run into ...