freegs.machine

Contents

freegs.machine#

Classes and routines to represent coils and circuits

License#

Copyright 2016-2019 Ben Dudson, University of York. Email: benjamin.dudson@york.ac.uk

This file is part of FreeGS.

FreeGS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

FreeGS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FreeGS. If not, see <http://www.gnu.org/licenses/>.

Functions

DIIID()

PF coil set and boundary from g file and GA webpage

EmptyTokamak()

Creates a tokamak with no coils

MAST()

Mega-Amp Spherical Tokamak.

MASTU()

MAST-Upgrade, using FilamentCoil to represent coils with different locations for each strand.

MASTU_simple()

This is an older version of the MAST-U coilset.

MAST_sym()

Mega-Amp Spherical Tokamak.

MirroredCoil(R, Z[, current, turns, ...])

Create a pair of coils, at +/- Z If symmetric = True then current is in the same direction (in series); if symmetric = False then current is in the opposite direction

TCV()

TestTokamak()

Create a simple tokamak

TestTokamakLimited()

Create a simple tokamak

TestTokamakSensor()

Creating a simple tokamak with sensors along the boundary

Classes

Circuit(coils[, current, control])

Represents a collection of coils connected to the same circuit

FluxLoopSensor(R, Z[, name, weight, status, ...])

Represents position of a Flux Loop Sensor.

Machine(coils[, wall, sensors, nlimit])

Represents the machine (Tokamak), including coils and power supply circuits

PoloidalFieldSensor(R, Z, theta[, name, ...])

Represents position of a Poloidal B field sensor.

RogowskiSensor(R, Z[, name, weight, status, ...])

Represents a Rogowski sensor.

Sensor(R, Z[, name, weight, status, measurement])

Parent class for the sensors Contains general attributes that apply to all sensors

Solenoid(Rs, Zsmin, Zsmax, Ns[, current, ...])

Represents a central solenoid

Wall(R, Z)

Represents the wall of the device.