Page 1 of 1

Integral minimization

Posted: 09 Apr 2013, 03:41
by dpe
Hello,

I would like to minimize the integral of Beta/Energy along a linac. Is there a smart way to do this, let's say without putting a MARK at every quad?

Many thanks.

Re: Integral minimization

Posted: 15 Apr 2013, 09:30
by michael_borland
Putting a marker after each quad is the way to go.

It's relatively easy if you use the &insert_elements command to insert the markers.You can also use the template feature of &optimization_term to make it easy to create the optimization penalty function.

--Michael