Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CONTENT

  1.  Introduction
  2. DYON output
    1. Structure of the scripts
    2. IDS core_profiles
    3. IDS core_sources
    4. IDS equilibrium
    5. IDS gas_injection
    6. IDS magnetics
  3. DYON input

Introduction

This page contains a description of MATLAB scripts supporting the storage of DYON input and output data files in IMAS. 

 DYON output

The DYON outstorage of the DYON output in IMAS is supported by two MATLAB functions, put_to_IMAS and get_from_IMAS. Depending on the situation, they can be integrated to the code or used separately as wrappers providing the connection between DYON and IMAS. The sample scripts test_put_to_IMAS and test_get_from_IMAS are provided, which illustrate how the functions are called.

The available IMAS Data Dictionary (DD) does not satisfy all requirements of DYON. Therefore, the functions are to be extended put_to_IMAS and get_from_IMAS after the planned extension of the DD. 

Now the output data are placed into 5 IMAS IDS's (Interface Data Structures - sections of the IMAS DD describing tokamak subsystems or tokamak physics chapters): core_profiles, core_sources, equilibrium, gas_injection, and magnetics. The allocation of the data in the IDS's and the functions supporting it are described below.

 Structure of the scripts

...