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

ShapedCoil fix: Multiply control response by turns #75

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

bendudson
Copy link
Collaborator

The toroidal current is coil.current * coil.turns but the turns variable was not used in the calculation of the flux or field components.

This change should bring ShapedCoil in line with other coils in their behaviour.

Fixes #74

The toroidal current is `coil.current * coil.turns`
but the `turns` variable was not used in the calculation
of the flux or field components.

This change should bring `ShapedCoil` in line with other coils
in their behaviour.
@bendudson bendudson merged commit 83b82af into master Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

machine.controlAdjust does not properly update currents of multi-turn coils
1 participant