Revision f88f4e032aafe82a5e390e531795e62c206ba589 (click the page title to view the current version)

Presentations/Journals/FUSENGDES/11/rsrcs/contrib.tex


%\documentclass[final,authoryear,5p,times,twocolumn]{elsarticle}
\documentclass[final,5p,times,twocolumn]{elsarticle}

%\documentclass{elsarticle}
\usepackage{graphicx}
%\usepackage{wrapfig}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{rotating}
\usepackage{subfig}

%\pdfmapfile{+txfonts.map}


\begin{document}
\begin{frontmatter}

\title{Multi-mode Remote Participation on the GOLEM Tokamak}


\author[a]{\underline{V. Svoboda}}
\author[d,e]{B. Huang}
\author[a,b]{J. Mlyn\'a\v r}
\author[c]{G. I. Pokol}
\author[b]{J. St\" ockel}
\author[a]{G. Vondr\'a\v sek}

\address[a]{Faculty of Nuclear Sciences and Physical Engineering CTU Prague, CZ-115 19, Czech Rep.}
\address[b]{Institute of Plasma Physics AS CR, CZ-182 21 Prague, Czech Republic.}
\address[c]{Institute of Nuclear Techniques, Budapest University of Technology and Economics, Association EURATOM-HAS, H-1111 Budapest, Hungary.}
\address[d]{Culham Centre for Fusion Energy, OX14 3DB, Abingdon, Oxfordshire, UK.}
\address[e]{Department of Physics, University of Durham, South Road, Durham DH1 3LE, United Kingdom.}


\begin{abstract}
The GOLEM tokamak (formerly CASTOR) at Czech Technical University is demonstrated as an educational tokamak device for domestic and foreign students. Remote participation of several foreign universities (in Hungary, Belgium, Poland and Costa Rica) has been successfully performed.  A unique feature of the GOLEM device is functionality which enables complete remote participation and control, solely through Internet access.  Basic remote control is possible either in online mode via WWW/SSH interface or offline mode using batch processing code.  Discharge parameters are set in each case to configure the tokamak for a plasma discharge.  Using the X11 protocol it is possible to control in an advanced mode many technological aspects of the tokamak operation, including: i) vacuum pump initialization, ii) chamber baking, iii) charging of power supplies, iv) plasma discharge scenario, v) data acquisition system.

\end{abstract}

\begin{keyword}
Tokamak technology \sep remote participation \sep data acquisition system \sep education \sep nuclear fusion.

%% MSC codes here, in the form: \MSC code \sep code
%% or \MSC[2008] code \sep code (2000 is the default)

\end{keyword}

\end{frontmatter}




\section{Introduction}

Remote participation on fusion tokamaks has been demonstrated before on many devices such as DIII-D \cite{McHarg1999}, the LHD \cite{Nagayama2008}, TJ-II \cite{Vega2006} and JET \cite{Schissel2005}.  With the increased usage of high speed networks, distributed computing and improvements in network based audio and video transmission have allowed remote participation to become widespread.

Various tools have been developed (such as VizAnalysis for JT-60 \cite{Oshima2004}) for communication and remote streaming however there is no apparent consistent set of tools for remote participation.  Additionally there are different experimental data formats, such as MDSplus used at NSTX \cite{Davis2002} and NetCDF used at MAST \cite{McArdle2010}.  NSTX and MAST are two similar tokamaks each using different, but widely supported formats. The different data formats perform the similar function of storing fusion experiment data, but need different programs for their implementation.  There have been efforts to interface these two different formats such as for the TRANSP code on JET \cite{Conboy2007}.

The different tools for communication and data access provide challenges to remote participation, which may make collaboration less efficient. Fusion research is performed by some 25 institutions in the EU \cite{Schissel2005}, and globally this number is larger. ITER will be an international project requiring extensive global collaboration, but there are many unknowns in how this remote participation will be put into practice.  This paper discusses the usage of web browser based applications and SSH for remote participation on the GOLEM tokamak.

A tool based on web technology such as HTML can be most widely used, since all that is needed is a modern web browser.  The application can then in theory be accessible to anyone with an Internet connection, however in reality security restrictions would limit access. One such example is an MDSPlus structural data view \cite{Manduchi2002} which runs in an Internet browser.  The GOLEM tokamak has expanded the capability of the Internet browser to enable full remote participation and operation.



