[Go to BBS]
All articles in a thread
Subjectcorrelated FIT
Article No1349
Date: 2014/10/23(Thu) 15:47:53
ContributorDmitry Shwartz
How can I use FIT procedure with interconnected elements? For example, i want to variate doublet of quads with opposite polarity (or just different aperture or different coils) but with single power supply. I didn't found in help and examples possibility to FREE elements with correlation preserved.

SubjectRe: correlated FIT
Article No1351
Date: 2014/10/23(Thu) 16:07:46
ContributorWhitespace
> How can I use FIT procedure with interconnected elements? For example, i want to variate doublet of quads with opposite polarity (or just different aperture or different coils) but with single power supply. I didn't found in help and examples possibility to FREE elements with correlation preserved.
>
Solution:
A. Define correlation among elements
A-1. COUPLE command
ex). COUP Q1 Q2 -1;
A-2. ElementValues global variable
ex). ElementValues := {"K1"["Q2"]:>="K1"["Q1"], ...}
B. Define correlation as binding condition
B-1. FitFunction global variable
ex). FitFunction := {Element["K1", "Q1"] + Element["K1", "Q2"], ...}

SubjectRe^2: correlated FIT
Article No1360
Date: 2014/10/23(Thu) 18:26:42
ContributorDmitry Shwartz
thank you for immediate and exhaustive answer (: