fusionsc.devices.w7x

W7-X parts and IPP site helpers

Functions

assemblies([ids, name])

assembly(id)

axisCurrent(field, current[, grid, ...])

Variant of fsc.flt.axisCurrent with more reasonable W7-X-tailored default values.

baffles([campaign])

cadCoils([convention])

Returns the coil pack for the standard W7-X CAD coils.

coilsDBCoil(id)

coilsDBConfig(id[, biotSavartSettings])

component(id)

components([ids, name])

computeMapping(field[, mappingPlanes, r, z, ...])

Variant of fsc.flt.computeMapping with more reasonable W7-X-tailored default values.

connectCoilsDB(address)

Connect to the coilsDB webservice at given address and use it to resolve W7-X coil specifications

connectComponentsDB(address)

Connect to the componentsDB webservice at given address and use it to resolve W7-X geometry specifications

connectIppSite([url, useBackend])

Connects the resolve module to the newer fsc-driven Coils- and ComponentsDb proxies

connectLegacyIPPSite()

Connects the resolve module to standard IPP coils DB and components DB

controlCoils([i_cc, coils])

defaultGeometryGrid()

A 'current best-efford' estimate for a good geometry indexing grid for W7-X calculations.

defaultGrid()

A 'current best-efford' estimate for a good calculation grid for W7-X calculations.

divertor([campaign])

getDefaultCoils()

heatShield([campaign])

highIota([bAx, coils])

highMirror([bAx, coils])

lowIota([bAx, coils])

mainField([i_12345, i_ab, coils])

op12Geometry()

op21Geometry()

processCoilConvention(convention)

pumpSlits()

standard([bAx, coils])

steelPanels()

toroidalClosure()

trimCoils([i_trim, coils])

vessel()

Classes

CoilPack([val, msgSize, byReference])

Set of coils that can be used to obtain W7-X specific configurations

Functions

fusionsc.devices.w7x.assemblies(ids=[], name=None) Geometry
fusionsc.devices.w7x.assembly(id: int) Geometry
fusionsc.devices.w7x.axisCurrent(field, current, grid=None, startPoint=[6.0, 0, 0], stepSize=0.001, nTurns=10, nIterations=10, nPhi=200, direction='cw', mapping=None) MagneticConfig

Variant of fsc.flt.axisCurrent with more reasonable W7-X-tailored default values.

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

fusionsc.devices.w7x.baffles(campaign: Literal['OP21', 'OP12'] = 'OP21') Geometry
fusionsc.devices.w7x.cadCoils(convention='1-AA-R0004.5') CoilPack

Returns the coil pack for the standard W7-X CAD coils. The winding direction of the main coils is adjusted to the requested convention.

