Search found 7 matches

by sajaev
25 Mar 2024, 21:39
Forum: Optimization and Matching
Topic: Finding quadrupole gradients by using LOCO
Replies: 1
Views: 5577

Re: Finding quadrupole gradients by using LOCO

Dear Elham,

Please tell what exactly you do and what results/errors you get. We will get through this together.

Thanks, Vadim
by sajaev
14 Sep 2023, 12:39
Forum: Optimization and Matching
Topic: Beta Beating Correction in presence of errors
Replies: 7
Views: 13595

Re: Beta Beating Correction in presence of errors

Sara, you made a mistake in adding new elements to the element list. You modified makeElementListFile like this: lappend quadList QD1_${i}L#1 QF1_${i}L#1 QD2_${i}L#1 QF2_${i}L#1 lappend quadList QF2_${i}R#1 QD2_${i}R#1 QF1_${i}R#1 QD1_${i}R#1 lappend quadList bqf4_${i}L bqf3_${i}L bqf2_${i}L bqf1_${...
by sajaev
06 Mar 2023, 21:43
Forum: Optimization and Matching
Topic: Matching twiss function in lattice with superbends
Replies: 7
Views: 9469

Re: Matching twiss function in lattice with superbends

Hi Sara, My first guess would be that after you updated ubuntu, something changed regarding parallel submission of jobs calculating the beta function derivative. So to test it, change one option in the calculateTwissCorrection command: from "-useDQS 1" to "-useDQS 0". It would take longer to complet...
by sajaev
21 Oct 2022, 15:07
Forum: Optimization and Matching
Topic: Matching twiss function in lattice with superbends
Replies: 7
Views: 9469

Re: Matching twiss function in lattice with superbends

Sara, The correction program uses tag names for all elements. The tag names are built as <element-name>#<element-occurence>. For example, BQF1#3 is the third occurrence of BQF1 in the beamline. Your present lappend command adds SBB1A#4, SBB1A#8, and SBB1A#12 (and same for SBB1B). But there are only ...
by sajaev
19 Oct 2022, 21:42
Forum: Optimization and Matching
Topic: Matching twiss function in lattice with superbends
Replies: 7
Views: 9469

Re: Matching twiss function in lattice with superbends

Sara, First of all, you are correct -- the twiss correction program can be used for superbend lattice correction. To do that, you need to understand a few details, which I give below. The program calculateTwissCorrection requires many options. All those options are specified in the runCorrection scr...
by sajaev
06 Jul 2022, 09:37
Forum: Optimization and Matching
Topic: Beta Beating Correction in presence of errors
Replies: 7
Views: 13595

Re: Beta Beating Correction in presence of errors

Dear Sara, We do not use Elegant itself for beta beating correction. We use an external script that works much like orbit correction. First, it calculates beta function response matrix with respect to quadrupoles. The beta function response matrix is constructed this way: every column is a change du...
by sajaev
16 Sep 2019, 10:00
Forum: General
Topic: Response Matrix Fit using elegant and sdds is available
Replies: 0
Views: 9016

Response Matrix Fit using elegant and sdds is available

A response matrix fitting program (similar to LOCO) that is using elegant and SDDS tools is available for download on the AOP software webpage https://www.aps.anl.gov/Accelerator-Operations-Physics/Software The installation package consists of several tcl programs, tcl/tk GUI, examples, and instruct...