freegs.control

freegs.control#

Plasma control system

Use constraints to adjust coil currents

Classes

ConstrainPsi2D(target_psi[, weights])

Adjusts coil currents to minimise the square differences between psi[R,Z] and a target psi.

ConstrainPsi2DAdvanced(target_psi[, ...])

Adjusts coil currents to minimise the square differences between psi[R,Z] and a target psi.

ConstrainPsiNorm2D(target_psinorm[, weights])

Adjusts coil currents to minimise the square differences between normalised psi[R,Z] and a target normalised psi.

ConstrainPsiNorm2DAdvanced(target_psinorm[, ...])

Adjusts coil currents to minimise the square differences between normalised psi[R,Z] and a target normalised psi.

constrain([xpoints, gamma, isoflux, ...])

Adjust coil currents using constraints.