fusionsc.devices.w7x.coilsDBCoil(id: int) CoilFilament
fusionsc.devices.w7x.coilsDBConfig(id: int, biotSavartSettings: ReaderOrBuilder | None = None) MagneticConfig
fusionsc.devices.w7x.component(id: int) Geometry
fusionsc.devices.w7x.components(ids=[], name=None) Geometry
fusionsc.devices.w7x.computeMapping(field, mappingPlanes=array([0., 1.25663706, 2.51327412, 3.76991118, 5.02654825]), r=array([4., 4.01507538, 4.03015075, 4.04522613, 4.06030151, 4.07537688, 4.09045226, 4.10552764, 4.12060302, 4.13567839, 4.15075377, 4.16582915, 4.18090452, 4.1959799, 4.21105528, 4.22613065, 4.24120603, 4.25628141, 4.27135678, 4.28643216, 4.30150754, 4.31658291, 4.33165829, 4.34673367, 4.36180905, 4.37688442, 4.3919598, 4.40703518, 4.42211055, 4.43718593, 4.45226131, 4.46733668, 4.48241206, 4.49748744, 4.51256281, 4.52763819, 4.54271357, 4.55778894, 4.57286432, 4.5879397, 4.60301508, 4.61809045, 4.63316583, 4.64824121, 4.66331658, 4.67839196, 4.69346734, 4.70854271, 4.72361809, 4.73869347, 4.75376884, 4.76884422, 4.7839196, 4.79899497, 4.81407035, 4.82914573, 4.84422111, 4.85929648, 4.87437186, 4.88944724, 4.90452261, 4.91959799, 4.93467337, 4.94974874, 4.96482412, 4.9798995, 4.99497487, 5.01005025, 5.02512563, 5.04020101, 5.05527638, 5.07035176, 5.08542714, 5.10050251, 5.11557789, 5.13065327, 5.14572864, 5.16080402, 5.1758794, 5.19095477, 5.20603015, 5.22110553, 5.2361809, 5.25125628, 5.26633166, 5.28140704, 5.29648241, 5.31155779, 5.32663317, 5.34170854, 5.35678392, 5.3718593, 5.38693467, 5.40201005, 5.41708543, 5.4321608, 5.44723618, 5.46231156, 5.47738693, 5.49246231, 5.50753769, 5.52261307, 5.53768844, 5.55276382, 5.5678392, 5.58291457, 5.59798995, 5.61306533, 5.6281407, 5.64321608, 5.65829146, 5.67336683, 5.68844221, 5.70351759, 5.71859296, 5.73366834, 5.74874372, 5.7638191, 5.77889447, 5.79396985, 5.80904523, 5.8241206, 5.83919598, 5.85427136, 5.86934673, 5.88442211, 5.89949749, 5.91457286, 5.92964824, 5.94472362, 5.95979899, 5.97487437, 5.98994975, 6.00502513, 6.0201005, 6.03517588, 6.05025126, 6.06532663, 6.08040201, 6.09547739, 6.11055276, 6.12562814, 6.14070352, 6.15577889, 6.17085427, 6.18592965, 6.20100503, 6.2160804, 6.23115578, 6.24623116, 6.26130653, 6.27638191, 6.29145729, 6.30653266, 6.32160804, 6.33668342, 6.35175879, 6.36683417, 6.38190955, 6.39698492, 6.4120603, 6.42713568, 6.44221106, 6.45728643, 6.47236181, 6.48743719, 6.50251256, 6.51758794, 6.53266332, 6.54773869, 6.56281407, 6.57788945, 6.59296482, 6.6080402, 6.62311558, 6.63819095, 6.65326633, 6.66834171, 6.68341709, 6.69849246, 6.71356784, 6.72864322, 6.74371859, 6.75879397, 6.77386935, 6.78894472, 6.8040201, 6.81909548, 6.83417085, 6.84924623, 6.86432161, 6.87939698, 6.89447236, 6.90954774, 6.92462312, 6.93969849, 6.95477387, 6.96984925, 6.98492462, 7.]), z=array([-1.5, -1.48492462, -1.46984925, -1.45477387, -1.43969849, -1.42462312, -1.40954774, -1.39447236, -1.37939698, -1.36432161, -1.34924623, -1.33417085, -1.31909548, -1.3040201, -1.28894472, -1.27386935, -1.25879397, -1.24371859, -1.22864322, -1.21356784, -1.19849246, -1.18341709, -1.16834171, -1.15326633, -1.13819095, -1.12311558, -1.1080402, -1.09296482, -1.07788945, -1.06281407, -1.04773869, -1.03266332, -1.01758794, -1.00251256, -0.98743719, -0.97236181, -0.95728643, -0.94221106, -0.92713568, -0.9120603, -0.89698492, -0.88190955, -0.86683417, -0.85175879, -0.83668342, -0.82160804, -0.80653266, -0.79145729, -0.77638191, -0.76130653, -0.74623116, -0.73115578, -0.7160804, -0.70100503, -0.68592965, -0.67085427, -0.65577889, -0.64070352, -0.62562814, -0.61055276, -0.59547739, -0.58040201, -0.56532663, -0.55025126, -0.53517588, -0.5201005, -0.50502513, -0.48994975, -0.47487437, -0.45979899, -0.44472362, -0.42964824, -0.41457286, -0.39949749, -0.38442211, -0.36934673, -0.35427136, -0.33919598, -0.3241206, -0.30904523, -0.29396985, -0.27889447, -0.2638191, -0.24874372, -0.23366834, -0.21859296, -0.20351759, -0.18844221, -0.17336683, -0.15829146, -0.14321608, -0.1281407, -0.11306533, -0.09798995, -0.08291457, -0.0678392, -0.05276382, -0.03768844, -0.02261307, -0.00753769, 0.00753769, 0.02261307, 0.03768844, 0.05276382, 0.0678392, 0.08291457, 0.09798995, 0.11306533, 0.1281407, 0.14321608, 0.15829146, 0.17336683, 0.18844221, 0.20351759, 0.21859296, 0.23366834, 0.24874372, 0.2638191, 0.27889447, 0.29396985, 0.30904523, 0.3241206, 0.33919598, 0.35427136, 0.36934673, 0.38442211, 0.39949749, 0.41457286, 0.42964824, 0.44472362, 0.45979899, 0.47487437, 0.48994975, 0.50502513, 0.5201005, 0.53517588, 0.55025126, 0.56532663, 0.58040201, 0.59547739, 0.61055276, 0.62562814, 0.64070352, 0.65577889, 0.67085427, 0.68592965, 0.70100503, 0.7160804, 0.73115578, 0.74623116, 0.76130653, 0.77638191, 0.79145729, 0.80653266, 0.82160804, 0.83668342, 0.85175879, 0.86683417, 0.88190955, 0.89698492, 0.9120603, 0.92713568, 0.94221106, 0.95728643, 0.97236181, 0.98743719, 1.00251256, 1.01758794, 1.03266332, 1.04773869, 1.06281407, 1.07788945, 1.09296482, 1.1080402, 1.12311558, 1.13819095, 1.15326633, 1.16834171, 1.18341709, 1.19849246, 1.21356784, 1.22864322, 1.24371859, 1.25879397, 1.27386935, 1.28894472, 1.3040201, 1.31909548, 1.33417085, 1.34924623, 1.36432161, 1.37939698, 1.39447236, 1.40954774, 1.42462312, 1.43969849, 1.45477387, 1.46984925, 1.48492462, 1.5]), grid=None, distanceLimit=5.497787143782138, padding=2, numPlanes=20, stepSize=0.01, u0=[0.5], v0=[0.5]) MagneticConfig

