Tokamak GOLEM Basic diagnostics

Procedure (This notebook to download)

bash wrapper, Error log

Prerequisities: function definitions

Load libraries

For interactive web figures

For conditional rich-text boxes

Define global constants.

The DataSource downloads and caches data (by full URL) in a temporary directory and makes them accessible as files.

Plasma detection result loading

This part of the algorithm is done with higher priority before the this notebook

$U_l$ management

Check the data availability

$B_t$ calculation

Check the data availability

It is as magnetic measurement, so the raw data only give $\frac{dB_t}{dt}$

Integration (it is a magnetic diagnostic) & calibration

Chamber (+ Plasma) current $I_{p+ch}$ calculation

The Rogowski coil around the chamber measures the total current contained within its boundaries. Therefore, if there is plasma, it measures the sum of the plasma and chamber currents. In a vacuum discharge it measures only the chamber current.

Check the data availability

Because it is a magnetic measurement, the raw data only gives $\frac{dI_{p+ch}}{dt}$

Integration (it is a magnetic diagnostic) & calibration

Chamber current $I_{ch}$ calculation

The chamber current $I_{ch}$ satisfies the equation (neglecting the mutual inductance with the plasma) $$U_l = R_{ch} I_{ch} + L_{ch} \frac{d I_{ch}}{dt}$$ Therefore, the following initial value problem must be solved to take into account the chamber inductance properly $$\frac{d I_{ch}}{dt} = \frac{1}{L_{ch}}\left( U_l - R_{ch} I_{ch}\right), \quad I_{ch}(t=0)=0$$

Plasma current $I_{p}$ calculation

If there is plasma, the plasma current can be estimated as the difference between the total measured current and the estimated chamber current $I_p=I_{p+ch}-I_{ch}$

Overview graphs and parameters

For convenience time is saved and displayed in ms, currents in kA.

Save each processed signal Series in a separate CSV file with Time and value columns