\section{The GOLEM tokamak}

%% -- Calculation of triple product -- %%
% P= 30 mPa
% Rminor = 0.085m, Rmajor = 0.4m
% V = pi (Rminor^2) * (2 pi Rmajor)
%  = 0.05705 m^3
% PV = nkT 
% 0.030 * 0.5705 = n k (273 + 8)
% => n = 6.09E-5/k = 4.41E18 m^-3
% time ~ 10ms, temp ~ 10ev, density ~ 10^18
%% Gergo: time (energy confinement) ~ 0.1 ms, ion temp ~ 1 eV
%
% triple product ~ 10^17 ev ~ 10^14 keV s/m^3
%% Gergo: triple product ~ 10^11 keV s/m^3 !

% CASTOR
% Ref: http://www.ipp.cas.cz/Tokamak/index?m=castor
% n ~ 10^19, T ~ 100 eV, t ~ 10ms,  nTt = 10^16 keV s/m^3

% So approximately 10^15 is a reasonable number. 

% DT ~ 10^21 keV s/m^3

The GOLEM tokamak (formerly CASTOR) at Czech Technical University is demonstrated as an educational device for domestic and foreign students \cite{GOLEM2007}, \cite{Svoboda2010}. The reinstalled tokamak (R = 0.4 m, a = 0.085 m) currently operates at a range of parameters ($B_t < 0.8$ T, $I_p < 10$ kA, pulse length $< 15$ ms) which corresponds to a very small fusion triple product. Despite this fact, small tokamaks can produce edge plasma with similar characteristics to large tokamaks and so have general validity \cite{VanOost2007}. Additionally the remote participation features could be applied to a tokamak of any size.

Plasma is generated using 4 basic electrical circuits.  Each circuit is powered by charged capacitors connected to the coils through PC controlled thyristors.  This enables the creation of the toroidal magnetic field $B_t$, toroidal electric field $E_t$ in two distinct phases (breakdown and current drive) and a vertical magnetic field $B_{ST}$ providing basic plasma stabilization in the horizontal direction.

The tokamak is equipped with a basic diagnostic system for measuring key plasma parameters, i) a single loop surrounding the transformer core measures the loop voltage $U_{loop}$, ii) a Rogowski coil surrounding the tokamak chamber measures the sum of the plasma and chamber current  $I_{p+ch}$, iii) a small pick-up coil placed on the tokamak chamber detects the toroidal magnetic field $B_t$, iv) a photocell which faces a glass port of the tokamak detects the plasma radiation from the emitted visible spectra. Additionally 
v) a 'fast' camera (1200 fps at a 336x96 resolution) is installed at a horizontal port to study the emission profile in the visible part of spectra, vi) a set of 4 small Mirnov coils surrounding the plasma column in a poloidal cross section allowing local magnetic field measurement and finally vii) a linear array of 20 AXUV detectors (bolometers) positioned at a vertical port detecting  plasma radiation emission profile in ultraviolet and soft X-rays part of the spectra.


\section{Remote configuration of the GOLEM tokamak}

Figure \ref{fig:golem} shows the setup of the experiment. The outlined plasma generation arrangement and data acquisition system are both PC controlled and connected through a web server to the Internet. 

% % % % %  WARNING  --- FIGURE golem IS MISSING

\begin{figure*}[h]
\begin{center}
\includegraphics[width=0.75\textwidth]{fig1}
\end{center}
\caption{The tokamak GOLEM remote operation arrangement}
\label{fig:golem}
\end{figure*}


Remote participants can set up to 10 parameters : 4 parameters for charging voltages $U_{B},\ U_{BD},\ U_{CD} \mbox{ and } U_{ST}$ for the capacitor banks, 3 parameters for time delay triggers ($\tau_{BD},\ \tau_{CD}$  and  $\tau_{ST}$), 1 parameter for the working gas H$_2$ pressure $p_{H_2}$ and 2 parameters for requests for the preionization and working gas opening valve. The capacitor banks drive the toroidal magnetic field $B_t$, breakdown electric field $E_{BD}$, current drive electric field $E_{CD}$ and the vertical stabilization magnetic field $B_{ST}$. The independent triggers start discharging capacitor banks at  pre-programmed time delays, with respect to the start of the toroidal magnetic field $B_t$.

