Suite of fast and reliable codes related to tokamak equilibrium calculations. Written in MATLAB with some core elements written in C.
- LIUQE: Equilibrium reconstruction. Main code used for TCV and tested for ITER, RFX, and various other tokamaks. Includes Simulink version compatible with real-time code generation. Real-time and off-line versions are the same, differing only in the number of iterations used per time step.
- FBT: Inverse equilibrium solver used to compute currents in PF coils for a desired equilibrium shape and other constraints. Routinely used before each TCV shot. Also includes time-dependent evolutive mode (in development)
- FGS: Static forward solver. Given conductor currents and plasma constraints, computes an equilibrium.
- FGE: Evolutive forward solver: Given voltages on PF coils, compute evolution of currents in conductors, as well as plasma equilibrium. Includes linearized (FGEL) and rigid (RZP) variants.
The MEQ suite is distributed under the Apache License, version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).
The source code for MEQ is publically available at https://gitlab.epfl.ch/spc/public/meq/meq.
For any other requests including support requests and access to the MEQ Slack workspace, please contact the MEQ maintainers ([email protected]).