Some matching commands suggestion [SOLVED]
Some matching commands suggestion
Dear Didier,
I'm wondering if it is possible to add some commands about beam parameters' matching:
1. Boundary limit about command "MATCH_FAM_GRAD".
2. "SET_SIZE_MAX" is a quite useful command in beam transport line design. If "DIAG_SIZE_MAX" is added, it would be much more convenient.
3. "DIAG_WAIST" and "DIAG_SET_MATRIX" are important, did you consider "SET_WAIST" and "SET_MATRIX" commands?
Kinds,
shliu
I'm wondering if it is possible to add some commands about beam parameters' matching:
1. Boundary limit about command "MATCH_FAM_GRAD".
2. "SET_SIZE_MAX" is a quite useful command in beam transport line design. If "DIAG_SIZE_MAX" is added, it would be much more convenient.
3. "DIAG_WAIST" and "DIAG_SET_MATRIX" are important, did you consider "SET_WAIST" and "SET_MATRIX" commands?
Kinds,
shliu
Re: Some matching commands suggestion
Dear Shliu,
The ADJUST/DIAG_XXX couple is much more powerful in terms of possibilities and in my mind will completely replace the system linked to the MATCH_XX commands and besides when I look at your requests finally almost everything is covered by the diags (WAITS, MATRIX, boundary limits), except SET_SIZE_MAX. This latter is for the moment however outside the limits of the diag logic.
In summary, the existing MATCH_XXX commands are maintained for compatibility but are not intended to be expanded in future versions of the code.
Regards,
Didier
The ADJUST/DIAG_XXX couple is much more powerful in terms of possibilities and in my mind will completely replace the system linked to the MATCH_XX commands and besides when I look at your requests finally almost everything is covered by the diags (WAITS, MATRIX, boundary limits), except SET_SIZE_MAX. This latter is for the moment however outside the limits of the diag logic.
In summary, the existing MATCH_XXX commands are maintained for compatibility but are not intended to be expanded in future versions of the code.
Regards,
Didier
Re: Some matching commands suggestion
Dear Didier,
Thanks for the reply.
In beam transport line design, generally, more than one type of beam parameters should be considered, including bean size, achromat, twiss parameters, phase advance, matrix elements, etc., so "DIAG_SIZE_MAX" is important to me. Is it possible to add that?
Kinds,
shliu
Thanks for the reply.
In beam transport line design, generally, more than one type of beam parameters should be considered, including bean size, achromat, twiss parameters, phase advance, matrix elements, etc., so "DIAG_SIZE_MAX" is important to me. Is it possible to add that?
Kinds,
shliu
Re: Some matching commands suggestion
Dear Shliu,
I added new DIAG named DIAG_SIZE_MAX, very similar to what is been done in MATCH_FAM_XX process.
Please, have a look on manual for detail
Regards,
Didier
I added new DIAG named DIAG_SIZE_MAX, very similar to what is been done in MATCH_FAM_XX process.
Please, have a look on manual for detail
Regards,
Didier
Re: Some matching commands suggestion
I noticed the upgradation. Thank you very much!
Re: Some matching commands suggestion
Dear Didier,
Seems it doesn't work correctly. Could you help to check it?
Attached the project file.
Kinds,
shliu
Seems it doesn't work correctly. Could you help to check it?
Attached the project file.
Kinds,
shliu
Re: Some matching commands suggestion
Something wrong with the attachment. I just put the code here:
DRIFT 0 50
DRIFT 0 50
DRIFT 0 50
DRIFT 1000 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 300 -15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 1000 50
DRIFT 5000 50
DRIFT 1000 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 300 -15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 1000 50
DIAG_SIZE_MAX 1001 16 5 5
END
DRIFT 0 50
DRIFT 0 50
DRIFT 0 50
DRIFT 1000 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 300 -15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 1000 50
DRIFT 5000 50
DRIFT 1000 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 300 -15 50 0 0 0 0 0 0
DRIFT 100 50
ADJUST 1001 2 0 -18 18
QUAD 200 15 50 0 0 0 0 0 0
DRIFT 1000 50
DIAG_SIZE_MAX 1001 16 5 5
END
Re: Some matching commands suggestion
Dear Shliu,
I fixed the problem and also changed the calculation of the criterion which was really not adapted.
Regards,
Didier
I fixed the problem and also changed the calculation of the criterion which was really not adapted.
Regards,
Didier
Re: Some matching commands suggestion
Hi Didior,
How about the command "DIAG_PHASE_ADVANCE"?
Regards,
shliu
How about the command "DIAG_PHASE_ADVANCE"?
Regards,
shliu
Re: Some matching commands suggestion
Dear Shliu,
Ok no problem, DIAG_PHASE_ADV added in last version (see manual for details)
Regards,
Didier
Ok no problem, DIAG_PHASE_ADV added in last version (see manual for details)
Regards,
Didier