DREAM (for Disruption and Runaway Electron Analysis Model) is a scientific code which solves a system of equations describing the evolution of a tokamak plasma during a disruption. The tool is primarily designed for studying the evolution of runaway electrons in the disruption.
The code is separated into two parts: a C++ library, which constitutes the computational kernel of the code, and a Python interface for easy access and configuration of simulations. This documentation describes both parts of the code, with the documentation for the former being mostly intended for code developers, while the latter is intended for code users.
For more details on the physical models implemented in DREAM, please consult the physics manuals available in the DREAM GitHub repository.
The DREAM code is developed and maintained by European fusion scientists from several labs, lead by the fast electron group at KTH Royal Institute of Technology, Stockholm and the Technology at Chalmers University of Technology, Gothenburg, Sweden.
Note
The full code is freely available on GitHub.
Compiling
Step-by-step guide for setting up DREAM
Getting started
Examples of how to work with DREAM
Settings documentation
Browse all settings available in DREAM
Output documentation
Browse the Python output interface documentation
Tools
Learn how to add support for more elements
Examples
View examples of DREAM simulations
IMAS interface
See the details of the IMAS interfacing
The Disruption Runaway Electron Analysis Model DREAM is designed to simulate runaway electron generation during a tokamak disruption.
If you would like to run simulations with DREAM, you should have a look at the documentation of the Python frontend. In particular, options for setting up the equation can be found on the EquationSystem settings page.
If you are trying to understand how DREAM works on a deeper level, you are most likely interested in the documentation for the The C++ kernel.
If you are curious about the physical model implemented in DREAM, you should have a look at the physics notes located under doc/notes/ in the DREAM git repository.