CONTENT
- Introduction
- DYON output
- Files provided
- IDS core_profiles
- IDS core_sources
- IDS equilibrium
- IDS gas_injection
- IDS magnetics
- DYON input
1. Introduction
This page contains a description of MATLAB scripts supporting the storage of DYON input and output data files in IMAS.
2. DYON output
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 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.
2.1. Files provided
File name | Content |
---|---|
put_to_IMAS.m | Function saving IMAS output data to IMAS |
get_from_IMAS.m | Function reading IMAS output data from IMAS |
test_put_to_IMAS.m | Sample script invoking the function put_to_IMAS |
test_get_from_IMAS.m | Sample script that invokes the function get_from_IMAS and compares the recovered data with the initial ones |
put_core_profiles.m | Function saving data to the core_profiles IDS |
put_core_sources.m | Function saving data to the core_sources IDS |
put_equilibrium.m | Function saving data to the equilibrium IDS |
put_gas_injection.m | Function saving data to the gas_injection IDS |
put_magnetics.m | Function saving data to the magnetics IDS |
get_core_profiles.m | |
get_core_sources.m | |
get_equilibrium.m | |
get_gas_injection.m | |
get_magnetics.m | |
2.2. IDS core_profiles
2.3. IDS core_sources
2.4. IDS equilibrium
2.5. IDS gas_injection
2.6. IDS magnetics
3. DYON input
Description of the script saving the DYON input (to be done).