Versions Compared

Key

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

...

  1.  Introduction
  2. DYON output
    1. Files provided
    2. Running the scripts
    3. The main files
    4. IDS core_profiles
    5. IDS core_sources
    6. IDS equilibrium
    7. IDS gas_injection
    8. IDS magnetics
    9. IDS radiation
    10. IDS wall
    11. Service functions
  3. DYON input
  4. To be done

Introduction

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

...

The storage 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 can be called as wrappers.

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

...

In the nodesktop mode, MATLAB should work faster (I did not notice a big difference). Using the nodesktop mode, do not forget to run the command 'quit()' to end the session (otherwise, a dangling MATLAB session may remain).

...

6. To get the DYON output data back, run test_get_from_IMAS.m. 

The main files (test scripts)

IDS core_profiles

IDS core_sources

...

Description of the script saving the DYON input (to be done).

To be done

  • Extend the input script (pending the planned DD extension)
  • To switch to the HDF5 IMAS backend (pending HDF5 debugging on Gateway).