Make Linear Objective to Constrain Sum of Coil Currents #1111
Labels
coil
stuff relating to coils and coil optimization
low priority
Nice to have, but not needed right away
objectives
Adding or improving objective functions
Instead of using
ToroidalFlux
or fixing a single coil current to avoid the trivial solution of zero current in a stage two vacuum coil optimization, you can also calculate the line integral of the covariant zeta component of the field, which is related to the sum of coil currents through an amperean loop asWhere$N_i^{poloidal~transits}$ is the number of poloidal transits a coil makes (this is one for modular coils and equal to the winding number for helical coils). This constraint and a good quadratic flux optimization ensures the coils exactly create the correct magnetic field magnitude. Of course this is not strictly needed for vacuum optimization but is a 3rd way of avoiding the trivial solution
The text was updated successfully, but these errors were encountered: