Subject | : Re: correlated FIT |
Date | : 2014/10/23(Thu) 16:07:46 |
Contributor | : Whitespace |
> 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"], ...}