Integral minimization

Moderators: cyao, michael_borland

Post Reply
dpe
Posts: 29
Joined: 21 Mar 2012, 05:35

Integral minimization

Post by dpe » 09 Apr 2013, 03:41

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.

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

Re: Integral minimization

Post by michael_borland » 15 Apr 2013, 09:30

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

Post Reply