Page 1 of 1

use of betaxMax in optimisation

Posted: 18 Mar 2018, 22:16
by marlibgin
Dear all
I am trying to use betax,yMax(Min) as part of an optimisation term
&optimization_term term = "betaxMax 0.7 0.01 segt 1e3 *" &end

however, it does not seem to recognise betaxMax (term that can be seen, e.g. in the relevant Twiss parameter file).

unknown token: betaxMax
error: too few values on stack (popn)
Problem evaluating expression: betaxMax 0.7 0.001 segt 1e3 *
RPN expression errors prevent optimization

Is the max beta value usable? under a different name maybe?
Thanks

Marco

Re: use of betaxMax in optimisation

Posted: 19 Mar 2018, 14:47
by michael_borland
Marco,

You should use "max.betax", etc., not "betaxMax". See the entry for the equation parameter on the manual page for optimization_setup for more.

--Michael