use of betaxMax in optimisation

Moderators: cyao, michael_borland

Post Reply
marlibgin
Posts: 54
Joined: 15 Mar 2011, 12:43

use of betaxMax in optimisation

Post by marlibgin » 18 Mar 2018, 22:16

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

michael_borland
Posts: 1959
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: use of betaxMax in optimisation

Post by michael_borland » 19 Mar 2018, 14:47

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

Post Reply