DESC icon indicating copy to clipboard operation
DESC copied to clipboard

Example of `FixSumCoilCurrents` that explains using it for symmetry/NFP symmetry for fixing net poloidal current to match equilibrium's

Open dpanici opened this issue 1 year ago • 1 comments
trafficstars

FixSumCoilCurrents will only fix the sum of the currents of the coils that have unique params in the coilset. An intended use for this objective is to fix currents in coils to sum to the amount 2*pi *G/mu_0 dictated by the equilibrium and Ampere's law #1111 . However for a CoilSet with say NFP symmetry, this objective will only be summing up over a single field period, and so it will have to sum to 2*pi *G/mu_0 / NFP instead. If the coilset has stellarator symmetry as well, it should target 2*pi *G/mu_0 / NFP/ 2

This does not really need to be in the docstring but maybe in a future update to the coil tutorial we could use this for one of the constraints

dpanici avatar Jul 18 '24 16:07 dpanici

Put in docstring of FixSumCoilCurrents

dpanici avatar Aug 13 '24 19:08 dpanici