Measured data from the data acquisition system are collected and presented live online on dedicated web pages created for every discharge. Data are also accessible using wget software or standard routines in computer codes (such as routines available in Matlab, Mathematica, IDL, Labview, Octave, Gnuplot).


Synchronous conferencing (e.g. text based chat via skype, ICQ, etc.) between the remote participants and in-situ supervising technician should be settled to ensure initial training of the participants, basic check of the parameters prepared to be submitted to the system and consequently to help the participants with the interpretation of the acquired results. 

As part of the communication system an Internet protocol camera is used which transmits live video and audio from the tokamak room.


%%% WARN THIS IS REPEATED INFORMATION
% In the basic remote control regime, which is available in either the online mode using the WWW interface (see figure \ref{fig:wwwcontrolroom})
% or SSH interface or in the offline mode with the batch processing code, it is possible to set necessary discharge parameters as well as to
% run the experiments.




% REFORMAT IMAGE

\begin{figure*}[h]
\begin{center}
\includegraphics[width=0.75\textwidth]{fig2}
\end{center}
\caption{Tokamak GOLEM web based control room. Form fields indicating 8 numeral and 2 ON/OFF control elements to setup the required discharge parameters.} 
\label{fig:wwwcontrolroom}
\end{figure*}

\section{Basic remote operation mode}

Operation of the GOLEM tokamak by the remote participant can be performed by one of the following methods:

i) The remote participants log into the control system {\bf accessing the WWW interface } using the HTTP protocol, see figure \ref{fig:wwwcontrolroom}. Their choice of parameters (in a permitted limits) is submitted into a batch queue at the web server side and automatically executed in a succession via ssh protocol between the web server and tokamak control PC.


ii) Next the {\bf command line method} based on SSH communication protocol (using the putty program on Windows OS) can be used to pass parameters in a permitted limits to the tokamak control PC and directly start capacitor charging process followed immediately with plasma discharge triggering.  A benefit of using the SSH protocol is that it is highly secure, ensuring that only the intended user is executing the commands.

This  latter option is introduced in the examples below:
\begin{quote}
make shot Ub=500 Ubd=100 Tbd=3000 Ucd=300 Tcd=2000 Ust=0 Tst=0 pH2=20 PreIon=1 H2filling=1 COMMENT="Plasma test";
\end{quote}
The parameters Ub, Ubd, Ucd and Ust are the charging voltages $U_B,\ U_{BD},\ U_{CD} \mbox{ and } U_{ST}$, respectively of the corresponding capacitor banks. The parameters Tbd, Tcd and Tst are for the trigger sequence $\tau_{BD},\ \tau_{CD}$  and  $\tau_{ST}$ determining the electric and magnetic field formation in [$\mu$s]. pH2 defines the required working gas H$_2$ pressure $p_{H_2}$ in the chamber in [mPa]. The other 2 boolean parameters are for preionization (PreIon) and working gas filling valve (H2filling).

An additional feature of the command line method is instruction looping, which allows the parametric scanning of the eight parameters.  An example below shows a code to make a sequence of 7 discharges, where the capacitor bank for the toroidal magnetic field $U_{B}$ is charged from 400 V to 1000 V in 100 V steps:
\begin{quote}
for Ub\_index in `seq 400 100 1000`; do make shot Ub=\$Ub\_index Ubd=100 Tbd=3000 Ucd=300 Tcd=2000 Ust=0 Tst=0 pH2=20  PreIon=1  H2filling=1  COMMENT="Ub scan"; done
\end{quote}
These command can also be used in creating a ``makefile'' with a set of a shot descriptions for offline processing.


\section{Advanced remote operation mode}
Advanced mode using the X11 protocol to run the GUI applications (virtual tokamak control panel) offers the possibility to control all of the technological aspects of tokamak operation, under appropriate supervision of an in-situ technician, who communicates with remote partners via internet conferencing tools and takes care about correct and safe operation of the device. The remote operator can be granted to control everything from ``cold start'', the standard diagnostic and acquisition session through to the device shutdown. The following technology systems can be operated: 
i) {\bf Vacuum management:} provides independent control of all the vacuum valves, rotary and turbomolecular pumps.
ii) {\bf Gas fuelling management:} provides the arbitrary control of the working gas pressure.
iii) {\bf Chamber conditioning:} provides access to cleaning of the vessel using baking and glow discharge cleaning.
iv) {\bf Full control of tokamak parameters:} provides extended control of the electric and magnetic fields separately, allowing the investigation and behaviour of particular diagnostics under the defined operating conditions. 
v) {\bf Data processing management modification:} for particular tokamak phenomenon studies.

