ASDEX Upgrade flight simulator development

Abstract Fenix, the ASDEX Upgrade (AUG) flight simulator under development, is based on the Plasma Control System Simulation Platform (PCSSP) developed for ITER, the ASTRA transport code and the SPIDER equilibrium code. Fenix will give a session leader the possibility to check whether the discharge will meet experimental goals prior to execution. It is also designed to facilitate the development of control system features and the validation of physical models. It reads the AUG discharge program and checks if all the parameters and reference waveforms are reasonable during the discharge simulation. ASTRA serves as a plant model (physical model of AUG tokamak) which outputs idealised diagnostic signals (temperature, density, etc.). ASTRA calculates these data from the particle and energy transport in the plasma core, plasma edge, Scrape of Layer (SOL) and divertor. It also includes particle balance, L-H transition and sawtooth models, and it is equipped with the 2D equilibrium reconstruction code SPIDER. The second component of Fenix is a model of the Discharge Control System (DCS) and AUG actuators. The DCS model processes diagnostic signals from ASTRA, computes commands for actuators and sends them back to ASTRA closing the feedback loop. Controllers for coil currents to control plasma current, position and shape are implemented in the model as well as gas puff valves (divertor and midplane) and the pellet injector to control electron density. The DCS model also simulates external heating actuators such as NBI, ECRH and ICRH. Fenix has methods for reading configuration files and archiving. This article presents modelling of the ASTRA and DCS components, and the first results from the simulations of the flattop phase.