Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dpanici opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels
documentation Add documentation or better warnings etc. easy Short and simple to code or review P2 Medium Priority, not urgent but should be on the near-term agend

Comments

@dpanici
Copy link
Collaborator

dpanici commented Jul 18, 2024

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 dpanici self-assigned this Jul 18, 2024
@dpanici
Copy link
Collaborator Author

dpanici commented Aug 13, 2024

Put in docstring of FixSumCoilCurrents

@dpanici dpanici added easy Short and simple to code or review documentation Add documentation or better warnings etc. labels Aug 13, 2024
@dpanici dpanici added the P2 Medium Priority, not urgent but should be on the near-term agend label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Add documentation or better warnings etc. easy Short and simple to code or review P2 Medium Priority, not urgent but should be on the near-term agend
Projects
None yet
Development

No branches or pull requests

1 participant