## Section: New Software and Platforms

### CEDRES++

Functional Description

In Tokamaks, at the slow resistive diffusion time scale, the magnetic configuration in the plasma can be described by the MHD equilibrium equations inside the plasma and the Maxwell equations outside. Moreover, the magnetic field is often supposed not to depend on the azimutal angle.

Under this assumption of axisymmetric configuration, the equilibrium in the whole space reduces to solving a 2D problem in which the magnetic field in the plasma is described by the well known Grad Shafranov equation. The unknown of this problem is the poloidal magnetic flux. The ${P}_{1}$ finite element code CEDRES++ solves this free boundary equilibrium problem in direct and inverse mode and in static and evolutive formulations. The direct problem consists in the computation of the magnetic configuration and of the plasma boundary, given a plasma current density profile and the total current in each poloidal field coils (PF coils) for the static case and the voltages applied to PF supplies in the evolutive one. The aim of the inverse problem is to find currents in the PF coils in order to best fit a given plasma shape. The code is one of the free boundary codes avalaible in the european Eurofusion - WPCD (WorkPackage Code Development for integrated modelling) platform.