Variant of fsc.flt.computeMapping with more reasonable W7-X-tailored default values.

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

fusionsc.devices.w7x.connectCoilsDB(address: str) Client

Connect to the coilsDB webservice at given address and use it to resolve W7-X coil specifications

fusionsc.devices.w7x.connectComponentsDB(address: str) Client

Connect to the componentsDB webservice at given address and use it to resolve W7-X geometry specifications

fusionsc.devices.w7x.connectIppSite(url='http://fusionsc-site:8888/load-balancer', useBackend: bool = True)

Connects the resolve module to the newer fsc-driven Coils- and ComponentsDb proxies

fusionsc.devices.w7x.connectLegacyIPPSite()

Connects the resolve module to standard IPP coils DB and components DB

fusionsc.devices.w7x.controlCoils(i_cc=[0, 0], coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.defaultGeometryGrid() Builder

A ‘current best-efford’ estimate for a good geometry indexing grid for W7-X calculations.

Note

The default grid might change in the future if a more reasonable tradeoff between accuracy and calculation speed is determined

fusionsc.devices.w7x.defaultGrid() Builder

A ‘current best-efford’ estimate for a good calculation grid for W7-X calculations.

Note

The default grid might change in the future if a more reasonable tradeoff between accuracy and calculation speed is determined

fusionsc.devices.w7x.divertor(campaign: Literal['OP21', 'OP12'] = 'OP21') Geometry
fusionsc.devices.w7x.getDefaultCoils()
fusionsc.devices.w7x.heatShield(campaign: Literal['OP21', 'OP12'] = 'OP21') Geometry
fusionsc.devices.w7x.highIota(bAx=2.72, coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.highMirror(bAx=2.72, coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.lowIota(bAx=2.72, coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.mainField(i_12345=[15000, 15000, 15000, 15000, 15000], i_ab=[0, 0], coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.op12Geometry() Geometry
fusionsc.devices.w7x.op21Geometry() Geometry
fusionsc.devices.w7x.processCoilConvention(convention: str) str
fusionsc.devices.w7x.pumpSlits() Geometry
fusionsc.devices.w7x.standard(bAx=2.52, coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.steelPanels() Geometry
fusionsc.devices.w7x.toroidalClosure() Geometry
fusionsc.devices.w7x.trimCoils(i_trim=[0, 0, 0, 0, 0], coils: CoilPack | None = None) MagneticConfig
fusionsc.devices.w7x.vessel() Geometry