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=None, r=None, z=None, grid=None, distanceLimit=None, padding=2, numPlanes=20, stepSize=0.01, u0=[0.5], v0=[0.5], toroidalSymmetry=None) 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