\section{Operating the tokamak}

The possibility to remotely control the tokamak GOLEM is, first of all, offered to the fusion oriented educational institutions, preferably involved in the FUSENET consortium (The European Fusion Education Network). No anonymous guest accounts are available.

Manuals and materials covering the fields of tokamak physics, technology and operation have been (and are currently being) created to provide the necessary basic training for GOLEM tokamak remote operators. These materials include instruction on a wide range of tasks with varying levels of complexity. Some of these are:
\begin{itemize}\setlength{\itemsep}{-5pt}
\item Determination of the vacuum chamber parameters: chamber resistivity $R_{ch}$ and inductance $L_{ch}$ which can be deduced from ``vacuum shots``.

\item Basic plasma analysis from the data acquisition systems: loop voltage $U_{loop}$, magnetic field $B_t$, plasma current $I_{pl}$ and determining the plasma discharge duration $\Delta T_{pl}$. 

\item Evaluation of basic plasma parameters: central electron temperature $T_e$, edge safety factor $q_e$ and plasma heating power $P_{OH}$.

\item Various types of plasma breakdown studies can be performed: i) with or without the preionization jet, ii) effect of parallel or antiparallel orientation of the  toroidal magnetic field $B_t$ with respect to the toroidal electric field $E_t$, iii) the effect of a short ($\approx 3 $ ms) breakdown $E_{BD}$ pulse to the plasma formation, iv) time $\tau_{BD}$ and $\tau_{CD}$ delay optimization for plasma formation and v) effect of the working gas pressure $p_{H_2}$ (Paschen's law).

\item Plasma position studies using a set of Mirnov coils, fast camera and a linear array of 20 AXUV bolometers .

\item Stabilization of the plasma position with an equilibrium magnetic field $B_{ST}$ generated in the vertical magnetic field coils.

\end{itemize}

Repetition rates on the GOLEM tokamak for a plasma discharge are quite high, with a shot taking place every 2-3 minutes. This enables scans of discharge parameters to be easily carried out in a couple of teaching hours. 

The tokamak in this remote operation modes requires high level of safety treatment, therefore constant supervision of an in-situ technician to ensure reliable and safety performance is essential. Operational sequence can be  stopped immediately on a 'push-button' level at any time. In the case of possible abnormal behaviour of the device there also exist various levels of technological solutions assuring safe return to standard mode of operation. 




%In advance of using the real tokamak, students can learn the basics of tokamak operation with using a virtual model which duplicates the real behaviour of the tokamak. This virtual model includes a tour (written in VRML code) through which the tokamak and other related infrastructure can be observed. 

\section{First remote experiments and lessons learned}

Remote participation over the Internet has been successfully performed with several foreign universities in Hungary, Belgium, Costa Rica and with a summer school in Kudowa, Poland. Real experimental sessions have been performed online as well as offline with the Budapest University of Technology and Economics. The Advanced operation mode was successfully tested with the Winter Plasma School in Marianska, Czech Republic.

Remote practices performed on GOLEM were overwhelmingly successful and popular among students. However, they have already taught some lessons and marked some directions for the development. The most important lesson was that for measurement experience, online measurements are very much preferred over offline measurements. The reason for this is quite clear: remote participants should really have the feeling of operating a device and take decisions based on their understanding of the previous results. In order to be able to schedule an online practice for students, reliable (and/or redundant) Internet connection has high priority. During the practices, it also became clear that in this rapidly changing phase of the GOLEM experiment supervision by a fusion scientist at the students' site is clearly required to help with the interpretation. It was also concluded that programming help should be provided to students in processing raw data so that they can concentrate on online data processing and discussion of the results.

In a special event called the Global Tokamak Experiment \cite{GTE2010}, \cite{IterNews} using a web based system, over 4 hours 38 participants from 10 different countries carried out 83 plasma discharges.  Due to the global nature of this experiment a security feature using access keys (also referred to as tokens) were distributed to limit the usage of the tokamak.  A login based system identified between participant, and experiment manager.  Thus the machine was based in the Czech Republic, the experiment manager in the UK, and the participants in many other countries.

This demonstrated the ability to make a tokamak globally accessible and one way in which multiple participants can collaborate on a single tokamak, without the need for specialized software whilst maintaining security.  Security also can be achieved using the standard HTTP/S proxy and firewall methods when using web based systems.  Participants were presented with a live control panel which self refreshed, constantly informing people of the experiment status.  The result of each plasma discharge was available on the system shortly after it took place. 
%Video and audio were partially integrated into the system, however in future it would be desirable to have an online live communication system.

Advanced mode with the help of X11 protocol showed satisfactory fast respond over the internet even with the connection speed slightly below the standard.


\section{Conclusions and future plans}

GOLEM is a university based experimental facility dedicated primarily for the practical training of students who can get acquainted with the basics of tokamak operation, data processing and evaluation of selected plasma parameters. A series of experiments can be compiled for students specialising in fusion plasma physics with more complex tasks, including advanced breakdown studies and plasma position control. Practical experimental sessions on the GOLEM tokamak could be appealing for universities as a cost effective alternative to building their own demonstration devices. Additionally remote tokamak experiments develop not only plasma physics and fusion skills, but also develop core competences such as communication, interpretation, process planning and team work. Using a web based system provides a high degree of accessibility and enables a large degree of collaboration.

A basic operation mode enables enough access for basic experiments focusing on plasma physics rather then technology. Control can be implemented through either a HTTP based graphical interface or command line through SSH protocol. More detailed studies of specific tokamak technology systems can be granted in advanced remote operation mode through X11 protocol. Remote operation is promoted by a local supervisor in both cases, however this supervisor is not required interfere with the remote controllers in case of normal operation.

Further upgrades to GOLEM are envisaged in the near future. Among those planned are an increase of $B_t$, $I_p$ and plasma discharge duration. The possibility of basic plasma position stabilization is under investigation. Basic diagnostics will be enriched with line integrated plasma density measurement using a microwave interferometer and expanded radiation ($H_{\alpha}$ and X-ray) measurement. Additionally planned is the investigation of plasma edge physics using probe measurements.

\section{Acknowledgement}
The financial support from MSM 6840770039 and A1581 is acknowledged. The authors express their appreciation of help from National Instruments and Pfeiffer Vacuum for their valuable contribution to the project.


%\cite{McHarg1999}  % notes
%% DIII-D Fusion remote participation.
%% 
%% Most collaboration has been through travel
%% Developments (such has high speed WANs, distributed computing, network
%% audio and visual capabilities have allowed people to participate.
%% 
%% The next generation international experiments may run continously, so -- as in LHD SEE NAGAYAMA
%% it may be necessary to have real-time experimentation.
%% 
%% As research experiments have become larger and more expensive
%% it is necessary for personnel to travel from other labs.
%% 
%
%\cite{Oshima2004} % notes -- similar to nagayama
%%  A remote participation system called VizAnalysis is being developed.
%%
%% Collaborative research system to concetrate the expertise,
%% ideas and numerical experiments from research facilities 
%% all around.
%
%\cite{Manduchi2002}
%% MDSplus web browser
%
%\cite{Schissel2005}  % notes -- MDSplus is used at over 
%% A scientist at DIII-D leading the JET experiment using
%% AG, VRVS and MDSplus technology
%%
%% Significant work is ongoing to develop and deploy
%% Grid computing and advanced collaborative environments
%% to support FE research
%%
%%
%% EU: fusion research is performed by some 25 laboratories and major facilities.
%% Across the world there are thousands of fusion researchers.
%%
%% ITER which will be the largest fusion project, and a wholly international endeavour
%% will require entensive collaboration capability worldwide.
%%
%
%\cite{Vega2006} % notes
%% The remote participation experiment manages over 1000 digitization channels
%% and 20 diagnostic control systems.  TJ-II

%\cite{VanOost2007} % notes
% Small tokamaks can produce edge plasma with similar characteristics to large tokamaks and so has general validity.

%\cite{Nagayama2008} % notes
% Large scale virtual laboratory system for remote participation of a continuously (~3000s) running fusion experiment.




\bibliographystyle{model1-num-names}
%\bibliographystyle{is-unsrt}
\bibliography{biblio}

\end{document}
\endinput