-
Notifications
You must be signed in to change notification settings - Fork 3
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
combine coils #525
base: master
Are you sure you want to change the base?
combine coils #525
Conversation
torrin's pf_active file
"identifier": "VS3U" | ||
"identifier": "VS3U", | ||
"name": "Upper Vertical Stabilization Coil (VSU)", | ||
"resistance": 0.0057 | ||
}, | ||
{ | ||
"name": "Lower Vertical Stabilization Coil (VSL)", | ||
"current_limit_max": [ | ||
[ | ||
10000.0 | ||
] | ||
], | ||
"element": [ | ||
{ | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0, | ||
"geometry": { | ||
"annulus": { | ||
"radius_outer": 0.023, | ||
"r": 7.5505580644830905, | ||
"z": -2.500017876541186, | ||
"radius_inner": 0.01695 | ||
"radius_inner": 0.01695, | ||
"radius_outer": 0.023, | ||
"z": -2.500017876541186 | ||
}, | ||
"geometry_type": 5 | ||
}, | ||
"identifier": "VS3L1" | ||
"identifier": "VS3L1", | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0 | ||
}, | ||
{ | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0, | ||
"geometry": { | ||
"annulus": { | ||
"radius_outer": 0.023, | ||
"r": 7.496332809419729, | ||
"z": -2.541098411866157, | ||
"radius_inner": 0.01695 | ||
"radius_inner": 0.01695, | ||
"radius_outer": 0.023, | ||
"z": -2.541098411866157 | ||
}, | ||
"geometry_type": 5 | ||
}, | ||
"identifier": "VS3L2" | ||
"identifier": "VS3L2", | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0 | ||
}, | ||
{ | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0, | ||
"geometry": { | ||
"annulus": { | ||
"radius_outer": 0.023, | ||
"r": 7.511397459955538, | ||
"z": -2.4493172573717077, | ||
"radius_inner": 0.01695 | ||
"radius_inner": 0.01695, | ||
"radius_outer": 0.023, | ||
"z": -2.4493172573717077 | ||
}, | ||
"geometry_type": 5 | ||
}, | ||
"identifier": "VS3L3" | ||
"identifier": "VS3L3", | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0 | ||
}, | ||
{ | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0, | ||
"geometry": { | ||
"annulus": { | ||
"radius_outer": 0.023, | ||
"r": 7.456657713145448, | ||
"z": -2.490061122639074, | ||
"radius_inner": 0.01695 | ||
"radius_inner": 0.01695, | ||
"radius_outer": 0.023, | ||
"z": -2.490061122639074 | ||
}, | ||
"geometry_type": 5 | ||
}, | ||
"identifier": "VS3L4" | ||
"identifier": "VS3L4", | ||
"name": "SSMIC Conductor - OFE Copper", | ||
"turns_with_sign": 1.0 | ||
} | ||
], | ||
"resistance": 0.00791, | ||
"identifier": "VS3L" | ||
"identifier": "VS3L", | ||
"name": "Lower Vertical Stabilization Coil (VSL)", | ||
"resistance": 0.00791 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FUSE is probably better off without having the vertical stabilization coils in there by default since they shouldn't be used for shaping, but maybe you want to keep them for other applications?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orso82 can you tag these vertical stabilization coils as :stability coil instead of :shaping ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, right now FUSE can automatically differentiate and tags coils that are used for :shaping and/or :flux. We need to think of a way to automatically tag vertical stability coils... perhaps the combination of being small, of :annulus geometry, and with few turns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The annulus type is probably particular to how ITER describes these and not universal for VS coils. A small number of turns could be a better way to distinguish them, but may not be universal either. A combination of that and the distance to the plasma (or center of the vessel) on the outboard side could be that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think trying to tag that automatically will be tough. DIII-D, for example, uses the same coils for shaping and stability. You probably just want them user-specified and you have a separate actor that operates on the vertical-stability coils.
@torrinba can you please explain what has changed with this Looking at the diff https://github.com/ProjectTorreyPines/FUSE.jl/pull/525/files I see a whole bunch of fields being deleted. |
The primary change here is to link the middle CS coils (CS1U and CS1L, now separate elements in CS1). This is not part of ITER's MD, but was communicated to us by @anandhimank as the way the coils will be installed Since that changes the number and names of |
Rather than hacking this in, we should support how IMAS defines the power-supply of the coils. This will be important for replicating DIII-D results, where the patch-panel links currents in different coils. Thoughts? |
For sure, if there is a more correct solution for how the coils are controlled either with the I don't think any of that is setup for DIII-D with the omas machine mappings though so further work would be required there as well |
@torrinba the way I understand it, Bringing in @bclyons12 into the conversation. |
The latest ITER MD, defines 14 coils, 8 circuits, and 14 supplies in the pf_active IDS. So I'm not sure that works out as simply as we're hoping, but you're probably correct it should be used to control the coils. Hopefully someone can figure that out or explain it to us Here's the HDF5 ODS version directly from ITER: (only zipped to allow the GitHub upload) |
ping @anandhimank |
The DINA scenario given to me from the ITER PCS group assume the following: Total of 14 coils named, 'CS3U', 'CS2U','CS1U', 'CS1L', 'CS2L', 'CS3L', 'PF1 ', 'PF2 ', 'PF3 ', 'PF4 ', 'PF5 ', 'PF6 ', 'VS3U', 'VS3L' with the circuit connections as follows: [1 2 3 3 4 5 6 7 8 9 10 11 -12 12], meaning 'CS1U', 'CS1L', are in series and 'VS3U', 'VS3L' are in anti-series. I am also attaching the data file, you may want to take a look at the CS/PF coil currents and Voltages for more details in the excel file |
@bclyons12 we now give a list of I see three ways forward.
|
I think 2 or 3 makes the most sense. Either we work with the dd directly and parse the information from there (as we already do for coils with elements) or we make a new |
I am reluctant to merge this PR, since I don't think combining coils in the data structure is the right way to go. As we think about how to best implement the circuits logic in VacuumFields, I'd suggest that this hack is done when the |
torrin's pf_active file
example run: